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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 187 kB / 17.91 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.209/1.209, allocations: 205.1 MB / 223.8 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00092/0.00092, allocations: 106.5 kB / 271.2 MB, free: 8.43 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008155/0.0008156, allocations: 31.95 kB / 327.2 MB, free: 316 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.215, allocations: 46.63 MB / 373.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01077/0.2259, allocations: 11.66 MB / 385.5 MB, free: 36.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006039/0.2319, allocations: 3.773 MB / 389.3 MB, free: 33.47 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/0.2332, allocations: 53.81 kB / 389.3 MB, free: 33.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001574/0.2347, allocations: 0.7587 MB / 390.1 MB, free: 32.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002219/0.2371, allocations: 0.9959 MB / 391.1 MB, free: 32.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007468/0.2378, allocations: 447.1 kB / 391.5 MB, free: 31.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00293/0.2408, allocations: 4.957 MB / 396.5 MB, free: 26.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001999/0.2428, allocations: 2.659 MB / 399.1 MB, free: 24.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001342/0.2441, allocations: 1.619 MB / 400.7 MB, free: 22.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001849/0.246, allocations: 2.23 MB / 403 MB, free: 20.21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003701/0.2464, allocations: 300 kB / 403.3 MB, free: 19.92 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00069/0.2471, allocations: 411.7 kB / 403.7 MB, free: 19.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007091/0.2478, allocations: 1.18 MB / 404.8 MB, free: 18.33 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001336/0.2491, allocations: 1.983 MB / 406.8 MB, free: 16.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0033/0.2524, allocations: 6.309 MB / 413.1 MB, free: 10.01 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2525, allocations: 0 / 413.1 MB, free: 10.01 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2525, allocations: 0 / 413.1 MB, free: 10.01 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001692/0.2526, allocations: 0 / 413.1 MB, free: 10.01 MB / 298.7 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.006867/0.2595, allocations: 4.29 MB / 417.4 MB, free: 5.652 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.2596, allocations: 12.03 kB / 417.4 MB, free: 5.641 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007755/0.2604, allocations: 436.1 kB / 417.9 MB, free: 5.211 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003147/0.2635, allocations: 2.231 MB / 420.1 MB, free: 2.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.2636, allocations: 238.1 kB / 420.3 MB, free: 2.695 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003233/0.264, allocations: 307.9 kB / 420.6 MB, free: 2.395 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005519/0.2695, allocations: 4.369 MB / 425 MB, free: 13.94 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.581e-05/0.2696, allocations: 7.938 kB / 425 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002626/0.2698, allocations: 132 kB / 425.1 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001417/0.27, allocations: 134 kB / 425.3 MB, free: 13.67 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005926/0.2759, allocations: 3.771 MB / 429 MB, free: 9.887 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02006/0.296, allocations: 13.54 MB / 442.6 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003078/0.2991, allocations: 2.906 MB / 445.5 MB, free: 8.922 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002465/0.3016, allocations: 1.68 MB / 447.2 MB, free: 7.238 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002506/0.3019, allocations: 134.4 kB / 447.3 MB, free: 7.09 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/0.3019, allocations: 51.88 kB / 447.3 MB, free: 7.027 MB / 330.7 MB Notification: Performance of pre-optimization done (n=164): time 3.717e-06/0.3019, allocations: 0 / 447.3 MB, free: 7.027 MB / 330.7 MB Notification: Performance of matching and sorting (n=180): time 0.01674/0.3187, allocations: 9.207 MB / 456.6 MB, free: 13.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.3188, allocations: 69.41 kB / 456.6 MB, free: 13.51 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003039/0.3218, allocations: 2.361 MB / 459 MB, free: 11.12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001253/0.322, allocations: 57.7 kB / 459 MB, free: 11.06 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009015/0.3229, allocations: 1.462 MB / 460.5 MB, free: 9.578 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004784/0.3233, allocations: 0.6007 MB / 461.1 MB, free: 8.969 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005485/0.3239, allocations: 375.3 kB / 461.5 MB, free: 8.594 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.355e-05/0.324, allocations: 305.1 kB / 461.8 MB, free: 8.293 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001554/0.3255, allocations: 1.124 MB / 462.9 MB, free: 7.168 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/0.3273, allocations: 1.567 MB / 464.5 MB, free: 5.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003407/0.3307, allocations: 2.788 MB / 467.2 MB, free: 2.469 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.3308, allocations: 7.938 kB / 467.3 MB, free: 2.461 MB / 346.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.005444/0.3362, allocations: 3.588 MB / 470.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.3363, allocations: 8 kB / 470.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/0.3363, allocations: 23.86 kB / 470.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001849/0.3381, allocations: 0.8062 MB / 471.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/0.3397, allocations: 459.3 kB / 472.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009426/0.3492, allocations: 10.28 MB / 482.4 MB, free: 2.586 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001943/0.3512, allocations: 127.9 kB / 482.5 MB, free: 2.461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002399/0.3514, allocations: 72 kB / 482.6 MB, free: 2.391 MB / 362.7 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.001866/0.3533, allocations: 1.091 MB / 483.7 MB, free: 1.289 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006108/0.3539, allocations: 245 kB / 483.9 MB, free: 1.047 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005447/0.3594, allocations: 3.297 MB / 487.2 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.3594, allocations: 20 kB / 487.2 MB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.968e-05/0.3594, allocations: 4 kB / 487.3 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/0.3594, allocations: 11.95 kB / 487.3 MB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01161/0.3711, allocations: 6.9 MB / 494.2 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.3711, allocations: 0 / 494.2 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/0.3723, allocations: 291.6 kB / 494.5 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002175/0.3745, allocations: 0.9316 MB / 495.4 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001333/0.3746, allocations: 43.98 kB / 495.4 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01147/0.3861, allocations: 13.46 MB / 0.497 GB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.3861, allocations: 4.031 kB / 0.497 GB, free: 6.965 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1888/0.5749, allocations: 39.14 MB / 0.5352 GB, free: 100.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009439/0.5759, allocations: 0.5705 MB / 0.5357 GB, free: 99.89 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002525/0.5762, allocations: 40 kB / 0.5358 GB, free: 99.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/0.5773, allocations: 121.8 kB / 0.5359 GB, free: 99.74 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003232/0.5777, allocations: 149.7 kB / 0.536 GB, free: 99.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.483e-05/0.5778, allocations: 47.98 kB / 0.5361 GB, free: 99.55 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001689/0.5795, allocations: 1.633 MB / 0.5377 GB, free: 97.9 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5795, allocations: 0 / 0.5377 GB, free: 97.9 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002229/0.5817, allocations: 1.012 MB / 0.5387 GB, free: 96.89 MB / 394.7 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.0003217/0.582, allocations: 210 kB / 0.5389 GB, free: 96.69 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003806/0.5859, allocations: 3.577 MB / 0.5424 GB, free: 93.04 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.5859, allocations: 4 kB / 0.5424 GB, free: 93.04 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002565/0.5884, allocations: 2.503 MB / 0.5448 GB, free: 90.45 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002592/0.5911, allocations: 0.666 MB / 0.5455 GB, free: 89.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.6015, allocations: 10.58 MB / 0.5558 GB, free: 79.12 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001601/0.6032, allocations: 2.585 MB / 0.5583 GB, free: 76.5 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00179/0.605, allocations: 0.6139 MB / 0.5589 GB, free: 75.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004883/0.6055, allocations: 163.4 kB / 0.5591 GB, free: 75.72 MB / 394.7 MB Notification: Performance of SimCode: time 6.11e-07/0.6055, allocations: 0 / 0.5591 GB, free: 75.72 MB / 394.7 MB Notification: Performance of Templates: time 0.05814/0.6636, allocations: 50.32 MB / 0.6082 GB, free: 25.38 MB / 394.7 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@2/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