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.001387/0.001387, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.001563/0.001564, allocations: 195.3 kB / 19.18 MB, free: 3.977 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.514/1.514, allocations: 205.1 MB / 225.1 MB, free: 12.29 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.001427/0.001427, allocations: 51.94 kB / 281.3 MB, free: 3.156 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09791/0.09935, allocations: 46.63 MB / 328 MB, free: 4.461 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.0146/0.114, allocations: 11.75 MB / 339.7 MB, free: 8.648 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008598/0.1226, allocations: 3.818 MB / 343.5 MB, free: 4.812 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002545/0.1252, allocations: 59.75 kB / 343.6 MB, free: 4.754 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002685/0.128, allocations: 0.8577 MB / 344.4 MB, free: 3.891 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0041/0.1321, allocations: 1.087 MB / 345.5 MB, free: 2.797 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.1338, allocations: 0.4915 MB / 346 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006013/0.1398, allocations: 4.238 MB / 350.3 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004189/0.144, allocations: 3.213 MB / 353.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003157/0.1472, allocations: 1.896 MB / 355.4 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004317/0.1515, allocations: 2.328 MB / 357.7 MB, free: 6.527 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001225/0.1528, allocations: 0.5 MB / 358.2 MB, free: 6.027 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.1544, allocations: 0.5819 MB / 358.8 MB, free: 5.445 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001488/0.1559, allocations: 1.391 MB / 360.2 MB, free: 4.051 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003329/0.1592, allocations: 2.213 MB / 362.4 MB, free: 1.828 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007371/0.1666, allocations: 6.488 MB / 368.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.102e-05/0.1666, allocations: 0 / 368.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1667, allocations: 0 / 368.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002198/0.1669, allocations: 0 / 368.9 MB, free: 11.32 MB / 318.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.01266/0.1796, allocations: 4.298 MB / 373.2 MB, free: 6.953 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.1796, allocations: 12.03 kB / 373.2 MB, free: 6.941 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00128/0.1809, allocations: 436 kB / 373.6 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004288/0.1852, allocations: 2.227 MB / 375.8 MB, free: 4.234 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001765/0.1854, allocations: 234.1 kB / 376.1 MB, free: 4.004 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004444/0.1859, allocations: 307.9 kB / 376.4 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1966/0.3825, allocations: 4.363 MB / 380.7 MB, free: 48.44 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001151/0.3827, allocations: 9.969 kB / 380.7 MB, free: 48.44 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003585/0.383, allocations: 124.8 kB / 380.9 MB, free: 48.44 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001729/0.3832, allocations: 132.5 kB / 381 MB, free: 48.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008396/0.3916, allocations: 3.769 MB / 384.8 MB, free: 47.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02344/0.4151, allocations: 13.55 MB / 398.3 MB, free: 39.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003435/0.4186, allocations: 2.913 MB / 401.2 MB, free: 37.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002496/0.4211, allocations: 1.68 MB / 402.9 MB, free: 36.28 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002569/0.4214, allocations: 124.9 kB / 403 MB, free: 36.17 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.4215, allocations: 55.34 kB / 403.1 MB, free: 36.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=164): time 3.937e-06/0.4215, allocations: 0 / 403.1 MB, free: 36.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=180): time 0.01807/0.4395, allocations: 9.211 MB / 412.3 MB, free: 28.92 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.4396, allocations: 71.19 kB / 412.4 MB, free: 28.84 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003929/0.4436, allocations: 2.357 MB / 414.7 MB, free: 26.45 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002235/0.4438, allocations: 57.7 kB / 414.8 MB, free: 26.39 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008278/0.4446, allocations: 1.466 MB / 416.2 MB, free: 24.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004853/0.4451, allocations: 0.6072 MB / 416.8 MB, free: 24.31 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006493/0.4458, allocations: 367.3 kB / 417.2 MB, free: 23.95 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.034e-05/0.4459, allocations: 305.1 kB / 417.5 MB, free: 23.64 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001535/0.4474, allocations: 1.124 MB / 418.6 MB, free: 22.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001718/0.4491, allocations: 1.572 MB / 420.2 MB, free: 20.78 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003317/0.4525, allocations: 2.783 MB / 423 MB, free: 17.83 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-05/0.4525, allocations: 4 kB / 423 MB, free: 17.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.0055/0.458, allocations: 3.596 MB / 426.6 MB, free: 14.2 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.458, allocations: 8 kB / 426.6 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.563e-05/0.4581, allocations: 16 kB / 426.6 MB, free: 14.17 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001896/0.46, allocations: 0.8133 MB / 427.4 MB, free: 13.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.4616, allocations: 459.3 kB / 427.9 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00835/0.47, allocations: 11.18 MB / 439 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002379/0.4724, allocations: 123.8 kB / 439.2 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003599/0.4728, allocations: 72 kB / 439.2 MB, free: 0.8242 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 (switchedRheostat.booleanStep[3].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * 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 (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002227/0.475, allocations: 1.095 MB / 440.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008521/0.4759, allocations: 241.1 kB / 440.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006447/0.4824, allocations: 3.301 MB / 443.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.4824, allocations: 19.98 kB / 443.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.48e-05/0.4825, allocations: 8 kB / 443.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.463e-05/0.4825, allocations: 12.67 kB / 443.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01433/0.4968, allocations: 6.89 MB / 450.8 MB, free: 5.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.497e-05/0.4969, allocations: 4.219 kB / 450.8 MB, free: 5.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/0.4982, allocations: 299.5 kB / 451.1 MB, free: 4.836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002563/0.5008, allocations: 0.9282 MB / 452 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001887/0.501, allocations: 43.98 kB / 452.1 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01459/0.5156, allocations: 14.59 MB / 466.6 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/0.5157, allocations: 15.97 kB / 466.7 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009029/0.5247, allocations: 4.855 MB / 471.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001622/0.5264, allocations: 0.5722 MB / 472.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007708/0.5272, allocations: 39.98 kB / 472.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001766/0.529, allocations: 123.8 kB / 472.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004617/0.5295, allocations: 153.8 kB / 472.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/0.5296, allocations: 51.94 kB / 472.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003237/0.5329, allocations: 1.636 MB / 474.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5329, allocations: 0 / 474.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002827/0.5357, allocations: 0.7018 MB / 474.8 MB, free: 12.05 MB / 366.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 (not torn): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(2,14,100.0%), (1,1,100.0%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005661/0.5363, allocations: 202.9 kB / 475 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.008833/0.5451, allocations: 4.857 MB / 479.8 MB, free: 6.895 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/0.5452, allocations: 0 / 479.8 MB, free: 6.895 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003781/0.549, allocations: 2.503 MB / 482.3 MB, free: 4.285 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004408/0.5534, allocations: 0.7209 MB / 483.1 MB, free: 3.562 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01394/0.5673, allocations: 6.85 MB / 489.9 MB, free: 12.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003513/0.5709, allocations: 2.478 MB / 492.4 MB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009841/0.5719, allocations: 167.4 kB / 492.6 MB, free: 10.02 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5719, allocations: 0 / 492.6 MB, free: 10.02 MB / 382.1 MB Notification: Performance of Templates: time 0.3065/0.8784, allocations: 167.6 MB / 0.6446 GB, free: 22.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMS_Start/AIMS_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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