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.00117/0.001171, allocations: 108.4 kB / 18.36 MB, free: 4.641 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.001052/0.001052, allocations: 191 kB / 19.29 MB, free: 3.715 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.757/1.757, allocations: 205.1 MB / 225.2 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.001288/0.001288, allocations: 55.92 kB / 282.1 MB, free: 2.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1259, allocations: 46.62 MB / 328.7 MB, free: 3.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01561/0.1416, allocations: 11.76 MB / 340.5 MB, free: 7.98 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008849/0.1505, allocations: 3.81 MB / 344.3 MB, free: 4.152 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002478/0.153, allocations: 59.69 kB / 344.4 MB, free: 4.094 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002404/0.1555, allocations: 0.8616 MB / 345.2 MB, free: 3.227 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004803/0.1603, allocations: 1.08 MB / 346.3 MB, free: 2.141 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.1618, allocations: 0.4993 MB / 346.8 MB, free: 1.641 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005981/0.1678, allocations: 4.254 MB / 351.1 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003799/0.1716, allocations: 3.221 MB / 354.3 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003473/0.1751, allocations: 1.892 MB / 356.2 MB, free: 8.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004259/0.1794, allocations: 2.328 MB / 358.5 MB, free: 5.844 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009234/0.1803, allocations: 0.4961 MB / 359 MB, free: 5.348 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.1817, allocations: 0.5897 MB / 359.6 MB, free: 4.758 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001386/0.1831, allocations: 1.399 MB / 361 MB, free: 3.355 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002943/0.1861, allocations: 2.209 MB / 363.2 MB, free: 1.137 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008093/0.1942, allocations: 6.543 MB / 369.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1942, allocations: 0 / 369.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1943, allocations: 0 / 369.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000233/0.1945, allocations: 0 / 369.7 MB, free: 10.57 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.01452/0.209, allocations: 4.294 MB / 374 MB, free: 6.207 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.015e-05/0.2091, allocations: 12.03 kB / 374 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/0.2105, allocations: 440 kB / 374.5 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005013/0.2155, allocations: 2.246 MB / 376.7 MB, free: 3.469 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/0.2157, allocations: 230.1 kB / 376.9 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000497/0.2162, allocations: 311.9 kB / 377.2 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2755/0.4917, allocations: 4.366 MB / 381.6 MB, free: 48.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001123/0.4919, allocations: 3.219 kB / 381.6 MB, free: 48.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003892/0.4923, allocations: 129 kB / 381.7 MB, free: 48.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002242/0.4925, allocations: 131.4 kB / 381.9 MB, free: 48.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01026/0.5028, allocations: 3.772 MB / 385.6 MB, free: 47.46 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02812/0.5309, allocations: 13.39 MB / 399 MB, free: 39.13 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003112/0.5341, allocations: 2.894 MB / 401.9 MB, free: 37.14 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002327/0.5365, allocations: 1.691 MB / 403.6 MB, free: 36.36 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000273/0.5368, allocations: 127.2 kB / 403.7 MB, free: 36.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.5368, allocations: 55.16 kB / 403.8 MB, free: 36.2 MB / 318.1 MB Notification: Performance of pre-optimization done (n=164): time 4.789e-06/0.5368, allocations: 3.984 kB / 403.8 MB, free: 36.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=180): time 0.01691/0.5537, allocations: 9.212 MB / 413 MB, free: 28.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.5539, allocations: 69.41 kB / 413.1 MB, free: 28.51 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003817/0.5577, allocations: 2.357 MB / 415.4 MB, free: 26.12 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002755/0.558, allocations: 59.48 kB / 415.5 MB, free: 26.06 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009057/0.5589, allocations: 1.465 MB / 417 MB, free: 24.58 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005175/0.5594, allocations: 0.6032 MB / 417.6 MB, free: 23.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005926/0.56, allocations: 363.3 kB / 417.9 MB, free: 23.62 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.185e-05/0.5601, allocations: 305.1 kB / 418.2 MB, free: 23.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001509/0.5616, allocations: 1.128 MB / 419.3 MB, free: 22.19 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001607/0.5633, allocations: 1.567 MB / 420.9 MB, free: 20.46 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003923/0.5672, allocations: 2.791 MB / 423.7 MB, free: 17.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/0.5672, allocations: 3.609 kB / 423.7 MB, free: 17.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.007417/0.5747, allocations: 3.596 MB / 427.3 MB, free: 13.87 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.519e-05/0.5747, allocations: 12 kB / 427.3 MB, free: 13.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.215e-05/0.5748, allocations: 12 kB / 427.3 MB, free: 13.85 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002563/0.5774, allocations: 0.8016 MB / 428.1 MB, free: 13.03 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002281/0.5797, allocations: 455.3 kB / 428.6 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01169/0.5914, allocations: 11.18 MB / 439.7 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003397/0.5948, allocations: 127.8 kB / 439.9 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005798/0.5954, allocations: 76 kB / 439.9 MB, free: 0.5078 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.003954/0.5994, allocations: 1.086 MB / 441 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001503/0.6009, allocations: 241.1 kB / 441.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009345/0.6103, allocations: 3.309 MB / 444.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-05/0.6103, allocations: 16 kB / 444.6 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-05/0.6104, allocations: 8 kB / 444.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-05/0.6104, allocations: 11.95 kB / 444.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01983/0.6303, allocations: 6.845 MB / 451.5 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.161e-05/0.6303, allocations: 4 kB / 451.5 MB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001975/0.6323, allocations: 299.5 kB / 451.8 MB, free: 4.566 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003608/0.636, allocations: 0.9244 MB / 452.7 MB, free: 3.617 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003059/0.6363, allocations: 39.98 kB / 452.7 MB, free: 3.578 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02024/0.6566, allocations: 14.59 MB / 467.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-05/0.6566, allocations: 11.95 kB / 467.3 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01238/0.669, allocations: 4.859 MB / 472.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002704/0.6718, allocations: 0.5682 MB / 472.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005499/0.6723, allocations: 36 kB / 472.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001978/0.6743, allocations: 127.8 kB / 472.9 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006978/0.675, allocations: 156.7 kB / 473.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001809/0.6752, allocations: 43.98 kB / 473.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.004082/0.6793, allocations: 1.637 MB / 474.7 MB, free: 12.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6794, allocations: 0 / 474.7 MB, free: 12.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004254/0.6836, allocations: 0.7023 MB / 475.4 MB, free: 11.79 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.0005846/0.6842, allocations: 207.6 kB / 475.6 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006117/0.6903, allocations: 3.587 MB / 479.2 MB, free: 7.887 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/0.6904, allocations: 0 / 479.2 MB, free: 7.887 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003827/0.6942, allocations: 2.509 MB / 481.7 MB, free: 5.273 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003851/0.6981, allocations: 0.728 MB / 482.5 MB, free: 4.547 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/0.7113, allocations: 6.739 MB / 489.2 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002495/0.7139, allocations: 2.517 MB / 491.7 MB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002119/0.716, allocations: 0.5827 MB / 492.3 MB, free: 10.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005155/0.7165, allocations: 163.4 kB / 492.5 MB, free: 10.48 MB / 382.1 MB Notification: Performance of SimCode: time 1.473e-06/0.7165, allocations: 0 / 492.5 MB, free: 10.48 MB / 382.1 MB Notification: Performance of Templates: time 0.07397/0.7905, allocations: 39.83 MB / 0.5198 GB, free: 2.645 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 -s gbode -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