Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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_Initialize,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize",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.001127/0.001127, allocations: 97.11 kB / 16.95 MB, free: 6.457 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.001504/0.001505, allocations: 182.8 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 1.836/1.836, 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.0004837/0.000484, allocations: 12 kB / 280.9 MB, free: 3.613 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1075, 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_Initialize): time 0.00936/0.117, allocations: 7.826 MB / 336.3 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006715/0.1237, allocations: 2.745 MB / 339 MB, free: 9.352 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001786/0.1255, allocations: 31.88 kB / 339.1 MB, free: 9.32 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001984/0.1276, allocations: 0.4932 MB / 339.5 MB, free: 8.824 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002854/0.1304, allocations: 0.6177 MB / 340.2 MB, free: 8.203 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009463/0.1314, allocations: 203.6 kB / 340.4 MB, free: 8.004 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004045/0.1355, allocations: 2.482 MB / 342.8 MB, free: 5.508 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002492/0.138, allocations: 1.199 MB / 344 MB, free: 4.273 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002129/0.1401, allocations: 0.8131 MB / 344.9 MB, free: 3.457 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002432/0.1426, allocations: 1.129 MB / 346 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007705/0.1434, allocations: 124 kB / 346.1 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001533/0.1449, allocations: 187.9 kB / 346.3 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001282/0.1462, allocations: 0.6152 MB / 346.9 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001328/0.1475, allocations: 456.6 kB / 347.4 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00384/0.1514, allocations: 2.953 MB / 350.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1514, allocations: 4 kB / 350.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.1514, allocations: 0 / 350.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001654/0.1516, allocations: 0 / 350.3 MB, free: 13.98 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.005927/0.1575, allocations: 2.205 MB / 352.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.1576, allocations: 12.03 kB / 352.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006164/0.1582, allocations: 277.7 kB / 352.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007059/0.1589, allocations: 261.1 kB / 353.1 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002321/0.1613, allocations: 1.26 MB / 354.3 MB, free: 9.855 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.1614, allocations: 131.6 kB / 354.4 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002773/0.1617, allocations: 187.9 kB / 354.6 MB, free: 9.543 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004114/0.1658, allocations: 2.398 MB / 357 MB, free: 7.109 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.916e-05/0.1659, allocations: 0 / 357 MB, free: 7.109 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001674/0.166, allocations: 72 kB / 357.1 MB, free: 7.039 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001109/0.1662, allocations: 91.48 kB / 357.2 MB, free: 6.949 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003349/0.1695, allocations: 2.024 MB / 359.2 MB, free: 4.922 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01161/0.1812, allocations: 7.495 MB / 366.7 MB, free: 13.22 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/0.183, allocations: 1.276 MB / 368 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/0.1845, allocations: 0.9159 MB / 368.9 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002686/0.1848, allocations: 122 kB / 369 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.1849, allocations: 43.56 kB / 369.1 MB, free: 10.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=84): time 2.786e-06/0.1849, allocations: 7.938 kB / 369.1 MB, free: 10.76 MB / 318.1 MB Notification: Performance of matching and sorting (n=100): time 0.009586/0.1945, allocations: 5.029 MB / 374.1 MB, free: 5.617 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.1945, allocations: 64.39 kB / 374.2 MB, free: 5.543 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002051/0.1966, allocations: 1.361 MB / 375.5 MB, free: 4.176 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.403e-05/0.1967, allocations: 41.7 kB / 375.6 MB, free: 4.129 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007174/0.1974, allocations: 0.9047 MB / 376.5 MB, free: 3.211 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003347/0.1978, allocations: 347 kB / 376.8 MB, free: 2.867 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.725e-05/0.1979, allocations: 24 kB / 376.8 MB, free: 2.844 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.198, allocations: 353.9 kB / 377.2 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009809/0.199, allocations: 0.6349 MB / 377.8 MB, free: 1.859 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.2002, allocations: 0.9337 MB / 378.7 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.2013, allocations: 0.7643 MB / 379.5 MB, free: 36 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.2014, allocations: 0 / 379.5 MB, free: 36 kB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.2469/0.4483, allocations: 2.391 MB / 381.9 MB, free: 50.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.092e-05/0.4484, allocations: 10.38 kB / 381.9 MB, free: 50.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.087e-05/0.4484, allocations: 8.5 kB / 381.9 MB, free: 50.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001898/0.4503, allocations: 0.7136 MB / 382.6 MB, free: 50.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009752/0.4513, allocations: 241.3 kB / 382.9 MB, free: 50.24 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/0.4625, allocations: 7.996 MB / 390.9 MB, free: 45.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.464, allocations: 81.97 kB / 390.9 MB, free: 45.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.4641, allocations: 50 kB / 391 MB, free: 45.8 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001326/0.4654, allocations: 0.6243 MB / 391.6 MB, free: 45.45 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003929/0.4658, allocations: 147.8 kB / 391.8 MB, free: 45.45 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0033/0.4691, allocations: 1.909 MB / 393.7 MB, free: 44.7 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.4692, allocations: 10 kB / 393.7 MB, free: 44.7 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.4692, allocations: 4.156 kB / 393.7 MB, free: 44.7 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.4692, allocations: 7.188 kB / 393.7 MB, free: 44.7 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006965/0.4762, allocations: 4.028 MB / 397.7 MB, free: 42.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.4762, allocations: 0 / 397.7 MB, free: 42.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007239/0.477, allocations: 181.7 kB / 397.9 MB, free: 42.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001025/0.478, allocations: 469.5 kB / 398.3 MB, free: 42.63 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.786e-05/0.4781, allocations: 31.36 kB / 398.4 MB, free: 42.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004998/0.4831, allocations: 6.145 MB / 404.5 MB, free: 37.35 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4831, allocations: 3.031 kB / 404.5 MB, free: 37.35 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003781/0.4869, allocations: 2.795 MB / 407.3 MB, free: 34.76 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007348/0.4876, allocations: 360.7 kB / 407.7 MB, free: 34.39 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/0.4878, allocations: 20 kB / 407.7 MB, free: 34.37 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006561/0.4885, allocations: 75.92 kB / 407.8 MB, free: 34.3 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001929/0.4887, allocations: 80.88 kB / 407.8 MB, free: 34.22 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.819e-05/0.4887, allocations: 27.98 kB / 407.9 MB, free: 34.19 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001252/0.49, allocations: 0.9502 MB / 408.8 MB, free: 33.24 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.49, allocations: 4 kB / 408.8 MB, free: 33.24 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001601/0.4916, allocations: 437.2 kB / 409.3 MB, free: 32.81 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (84): * Single equations (assignments): 80 * 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: 3 * 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: 3 {(2,100.0%) 12,(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.003737/0.4954, allocations: 3.38 MB / 412.6 MB, free: 29.38 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003084/0.4985, allocations: 2.012 MB / 414.6 MB, free: 27.35 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.4985, allocations: 0 / 414.6 MB, free: 27.35 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001687/0.5002, allocations: 1.353 MB / 416 MB, free: 25.93 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002032/0.5022, allocations: 370.2 kB / 416.4 MB, free: 25.57 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01965/0.5219, allocations: 12.56 MB / 428.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/0.5232, allocations: 1.689 MB / 430.6 MB, free: 10.82 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001059/0.5242, allocations: 312.4 kB / 430.9 MB, free: 10.51 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008069/0.5251, allocations: 0.6984 MB / 431.6 MB, free: 9.809 MB / 318.1 MB Notification: Performance of SimCode: time 2.304e-06/0.5251, allocations: 3.609 kB / 431.6 MB, free: 9.809 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06781/0.5929, allocations: 36.92 MB / 468.5 MB, free: 4.832 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002535/0.5932, allocations: 255.4 kB / 468.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.004/3.597, allocations: 0 / 468.8 MB, free: 4.508 MB / 350.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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_Initialize_res.mat does not exist to compare? outputFormat=mat