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.001204/0.001204, allocations: 93.25 kB / 17.3 MB, free: 6.391 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.001406/0.001406, allocations: 172.9 kB / 18.2 MB, free: 5.551 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.228/2.228, allocations: 205.4 MB / 224.4 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.0004992/0.0004993, allocations: 16 kB / 281.4 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1153, allocations: 47.58 MB / 329 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01278/0.1281, allocations: 11.07 MB / 340 MB, free: 8.629 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008687/0.1369, allocations: 3.737 MB / 343.8 MB, free: 4.875 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002671/0.1396, allocations: 55.75 kB / 343.8 MB, free: 4.82 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003441/0.143, allocations: 0.7536 MB / 344.6 MB, free: 4.062 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005032/0.1481, allocations: 0.991 MB / 345.6 MB, free: 3.066 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002253/0.1504, allocations: 447.5 kB / 346 MB, free: 2.629 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007733/0.1581, allocations: 4.913 MB / 350.9 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004709/0.1629, allocations: 2.639 MB / 353.6 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003392/0.1663, allocations: 1.416 MB / 355 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004315/0.1707, allocations: 1.996 MB / 357 MB, free: 7.566 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001012/0.1717, allocations: 216 kB / 357.2 MB, free: 7.355 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0016/0.1734, allocations: 323.8 kB / 357.5 MB, free: 7.039 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001265/0.1746, allocations: 1.055 MB / 358.6 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003473/0.1781, allocations: 1.855 MB / 360.4 MB, free: 4.109 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007309/0.1854, allocations: 6.112 MB / 366.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.1855, allocations: 4 kB / 366.5 MB, free: 13.97 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.1855, allocations: 0 / 366.5 MB, free: 13.97 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002914/0.1858, allocations: 0 / 366.5 MB, free: 13.97 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.01036/0.1962, allocations: 3.636 MB / 370.2 MB, free: 10.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.737e-05/0.1963, allocations: 8.031 kB / 370.2 MB, free: 10.26 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003077/0.1994, allocations: 448 kB / 370.6 MB, free: 9.816 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005896/0.2053, allocations: 2.239 MB / 372.9 MB, free: 7.527 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003586/0.2057, allocations: 234.1 kB / 373.1 MB, free: 7.297 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001426/0.2071, allocations: 303.9 kB / 373.4 MB, free: 7 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0105/0.2176, allocations: 4.365 MB / 377.7 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001016/0.2178, allocations: 15.84 kB / 377.8 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003557/0.2181, allocations: 136 kB / 377.9 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002112/0.2184, allocations: 134 kB / 378 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2751/0.4934, allocations: 3.782 MB / 381.8 MB, free: 48.6 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0322/0.5257, allocations: 13.62 MB / 395.4 MB, free: 41.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003938/0.5297, allocations: 2.908 MB / 398.3 MB, free: 39.05 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003081/0.5328, allocations: 1.703 MB / 400 MB, free: 38.26 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003388/0.5332, allocations: 127.1 kB / 400.2 MB, free: 38.15 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.261e-05/0.5332, allocations: 55.77 kB / 400.2 MB, free: 38.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=164): time 5.109e-06/0.5333, allocations: 4 kB / 400.2 MB, free: 38.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=180): time 0.02078/0.554, allocations: 9.306 MB / 409.5 MB, free: 31.46 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.5542, allocations: 69.41 kB / 409.6 MB, free: 31.38 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003936/0.5581, allocations: 2.357 MB / 412 MB, free: 29 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005555/0.5587, allocations: 57.7 kB / 412 MB, free: 28.93 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001081/0.5598, allocations: 1.469 MB / 413.5 MB, free: 27.45 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007481/0.5605, allocations: 0.6035 MB / 414.1 MB, free: 26.86 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002654/0.5608, allocations: 169.6 kB / 414.2 MB, free: 26.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.615e-05/0.5609, allocations: 305.1 kB / 414.5 MB, free: 26.38 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001674/0.5626, allocations: 1.137 MB / 415.7 MB, free: 25.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001677/0.5643, allocations: 1.578 MB / 417.3 MB, free: 23.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003574/0.5679, allocations: 2.796 MB / 420.1 MB, free: 20.53 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.285e-05/0.5679, allocations: 4 kB / 420.1 MB, free: 20.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006038/0.574, allocations: 3.62 MB / 423.7 MB, free: 16.87 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.574, allocations: 12 kB / 423.7 MB, free: 16.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.643e-05/0.5741, allocations: 16 kB / 423.7 MB, free: 16.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001913/0.576, allocations: 0.8022 MB / 424.5 MB, free: 16.03 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/0.5779, allocations: 463.2 kB / 425 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008008/0.586, allocations: 10.3 MB / 435.3 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002526/0.5885, allocations: 123.9 kB / 435.4 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003924/0.589, allocations: 79.98 kB / 435.5 MB, free: 4.41 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.002464/0.5914, allocations: 1.091 MB / 436.5 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000773/0.5922, allocations: 245 kB / 436.8 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005388/0.5976, allocations: 3.324 MB / 440.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.173e-05/0.5977, allocations: 16 kB / 440.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-05/0.5977, allocations: 11.61 kB / 440.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.55e-05/0.5977, allocations: 7.969 kB / 440.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01544/0.6132, allocations: 6.907 MB / 447.1 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/0.6133, allocations: 8 kB / 447.1 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001556/0.6148, allocations: 295.5 kB / 447.3 MB, free: 8.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002656/0.6175, allocations: 0.9316 MB / 448.3 MB, free: 7.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002705/0.6178, allocations: 39.98 kB / 448.3 MB, free: 7.391 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0156/0.6334, allocations: 13.46 MB / 461.8 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/0.6335, allocations: 8.062 kB / 461.8 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009556/0.643, allocations: 4.884 MB / 466.7 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002096/0.6452, allocations: 0.5682 MB / 467.2 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006279/0.6458, allocations: 43.98 kB / 467.3 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001591/0.6474, allocations: 131.9 kB / 467.4 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005274/0.648, allocations: 157.7 kB / 467.6 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/0.6481, allocations: 47.98 kB / 467.6 MB, free: 3.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.003282/0.6514, allocations: 1.625 MB / 469.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.6514, allocations: 4 kB / 469.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003506/0.6549, allocations: 0.7031 MB / 469.9 MB, free: 0.7422 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 (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.0006217/0.6556, allocations: 210.9 kB / 470.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.006214/0.6618, allocations: 3.599 MB / 473.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.6619, allocations: 4.062 kB / 473.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004264/0.6661, allocations: 2.519 MB / 476.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005478/0.6717, allocations: 0.673 MB / 476.9 MB, free: 9.523 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01899/0.6907, allocations: 8.326 MB / 485.3 MB, free: 1.156 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003646/0.6944, allocations: 2.52 MB / 487.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002629/0.6971, allocations: 0.5827 MB / 488.4 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000645/0.6978, allocations: 159.4 kB / 488.5 MB, free: 13.86 MB / 382.1 MB Notification: Performance of SimCode: time 2.354e-06/0.6978, allocations: 0 / 488.5 MB, free: 13.86 MB / 382.1 MB Notification: Performance of Templates: time 0.08124/0.779, allocations: 39.91 MB / 0.516 GB, free: 5.906 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