Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.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.AIMS_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start",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.001009/0.001009, allocations: 93.03 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.001856/0.001856, allocations: 181.7 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.923/1.923, allocations: 205.4 MB / 224 MB, free: 13.16 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.0005051/0.0005052, allocations: 12 kB / 280.9 MB, free: 3.625 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1266, allocations: 47.58 MB / 328.5 MB, free: 3.977 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01333/0.14, allocations: 10.41 MB / 338.9 MB, free: 9.52 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.1501, allocations: 3.605 MB / 342.5 MB, free: 5.898 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003054/0.1532, allocations: 55.69 kB / 342.5 MB, free: 5.844 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003849/0.1571, allocations: 0.6873 MB / 343.2 MB, free: 5.152 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005022/0.1622, allocations: 0.9402 MB / 344.2 MB, free: 4.207 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.1639, allocations: 303.6 kB / 344.5 MB, free: 3.91 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007275/0.1712, allocations: 4.394 MB / 348.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004778/0.176, allocations: 2.201 MB / 351 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003353/0.1794, allocations: 1.42 MB / 352.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004658/0.1841, allocations: 1.915 MB / 354.4 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001477/0.1856, allocations: 216 kB / 354.6 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002149/0.1877, allocations: 283.9 kB / 354.9 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002109/0.1899, allocations: 1.051 MB / 355.9 MB, free: 8.371 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002189/0.1921, allocations: 0.7498 MB / 356.7 MB, free: 7.613 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00803/0.2001, allocations: 5.286 MB / 362 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.19e-05/0.2002, allocations: 4 kB / 362 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.967e-06/0.2002, allocations: 0 / 362 MB, free: 2.309 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002964/0.2005, allocations: 0 / 362 MB, free: 2.309 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01267/0.2132, allocations: 3.663 MB / 365.6 MB, free: 14.58 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.168e-05/0.2133, allocations: 12.03 kB / 365.6 MB, free: 14.57 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002279/0.2156, allocations: 442.4 kB / 366.1 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00284/0.2184, allocations: 447 kB / 366.5 MB, free: 13.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007518/0.226, allocations: 2.153 MB / 368.7 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004032/0.2264, allocations: 230.2 kB / 368.9 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001762/0.2282, allocations: 307.9 kB / 369.2 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01402/0.2422, allocations: 4.35 MB / 373.5 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001484/0.2424, allocations: 15.94 kB / 373.5 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008618/0.2433, allocations: 128 kB / 373.7 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001862/0.2435, allocations: 137.9 kB / 373.8 MB, free: 6.234 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009458/0.253, allocations: 3.771 MB / 377.6 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3117/0.5647, allocations: 13.6 MB / 391.2 MB, free: 43.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004188/0.569, allocations: 2.889 MB / 394.1 MB, free: 41.43 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002905/0.572, allocations: 1.704 MB / 395.8 MB, free: 40.69 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003039/0.5723, allocations: 131.8 kB / 395.9 MB, free: 40.58 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.432e-05/0.5724, allocations: 55.06 kB / 396 MB, free: 40.53 MB / 318.1 MB Notification: Performance of pre-optimization done (n=164): time 4.829e-06/0.5724, allocations: 0 / 396 MB, free: 40.53 MB / 318.1 MB Notification: Performance of matching and sorting (n=180): time 0.01976/0.5921, allocations: 9.281 MB / 405.2 MB, free: 35.19 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.5922, allocations: 69 kB / 405.3 MB, free: 35.13 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003744/0.596, allocations: 2.345 MB / 407.7 MB, free: 33.06 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002397/0.5963, allocations: 57.7 kB / 407.7 MB, free: 33 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000951/0.5972, allocations: 1.464 MB / 409.2 MB, free: 31.52 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000436/0.5977, allocations: 0.6007 MB / 409.8 MB, free: 30.93 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.5978, allocations: 36 kB / 409.8 MB, free: 30.89 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.5979, allocations: 393.8 kB / 410.2 MB, free: 30.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001518/0.5994, allocations: 1.124 MB / 411.3 MB, free: 29.38 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.6011, allocations: 1.574 MB / 412.9 MB, free: 27.63 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001742/0.6029, allocations: 1.337 MB / 414.2 MB, free: 26.3 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.6029, allocations: 4 kB / 414.2 MB, free: 26.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.005268/0.6082, allocations: 3.604 MB / 417.8 MB, free: 22.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/0.6082, allocations: 8 kB / 417.8 MB, free: 22.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/0.6083, allocations: 12 kB / 417.9 MB, free: 22.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00171/0.61, allocations: 0.8016 MB / 418.7 MB, free: 21.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/0.6115, allocations: 455.3 kB / 419.1 MB, free: 21.37 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007806/0.6193, allocations: 10.29 MB / 429.4 MB, free: 10.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002361/0.6217, allocations: 127.9 kB / 429.5 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/0.6219, allocations: 75.98 kB / 429.6 MB, free: 10.22 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 213 * 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: 5 * 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: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002178/0.6241, allocations: 1.095 MB / 430.7 MB, free: 9.113 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005708/0.6246, allocations: 245 kB / 430.9 MB, free: 8.871 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00481/0.6295, allocations: 3.309 MB / 434.2 MB, free: 5.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/0.6295, allocations: 19.95 kB / 434.3 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.6295, allocations: 8 kB / 434.3 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.641e-05/0.6295, allocations: 7.969 kB / 434.3 MB, free: 5.484 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01105/0.6406, allocations: 6.893 MB / 441.2 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.6407, allocations: 4 kB / 441.2 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/0.6419, allocations: 291.6 kB / 441.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002315/0.6443, allocations: 0.9297 MB / 442.4 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001269/0.6444, allocations: 43.94 kB / 442.4 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01365/0.6581, allocations: 13.45 MB / 455.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.6581, allocations: 4 kB / 455.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008622/0.6667, allocations: 4.877 MB / 460.8 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001714/0.6685, allocations: 0.5683 MB / 461.3 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004106/0.6689, allocations: 36 kB / 461.4 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/0.6701, allocations: 127.9 kB / 461.5 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004017/0.6705, allocations: 157.7 kB / 461.6 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/0.6706, allocations: 47.98 kB / 461.7 MB, free: 8.957 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002625/0.6733, allocations: 1.609 MB / 463.3 MB, free: 7.332 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6733, allocations: 0 / 463.3 MB, free: 7.332 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002516/0.6758, allocations: 0.7041 MB / 464 MB, free: 6.629 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * 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: 7 * 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: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007884/0.6837, allocations: 5.499 MB / 469.5 MB, free: 1.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005592/0.6893, allocations: 3.589 MB / 473.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/0.6894, allocations: 0 / 473.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003646/0.693, allocations: 2.513 MB / 475.6 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003904/0.697, allocations: 0.6894 MB / 476.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04404/0.741, allocations: 21.64 MB / 497.9 MB, free: 3.082 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002561/0.7436, allocations: 2.525 MB / 0.4887 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002368/0.746, allocations: 0.5866 MB / 0.4893 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001867/0.7479, allocations: 1.253 MB / 0.4905 GB, free: 14.68 MB / 398.1 MB Notification: Performance of SimCode: time 1.754e-06/0.7479, allocations: 0 / 0.4905 GB, free: 14.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3687/1.117, allocations: 64 MB / 0.553 GB, free: 138.8 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/1.117, allocations: 253.5 kB / 0.5533 GB, free: 138.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.977/5.093, allocations: 0 / 0.5533 GB, free: 138.5 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.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.AIMS_Start_res.mat does not exist to compare? outputFormat=mat