Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 109 kB / 17.15 MB, free: 6.328 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.00126/0.00126, allocations: 198 kB / 18.07 MB, free: 5.434 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.714/1.714, allocations: 205.1 MB / 223.9 MB, free: 12.4 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.001359/0.001359, allocations: 52.41 kB / 280 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1189, allocations: 46.63 MB / 326.6 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.01237/0.1313, allocations: 9.552 MB / 336.2 MB, free: 11.28 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007737/0.1391, allocations: 3.468 MB / 339.6 MB, free: 7.801 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002274/0.1415, allocations: 39.81 kB / 339.7 MB, free: 7.762 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002323/0.1439, allocations: 0.5867 MB / 340.2 MB, free: 7.172 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003221/0.1471, allocations: 0.7383 MB / 341 MB, free: 6.43 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.1483, allocations: 399.5 kB / 341.4 MB, free: 6.039 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00386/0.1522, allocations: 3.056 MB / 344.4 MB, free: 2.969 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001912/0.1541, allocations: 1.493 MB / 345.9 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001858/0.156, allocations: 1.023 MB / 346.9 MB, free: 416 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002393/0.1584, allocations: 1.506 MB / 348.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003928/0.1588, allocations: 192 kB / 348.6 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.1599, allocations: 463.5 kB / 349.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000821/0.1608, allocations: 0.8722 MB / 350 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001483/0.1622, allocations: 1.356 MB / 351.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003525/0.1658, allocations: 4.143 MB / 355.5 MB, free: 7.859 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1658, allocations: 0 / 355.5 MB, free: 7.859 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1658, allocations: 0 / 355.5 MB, free: 7.859 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.768e-05/0.1659, allocations: 0 / 355.5 MB, free: 7.859 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.006139/0.172, allocations: 3.154 MB / 358.6 MB, free: 4.637 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.1721, allocations: 12.03 kB / 358.6 MB, free: 4.625 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008333/0.1729, allocations: 321.3 kB / 358.9 MB, free: 4.309 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002605/0.1756, allocations: 1.607 MB / 360.6 MB, free: 2.648 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.1757, allocations: 159.9 kB / 360.7 MB, free: 2.488 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002955/0.176, allocations: 203.9 kB / 360.9 MB, free: 2.289 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004804/0.1808, allocations: 2.69 MB / 363.6 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.394e-05/0.1809, allocations: 7.984 kB / 363.6 MB, free: 15.51 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002635/0.1811, allocations: 83.98 kB / 363.7 MB, free: 15.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001209/0.1813, allocations: 91.94 kB / 363.8 MB, free: 15.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004432/0.1857, allocations: 2.283 MB / 366.1 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01443/0.2002, allocations: 8.228 MB / 374.3 MB, free: 4.625 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002986/0.2032, allocations: 1.634 MB / 375.9 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001936/0.2052, allocations: 1.09 MB / 377 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002814/0.2055, allocations: 122.1 kB / 377.1 MB, free: 1.695 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.2055, allocations: 51.5 kB / 377.2 MB, free: 1.637 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 2.986e-06/0.2055, allocations: 0 / 377.2 MB, free: 1.637 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.2467/0.4522, allocations: 6.191 MB / 383.4 MB, free: 50.51 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.404e-05/0.4524, allocations: 65.52 kB / 383.4 MB, free: 50.45 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00639/0.4588, allocations: 2.158 MB / 385.6 MB, free: 49.67 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004613/0.4593, allocations: 51.08 kB / 385.6 MB, free: 49.62 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001217/0.4605, allocations: 1.107 MB / 386.8 MB, free: 48.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007805/0.4613, allocations: 459.5 kB / 387.2 MB, free: 48.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006815/0.462, allocations: 243.6 kB / 387.4 MB, free: 48.31 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002142/0.4622, allocations: 360.7 kB / 387.8 MB, free: 47.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002091/0.4643, allocations: 0.7596 MB / 388.6 MB, free: 47.72 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002266/0.4666, allocations: 1.011 MB / 389.6 MB, free: 47.19 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003925/0.4705, allocations: 1.863 MB / 391.4 MB, free: 46.27 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.09e-05/0.4706, allocations: 0 / 391.4 MB, free: 46.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006961/0.4776, allocations: 2.76 MB / 394.2 MB, free: 45.24 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.435e-05/0.4777, allocations: 6.625 kB / 394.2 MB, free: 45.24 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.104e-05/0.4777, allocations: 6.656 kB / 394.2 MB, free: 45.24 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002655/0.4804, allocations: 0.7896 MB / 395 MB, free: 45.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.4816, allocations: 272 kB / 395.3 MB, free: 45.01 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/0.4922, allocations: 8.75 MB / 404 MB, free: 38.69 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/0.4941, allocations: 102 kB / 404.1 MB, free: 38.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002988/0.4944, allocations: 47.98 kB / 404.2 MB, free: 38.55 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001945/0.4964, allocations: 0.7434 MB / 404.9 MB, free: 37.79 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000851/0.4973, allocations: 201.5 kB / 405.1 MB, free: 37.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00493/0.5022, allocations: 2.488 MB / 407.6 MB, free: 35.08 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-05/0.5023, allocations: 16 kB / 407.6 MB, free: 35.07 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.731e-05/0.5023, allocations: 4 kB / 407.6 MB, free: 35.06 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/0.5023, allocations: 7.969 kB / 407.6 MB, free: 35.05 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01041/0.5127, allocations: 4.962 MB / 412.6 MB, free: 30.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/0.5128, allocations: 0 / 412.6 MB, free: 30.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009923/0.5138, allocations: 211.9 kB / 412.8 MB, free: 29.83 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001822/0.5157, allocations: 0.6565 MB / 413.4 MB, free: 29.17 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001384/0.5158, allocations: 31.98 kB / 413.5 MB, free: 29.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007885/0.5237, allocations: 7.907 MB / 421.4 MB, free: 20.86 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.5238, allocations: 0 / 421.4 MB, free: 20.86 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006497/0.5303, allocations: 3.531 MB / 424.9 MB, free: 17.28 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00163/0.532, allocations: 446.4 kB / 425.3 MB, free: 16.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008253/0.5328, allocations: 31.98 kB / 425.4 MB, free: 16.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001687/0.5345, allocations: 91.8 kB / 425.5 MB, free: 16.71 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004571/0.535, allocations: 102.9 kB / 425.6 MB, free: 16.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/0.5352, allocations: 35.98 kB / 425.6 MB, free: 16.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.003331/0.5385, allocations: 1.523 MB / 427.1 MB, free: 15.03 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5385, allocations: 0 / 427.1 MB, free: 15.03 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003377/0.5419, allocations: 0.5208 MB / 427.6 MB, free: 14.51 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001846/0.5438, allocations: 470 kB / 428.1 MB, free: 14.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004833/0.5486, allocations: 2.38 MB / 430.5 MB, free: 11.68 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.106e-06/0.5487, allocations: 3.391 kB / 430.5 MB, free: 11.68 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002657/0.5513, allocations: 1.587 MB / 432.1 MB, free: 10.04 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003898/0.5552, allocations: 426.3 kB / 432.5 MB, free: 9.617 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/0.568, allocations: 6.133 MB / 438.6 MB, free: 3.453 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002832/0.5709, allocations: 1.951 MB / 440.6 MB, free: 1.469 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001762/0.5727, allocations: 387.7 kB / 440.9 MB, free: 1.086 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006623/0.5733, allocations: 135.4 kB / 441.1 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of SimCode: time 1.373e-06/0.5734, allocations: 0 / 441.1 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of Templates: time 0.06216/0.6355, allocations: 28.95 MB / 470 MB, free: 3.965 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_withLosses/AIMC_withLosses.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches