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.001762/0.001762, allocations: 104.7 kB / 17.93 MB, free: 5.551 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.001965/0.001965, allocations: 193.9 kB / 18.86 MB, free: 4.629 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.45/1.45, allocations: 205.1 MB / 224.7 MB, free: 12.44 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.001338/0.001338, allocations: 55.92 kB / 280.8 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09943/0.1008, allocations: 46.63 MB / 327.4 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01328/0.1141, allocations: 11.67 MB / 339.1 MB, free: 9.059 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007157/0.1213, allocations: 3.752 MB / 342.9 MB, free: 5.289 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001995/0.1233, allocations: 55.75 kB / 342.9 MB, free: 5.234 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002529/0.1259, allocations: 0.7654 MB / 343.7 MB, free: 4.465 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004012/0.1299, allocations: 0.9754 MB / 344.7 MB, free: 3.484 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.1313, allocations: 443.6 kB / 345.1 MB, free: 3.051 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005807/0.1371, allocations: 4.258 MB / 349.3 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003865/0.141, allocations: 3.206 MB / 352.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00329/0.1443, allocations: 1.908 MB / 354.5 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004054/0.1484, allocations: 2.386 MB / 356.8 MB, free: 7.191 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001377/0.1498, allocations: 0.4961 MB / 357.3 MB, free: 6.695 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001905/0.1517, allocations: 0.5819 MB / 357.9 MB, free: 6.113 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00156/0.1533, allocations: 1.41 MB / 359.3 MB, free: 4.699 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003516/0.1568, allocations: 2.209 MB / 361.5 MB, free: 2.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006124/0.163, allocations: 5.491 MB / 367 MB, free: 12.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.876e-06/0.163, allocations: 0 / 367 MB, free: 12.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.163, allocations: 0 / 367 MB, free: 12.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002001/0.1632, allocations: 0 / 367 MB, free: 12.98 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.01089/0.1741, allocations: 4.298 MB / 371.3 MB, free: 8.609 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.1742, allocations: 8.031 kB / 371.3 MB, free: 8.602 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/0.1754, allocations: 444 kB / 371.8 MB, free: 8.164 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004064/0.1795, allocations: 2.223 MB / 374 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002105/0.1797, allocations: 230.1 kB / 374.2 MB, free: 5.664 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005193/0.1802, allocations: 311.9 kB / 374.5 MB, free: 5.359 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008477/0.1887, allocations: 4.365 MB / 378.9 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-05/0.1889, allocations: 11.94 kB / 378.9 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003119/0.1892, allocations: 128 kB / 379 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001363/0.1893, allocations: 126 kB / 379.2 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1871/0.3764, allocations: 3.768 MB / 382.9 MB, free: 49.51 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02514/0.4016, allocations: 13.55 MB / 396.5 MB, free: 41.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003183/0.4049, allocations: 2.903 MB / 399.4 MB, free: 39.62 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002248/0.4071, allocations: 1.686 MB / 401.1 MB, free: 38.83 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002446/0.4074, allocations: 129.6 kB / 401.2 MB, free: 38.72 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.4074, allocations: 55.81 kB / 401.2 MB, free: 38.67 MB / 318.1 MB Notification: Performance of pre-optimization done (n=164): time 3.086e-06/0.4074, allocations: 0 / 401.2 MB, free: 38.67 MB / 318.1 MB Notification: Performance of matching and sorting (n=180): time 0.01582/0.4233, allocations: 9.214 MB / 410.5 MB, free: 30.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.4233, allocations: 69.41 kB / 410.5 MB, free: 30.86 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00288/0.4262, allocations: 2.357 MB / 412.9 MB, free: 28.47 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001436/0.4264, allocations: 57.7 kB / 412.9 MB, free: 28.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006768/0.4271, allocations: 1.465 MB / 414.4 MB, free: 26.93 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003374/0.4274, allocations: 0.5997 MB / 415 MB, free: 26.34 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000511/0.4279, allocations: 371.3 kB / 415.4 MB, free: 25.96 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.389e-05/0.428, allocations: 301.1 kB / 415.7 MB, free: 25.67 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/0.4294, allocations: 1.124 MB / 416.8 MB, free: 24.54 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/0.4309, allocations: 1.567 MB / 418.3 MB, free: 22.81 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002843/0.4337, allocations: 2.788 MB / 421.1 MB, free: 19.85 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.4338, allocations: 4 kB / 421.1 MB, free: 19.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.005059/0.4388, allocations: 3.595 MB / 424.7 MB, free: 16.22 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.4389, allocations: 12 kB / 424.7 MB, free: 16.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/0.4389, allocations: 15.98 kB / 424.8 MB, free: 16.19 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001765/0.4407, allocations: 0.8064 MB / 425.6 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001605/0.4423, allocations: 455.3 kB / 426 MB, free: 14.92 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008062/0.4504, allocations: 11.18 MB / 437.2 MB, free: 3.039 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002422/0.4528, allocations: 127.8 kB / 437.3 MB, free: 2.914 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/0.453, allocations: 83.58 kB / 437.4 MB, free: 2.836 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.001878/0.4549, allocations: 1.091 MB / 438.5 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005184/0.4554, allocations: 241.1 kB / 438.7 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005215/0.4607, allocations: 3.301 MB / 442 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/0.4607, allocations: 20 kB / 442 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.4607, allocations: 4 kB / 442.1 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.692e-05/0.4607, allocations: 13.59 kB / 442.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01211/0.4728, allocations: 6.891 MB / 449 MB, free: 7.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.4729, allocations: 224 / 449 MB, free: 7.148 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001307/0.4742, allocations: 303.5 kB / 449.3 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002497/0.4767, allocations: 0.9275 MB / 450.2 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001424/0.4769, allocations: 45.08 kB / 450.2 MB, free: 5.855 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01348/0.4904, allocations: 14.6 MB / 464.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.4904, allocations: 4.062 kB / 464.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007814/0.4982, allocations: 4.862 MB / 469.7 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001709/0.5, allocations: 0.5604 MB / 470.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003916/0.5004, allocations: 39.98 kB / 470.3 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/0.5017, allocations: 123.9 kB / 470.4 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004501/0.5022, allocations: 161.7 kB / 470.6 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/0.5023, allocations: 51.98 kB / 470.6 MB, free: 412 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002483/0.5048, allocations: 1.621 MB / 472.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5048, allocations: 0 / 472.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002341/0.5072, allocations: 0.7057 MB / 472.9 MB, free: 14.06 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.0004615/0.5076, allocations: 210 kB / 473.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.008661/0.5163, allocations: 4.855 MB / 478 MB, free: 8.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.515e-06/0.5163, allocations: 0 / 478 MB, free: 8.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003677/0.52, allocations: 2.5 MB / 480.5 MB, free: 6.301 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003699/0.5237, allocations: 0.7153 MB / 481.2 MB, free: 5.582 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01269/0.5365, allocations: 8.202 MB / 489.4 MB, free: 13.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002194/0.5387, allocations: 2.47 MB / 491.9 MB, free: 10.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009278/0.5396, allocations: 167.4 kB / 492.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of SimCode: time 1.342e-06/0.5396, allocations: 0 / 492.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of Templates: time 0.3302/0.8699, allocations: 167.6 MB / 0.6442 GB, free: 23.72 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","../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