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: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aimc.ir.1.|aimc.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aimc.is.1.|aimc.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aimc.ir.1.|aimc.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aimc.is.1.|aimc.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 98.23 kB / 16.95 MB, free: 6.027 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.001447/0.001447, allocations: 180 kB / 17.84 MB, free: 5.672 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.886/1.886, allocations: 205.4 MB / 224 MB, free: 13.15 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.000615/0.0006154, allocations: 8 kB / 280.8 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1466, allocations: 47.58 MB / 328.4 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01351/0.1603, allocations: 10.41 MB / 338.8 MB, free: 9.633 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01/0.1704, allocations: 3.609 MB / 342.4 MB, free: 6.008 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002929/0.1734, allocations: 55.69 kB / 342.4 MB, free: 5.953 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002914/0.1763, allocations: 0.6834 MB / 343.1 MB, free: 5.266 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004906/0.1812, allocations: 0.9363 MB / 344.1 MB, free: 4.324 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001839/0.1831, allocations: 311.5 kB / 344.4 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.008985/0.1921, allocations: 4.39 MB / 348.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006537/0.1987, allocations: 2.205 MB / 351 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005398/0.2042, allocations: 1.412 MB / 352.4 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005663/0.2099, allocations: 1.919 MB / 354.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002218/0.2122, allocations: 216 kB / 354.5 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003747/0.216, allocations: 283.9 kB / 354.8 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003462/0.2195, allocations: 1.059 MB / 355.8 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003759/0.2233, allocations: 0.7498 MB / 356.6 MB, free: 7.719 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008812/0.2321, allocations: 5.275 MB / 361.9 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.287e-05/0.2322, allocations: 7.938 kB / 361.9 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.446e-06/0.2322, allocations: 0 / 361.9 MB, free: 2.422 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000302/0.2325, allocations: 4 kB / 361.9 MB, free: 2.418 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.01186/0.2444, allocations: 3.667 MB / 365.5 MB, free: 14.68 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.46e-05/0.2445, allocations: 8.031 kB / 365.5 MB, free: 14.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003301/0.2478, allocations: 447 kB / 366 MB, free: 14.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006557/0.2544, allocations: 2.157 MB / 368.1 MB, free: 12.03 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002875/0.2548, allocations: 230.2 kB / 368.4 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001394/0.2562, allocations: 307.9 kB / 368.7 MB, free: 11.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01151/0.2677, allocations: 4.35 MB / 373 MB, free: 7.062 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001059/0.2679, allocations: 4 kB / 373 MB, free: 7.059 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004063/0.2683, allocations: 132 kB / 373.1 MB, free: 6.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001599/0.2684, allocations: 134 kB / 373.3 MB, free: 6.797 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009106/0.2776, allocations: 3.771 MB / 377 MB, free: 3.016 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3196/0.5973, allocations: 13.61 MB / 390.7 MB, free: 43.1 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005718/0.603, allocations: 2.894 MB / 393.5 MB, free: 41.36 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00383/0.6069, allocations: 1.697 MB / 395.2 MB, free: 40.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004499/0.6075, allocations: 124.5 kB / 395.4 MB, free: 40.55 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.247e-05/0.6076, allocations: 51.78 kB / 395.4 MB, free: 40.5 MB / 318.1 MB Notification: Performance of pre-optimization done (n=164): time 4.638e-06/0.6076, allocations: 6.516 kB / 395.4 MB, free: 40.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=180): time 0.02232/0.6299, allocations: 9.284 MB / 404.7 MB, free: 35.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.63, allocations: 71.88 kB / 404.8 MB, free: 35.1 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00549/0.6355, allocations: 2.338 MB / 407.1 MB, free: 33.36 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005906/0.6362, allocations: 61.7 kB / 407.2 MB, free: 33.29 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001187/0.6374, allocations: 1.466 MB / 408.6 MB, free: 31.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001131/0.6385, allocations: 0.603 MB / 409.2 MB, free: 31.22 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.6387, allocations: 40 kB / 409.3 MB, free: 31.18 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002275/0.6389, allocations: 389.8 kB / 409.7 MB, free: 30.79 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001924/0.6409, allocations: 1.124 MB / 410.8 MB, free: 29.67 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001932/0.6428, allocations: 1.574 MB / 412.4 MB, free: 27.92 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001891/0.6447, allocations: 1.337 MB / 413.7 MB, free: 26.59 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.6447, allocations: 4 kB / 413.7 MB, free: 26.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006049/0.6508, allocations: 3.597 MB / 417.3 MB, free: 22.96 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.686e-05/0.6509, allocations: 10.95 kB / 417.3 MB, free: 22.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-05/0.651, allocations: 12 kB / 417.3 MB, free: 22.94 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001815/0.6528, allocations: 0.8058 MB / 418.1 MB, free: 22.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002041/0.6548, allocations: 455.3 kB / 418.6 MB, free: 21.67 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009541/0.6644, allocations: 10.28 MB / 428.9 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002927/0.6674, allocations: 131.8 kB / 429 MB, free: 10.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003964/0.6678, allocations: 79.97 kB / 429.1 MB, free: 10.51 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.00294/0.6708, allocations: 1.102 MB / 430.2 MB, free: 9.402 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001014/0.6718, allocations: 241.1 kB / 430.4 MB, free: 9.164 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005379/0.6772, allocations: 3.305 MB / 433.7 MB, free: 5.816 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/0.6773, allocations: 20 kB / 433.7 MB, free: 5.797 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.167e-05/0.6773, allocations: 15.95 kB / 433.7 MB, free: 5.781 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.128e-05/0.6773, allocations: 7.969 kB / 433.8 MB, free: 5.773 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01517/0.6925, allocations: 6.891 MB / 440.6 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.298e-05/0.6926, allocations: 4 kB / 440.6 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001486/0.6941, allocations: 291.6 kB / 440.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002793/0.6969, allocations: 0.9282 MB / 441.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003071/0.6972, allocations: 43.94 kB / 441.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01623/0.7135, allocations: 13.43 MB / 455.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.7136, allocations: 3.938 kB / 455.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01067/0.7242, allocations: 4.88 MB / 460.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002487/0.7268, allocations: 0.5721 MB / 460.8 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001202/0.728, allocations: 39.98 kB / 460.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002248/0.7303, allocations: 127.9 kB / 461 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005895/0.7309, allocations: 157.7 kB / 461.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002207/0.7312, allocations: 51.98 kB / 461.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.004456/0.7356, allocations: 1.605 MB / 462.8 MB, free: 7.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.7357, allocations: 0 / 462.8 MB, free: 7.633 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.005687/0.7414, allocations: 0.7031 MB / 463.5 MB, free: 6.93 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.0009923/0.7424, allocations: 179.5 kB / 463.6 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.009414/0.7518, allocations: 3.588 MB / 467.2 MB, free: 3.055 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.897e-05/0.7519, allocations: 4 kB / 467.2 MB, free: 3.051 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005474/0.7574, allocations: 2.523 MB / 469.8 MB, free: 436 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007247/0.7647, allocations: 0.6798 MB / 470.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02005/0.7848, allocations: 7.951 MB / 478.4 MB, free: 7.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00499/0.7899, allocations: 2.517 MB / 480.9 MB, free: 5.203 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.003689/0.7936, allocations: 0.5827 MB / 481.5 MB, free: 4.613 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001224/0.7949, allocations: 163.3 kB / 481.6 MB, free: 4.453 MB / 366.1 MB Notification: Performance of SimCode: time 2.836e-06/0.795, allocations: 0 / 481.6 MB, free: 4.453 MB / 366.1 MB Notification: Performance of Templates: time 0.09383/0.8888, allocations: 38.86 MB / 0.5083 GB, free: 13.55 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile (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 & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMS_Start/AIMS_Start.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches