Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 109.4 kB / 18.34 MB, free: 4.699 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.001314/0.001314, allocations: 192.1 kB / 19.28 MB, free: 3.766 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.818/1.818, allocations: 205.1 MB / 225.1 MB, free: 12.26 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.001204/0.001204, allocations: 51.94 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1052, allocations: 46.63 MB / 328.7 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.012/0.1172, allocations: 9.754 MB / 338.5 MB, free: 9.938 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007483/0.1248, allocations: 3.14 MB / 341.6 MB, free: 6.781 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001834/0.1267, allocations: 43.81 kB / 341.7 MB, free: 6.738 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001842/0.1286, allocations: 0.6637 MB / 342.3 MB, free: 6.07 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002785/0.1314, allocations: 0.8193 MB / 343.1 MB, free: 5.246 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009511/0.1323, allocations: 383.5 kB / 343.5 MB, free: 4.871 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003653/0.136, allocations: 3.105 MB / 346.6 MB, free: 1.75 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002803/0.1388, allocations: 2.393 MB / 349 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002205/0.141, allocations: 1.367 MB / 350.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002489/0.1435, allocations: 1.689 MB / 352.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005204/0.1441, allocations: 364 kB / 352.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008323/0.1449, allocations: 455.8 kB / 352.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009401/0.1459, allocations: 0.9935 MB / 353.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001671/0.1475, allocations: 1.606 MB / 355.5 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004288/0.1518, allocations: 4.704 MB / 360.2 MB, free: 4.102 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1519, allocations: 0 / 360.2 MB, free: 4.102 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1519, allocations: 3.938 kB / 360.2 MB, free: 4.098 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001269/0.152, allocations: 0 / 360.2 MB, free: 4.098 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.007011/0.159, allocations: 3.21 MB / 363.4 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.1591, allocations: 8.031 kB / 363.4 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000774/0.1599, allocations: 321.3 kB / 363.7 MB, free: 0.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003107/0.163, allocations: 1.65 MB / 365.4 MB, free: 14.79 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.1631, allocations: 172.9 kB / 365.5 MB, free: 14.62 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003678/0.1635, allocations: 235.8 kB / 365.8 MB, free: 14.39 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005479/0.169, allocations: 3.188 MB / 369 MB, free: 11.1 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.838e-05/0.1691, allocations: 7.938 kB / 369 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001996/0.1693, allocations: 95.98 kB / 369.1 MB, free: 11 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001098/0.1694, allocations: 104.4 kB / 369.2 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004462/0.1739, allocations: 2.734 MB / 371.9 MB, free: 8.145 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2731/0.447, allocations: 9.762 MB / 381.7 MB, free: 47.88 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00392/0.451, allocations: 2.087 MB / 383.7 MB, free: 47.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002462/0.4535, allocations: 1.204 MB / 384.9 MB, free: 47.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003474/0.4538, allocations: 126 kB / 385.1 MB, free: 47.15 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/0.4539, allocations: 44.22 kB / 385.1 MB, free: 47.11 MB / 318.1 MB Notification: Performance of pre-optimization done (n=126): time 3.697e-06/0.4539, allocations: 4.844 kB / 385.1 MB, free: 47.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=142): time 0.02297/0.4769, allocations: 7.997 MB / 393.1 MB, free: 44.32 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.477, allocations: 66.47 kB / 393.2 MB, free: 44.26 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003431/0.4804, allocations: 1.677 MB / 394.9 MB, free: 43.63 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001452/0.4806, allocations: 55.05 kB / 394.9 MB, free: 43.58 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008856/0.4815, allocations: 1.084 MB / 396 MB, free: 42.74 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005448/0.482, allocations: 485 kB / 396.5 MB, free: 42.38 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006248/0.4827, allocations: 293.8 kB / 396.8 MB, free: 42.24 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.413e-05/0.4828, allocations: 305.3 kB / 397.1 MB, free: 41.94 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/0.4841, allocations: 0.9097 MB / 398 MB, free: 41.47 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/0.4855, allocations: 1.267 MB / 399.2 MB, free: 40.56 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00281/0.4883, allocations: 2.247 MB / 401.5 MB, free: 39.14 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.4883, allocations: 3.156 kB / 401.5 MB, free: 39.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.004703/0.493, allocations: 3.04 MB / 404.5 MB, free: 37.54 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.4931, allocations: 8.219 kB / 404.5 MB, free: 37.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/0.4931, allocations: 15.98 kB / 404.5 MB, free: 37.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001802/0.4949, allocations: 0.8424 MB / 405.4 MB, free: 36.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.496, allocations: 303.5 kB / 405.7 MB, free: 36.37 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00944/0.5054, allocations: 9.919 MB / 415.6 MB, free: 26.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001964/0.5074, allocations: 95.81 kB / 415.7 MB, free: 25.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/0.5076, allocations: 56 kB / 415.7 MB, free: 25.91 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[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 (155): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * 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): 3 systems {(2,12,100.0%), (9,19,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002037/0.5097, allocations: 0.815 MB / 416.6 MB, free: 25.09 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000419/0.5101, allocations: 185.5 kB / 416.7 MB, free: 24.91 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004485/0.5146, allocations: 2.845 MB / 419.6 MB, free: 22.03 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.5146, allocations: 12 kB / 419.6 MB, free: 22.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/0.5146, allocations: 8 kB / 419.6 MB, free: 22.01 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/0.5147, allocations: 11.91 kB / 419.6 MB, free: 22 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009921/0.5246, allocations: 5.658 MB / 425.3 MB, free: 16.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/0.5247, allocations: 0 / 425.3 MB, free: 16.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009172/0.5256, allocations: 200 kB / 425.5 MB, free: 16.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002177/0.5278, allocations: 0.8977 MB / 426.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000132/0.5279, allocations: 39.8 kB / 426.4 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01126/0.5392, allocations: 11.52 MB / 437.9 MB, free: 3.074 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.5393, allocations: 4.031 kB / 437.9 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006613/0.5459, allocations: 4.151 MB / 442.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001752/0.5477, allocations: 470.7 kB / 442.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002967/0.548, allocations: 30.62 kB / 442.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.549, allocations: 79.91 kB / 442.6 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006774/0.5497, allocations: 149 kB / 442.8 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/0.5499, allocations: 39.98 kB / 442.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.002427/0.5523, allocations: 1.149 MB / 444 MB, free: 12.95 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5523, allocations: 4 kB / 444 MB, free: 12.94 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002607/0.5549, allocations: 0.5615 MB / 444.5 MB, free: 12.38 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (9,19,33.3%), (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.0004913/0.5554, allocations: 188.1 kB / 444.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.005546/0.561, allocations: 2.997 MB / 447.7 MB, free: 9.117 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/0.561, allocations: 4.562 kB / 447.7 MB, free: 9.113 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003421/0.5644, allocations: 2.03 MB / 449.8 MB, free: 7.016 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002626/0.5671, allocations: 0.5083 MB / 450.3 MB, free: 6.516 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00971/0.5768, allocations: 5.15 MB / 455.4 MB, free: 1.328 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002195/0.579, allocations: 2.027 MB / 457.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001487/0.5805, allocations: 407.3 kB / 457.8 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003448/0.5809, allocations: 111.4 kB / 458 MB, free: 14.76 MB / 350.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5809, allocations: 8 kB / 458 MB, free: 14.75 MB / 350.1 MB Notification: Performance of Templates: time 0.07345/0.6544, allocations: 32.7 MB / 490.7 MB, free: 14.03 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_YD/AIMC_YD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches