Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 96.22 kB / 16.95 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 182.3 kB / 17.84 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.012/2.012, allocations: 205.4 MB / 224 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005461/0.0005464, allocations: 12 kB / 280.9 MB, free: 3.621 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1395, allocations: 47.58 MB / 328.5 MB, free: 3.969 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01177/0.1514, allocations: 7.764 MB / 336.2 MB, free: 12.17 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007922/0.1594, allocations: 2.706 MB / 338.9 MB, free: 9.453 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002301/0.1617, allocations: 39.81 kB / 339 MB, free: 9.414 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002764/0.1645, allocations: 497.1 kB / 339.4 MB, free: 8.926 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003809/0.1684, allocations: 0.5943 MB / 340 MB, free: 8.328 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.1698, allocations: 215.7 kB / 340.3 MB, free: 8.117 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004777/0.1746, allocations: 2.307 MB / 342.6 MB, free: 5.797 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003766/0.1784, allocations: 1.2 MB / 343.8 MB, free: 4.562 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002234/0.1807, allocations: 0.7704 MB / 344.5 MB, free: 3.789 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002756/0.1834, allocations: 1.066 MB / 345.6 MB, free: 2.719 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007753/0.1843, allocations: 120 kB / 345.7 MB, free: 2.602 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.1856, allocations: 183.9 kB / 345.9 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001243/0.1869, allocations: 0.5841 MB / 346.5 MB, free: 1.836 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001231/0.1882, allocations: 432.6 kB / 346.9 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004526/0.1927, allocations: 2.832 MB / 349.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/0.1928, allocations: 0 / 349.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.538e-06/0.1928, allocations: 0 / 349.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001849/0.193, allocations: 4 kB / 349.7 MB, free: 14.56 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.006691/0.1997, allocations: 2.138 MB / 351.9 MB, free: 12.37 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.374e-05/0.1998, allocations: 12.03 kB / 351.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001143/0.2009, allocations: 273.8 kB / 352.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/0.2023, allocations: 249.3 kB / 352.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003714/0.2061, allocations: 1.172 MB / 353.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001757/0.2063, allocations: 131.6 kB / 353.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007485/0.207, allocations: 187.9 kB / 353.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006731/0.2138, allocations: 2.359 MB / 356.2 MB, free: 7.906 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.633e-05/0.2139, allocations: 15.92 kB / 356.3 MB, free: 7.891 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002019/0.2141, allocations: 71.95 kB / 356.3 MB, free: 7.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001278/0.2143, allocations: 95.52 kB / 356.4 MB, free: 7.727 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004111/0.2184, allocations: 1.97 MB / 358.4 MB, free: 5.754 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01419/0.2326, allocations: 7.164 MB / 365.6 MB, free: 14.4 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002185/0.2349, allocations: 1.299 MB / 366.9 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001625/0.2366, allocations: 0.866 MB / 367.7 MB, free: 12.17 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003153/0.2369, allocations: 126.1 kB / 367.8 MB, free: 12.03 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.55e-05/0.237, allocations: 39.56 kB / 367.9 MB, free: 11.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 4.578e-06/0.237, allocations: 0 / 367.9 MB, free: 11.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.01401/0.251, allocations: 5.979 MB / 373.9 MB, free: 5.863 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.352e-05/0.2511, allocations: 80.2 kB / 373.9 MB, free: 5.773 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002308/0.2535, allocations: 1.203 MB / 375.1 MB, free: 4.559 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00015/0.2536, allocations: 45.7 kB / 375.2 MB, free: 4.508 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007454/0.2544, allocations: 0.8613 MB / 376 MB, free: 3.633 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003852/0.2548, allocations: 370.7 kB / 376.4 MB, free: 3.266 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.2549, allocations: 24 kB / 376.4 MB, free: 3.242 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.255, allocations: 357.9 kB / 376.8 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.2561, allocations: 0.6155 MB / 377.4 MB, free: 2.273 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/0.2574, allocations: 0.9236 MB / 378.3 MB, free: 1.215 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.2586, allocations: 0.7603 MB / 379.1 MB, free: 468 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.2586, allocations: 4 kB / 379.1 MB, free: 464 kB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.2962/0.5548, allocations: 2.22 MB / 381.3 MB, free: 50.09 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.045e-05/0.5549, allocations: 8.5 kB / 381.3 MB, free: 50.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-05/0.5549, allocations: 10.02 kB / 381.3 MB, free: 50.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/0.5563, allocations: 480.1 kB / 381.8 MB, free: 50.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.5574, allocations: 277.5 kB / 382.1 MB, free: 50.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00674/0.5641, allocations: 6.423 MB / 388.5 MB, free: 45.56 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.5655, allocations: 89.25 kB / 388.6 MB, free: 45.54 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.5657, allocations: 47.84 kB / 388.6 MB, free: 45.53 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001335/0.567, allocations: 0.5978 MB / 389.2 MB, free: 45.19 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000387/0.5674, allocations: 134.7 kB / 389.3 MB, free: 45.19 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004484/0.5719, allocations: 2.033 MB / 391.4 MB, free: 44.33 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.5719, allocations: 10.66 kB / 391.4 MB, free: 44.33 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/0.572, allocations: 4.312 kB / 391.4 MB, free: 44.33 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-05/0.572, allocations: 7.031 kB / 391.4 MB, free: 44.33 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007792/0.5798, allocations: 4.239 MB / 395.6 MB, free: 42.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.5798, allocations: 3.906 kB / 395.6 MB, free: 42.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007113/0.5805, allocations: 191.3 kB / 395.8 MB, free: 42.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001299/0.5819, allocations: 0.5115 MB / 396.3 MB, free: 42.31 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.329e-05/0.582, allocations: 32.48 kB / 396.4 MB, free: 42.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006809/0.5888, allocations: 7.912 MB / 404.3 MB, free: 35.78 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.5888, allocations: 7.891 kB / 404.3 MB, free: 35.77 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004311/0.5931, allocations: 2.966 MB / 407.3 MB, free: 34.01 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000897/0.5941, allocations: 353 kB / 407.6 MB, free: 33.73 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/0.5943, allocations: 27.12 kB / 407.6 MB, free: 33.72 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006935/0.595, allocations: 76.41 kB / 407.7 MB, free: 33.68 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002216/0.5952, allocations: 94.22 kB / 407.8 MB, free: 33.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.577e-05/0.5953, allocations: 34.67 kB / 407.8 MB, free: 33.62 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001227/0.5965, allocations: 0.8281 MB / 408.7 MB, free: 33.11 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5965, allocations: 4 kB / 408.7 MB, free: 33.11 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001654/0.5982, allocations: 407.2 kB / 409.1 MB, free: 32.71 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 6,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004154/0.6023, allocations: 3.564 MB / 412.6 MB, free: 29.04 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004031/0.6064, allocations: 2.157 MB / 414.8 MB, free: 26.8 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/0.6064, allocations: 1.219 kB / 414.8 MB, free: 26.8 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002144/0.6086, allocations: 1.494 MB / 416.3 MB, free: 25.24 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002193/0.6108, allocations: 375.6 kB / 416.6 MB, free: 24.88 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0193/0.6301, allocations: 11.73 MB / 428.4 MB, free: 12.62 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001233/0.6314, allocations: 1.634 MB / 430 MB, free: 10.96 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001071/0.6325, allocations: 295.8 kB / 430.3 MB, free: 10.66 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008119/0.6333, allocations: 0.6906 MB / 431 MB, free: 9.977 MB / 318.1 MB Notification: Performance of SimCode: time 1.393e-06/0.6333, allocations: 0 / 431 MB, free: 9.977 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07023/0.7036, allocations: 34.63 MB / 465.6 MB, free: 7.301 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004501/0.7041, allocations: 241.2 kB / 465.9 MB, free: 7.023 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.854/3.558, allocations: 0 / 465.9 MB, free: 7.023 MB / 350.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat does not exist to compare? outputFormat=mat