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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 187 kB / 17.92 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.143/1.143, allocations: 205.1 MB / 223.7 MB, free: 8.477 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.0008839/0.0008839, allocations: 101.3 kB / 271.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007322/0.0007323, allocations: 43.94 kB / 327.2 MB, free: 316 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1882, allocations: 46.62 MB / 373.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.008291/0.1965, allocations: 9.548 MB / 383.4 MB, free: 38.31 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005053/0.2016, allocations: 3.454 MB / 386.8 MB, free: 35.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001233/0.2029, allocations: 38.31 kB / 386.9 MB, free: 35.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0014/0.2043, allocations: 0.5983 MB / 387.5 MB, free: 35.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001584/0.2059, allocations: 0.7457 MB / 388.2 MB, free: 34.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007364/0.2066, allocations: 406.9 kB / 388.6 MB, free: 34.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002193/0.2089, allocations: 3.084 MB / 391.7 MB, free: 31.58 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001266/0.2101, allocations: 1.481 MB / 393.2 MB, free: 30.06 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009549/0.2111, allocations: 1.035 MB / 394.2 MB, free: 29.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001259/0.2124, allocations: 1.51 MB / 395.7 MB, free: 27.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000246/0.2126, allocations: 188 kB / 395.9 MB, free: 27.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007432/0.2134, allocations: 463.5 kB / 396.4 MB, free: 26.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005122/0.2139, allocations: 0.8645 MB / 397.2 MB, free: 26 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008397/0.2148, allocations: 1.364 MB / 398.6 MB, free: 24.63 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002061/0.2168, allocations: 4.139 MB / 402.7 MB, free: 20.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2168, allocations: 0 / 402.7 MB, free: 20.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.2169, allocations: 3.938 kB / 402.7 MB, free: 20.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.104e-05/0.2169, allocations: 0 / 402.7 MB, free: 20.47 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.004281/0.2212, allocations: 3.157 MB / 405.9 MB, free: 17.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.2212, allocations: 8.031 kB / 405.9 MB, free: 17.24 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005652/0.2218, allocations: 325.2 kB / 406.2 MB, free: 16.92 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001991/0.2238, allocations: 1.596 MB / 407.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.825e-05/0.2239, allocations: 155.9 kB / 408 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002261/0.2241, allocations: 211.8 kB / 408.2 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00317/0.2273, allocations: 2.686 MB / 410.9 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.381e-05/0.2274, allocations: 11.88 kB / 410.9 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000149/0.2275, allocations: 83.98 kB / 410.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.829e-05/0.2276, allocations: 103.9 kB / 411 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002971/0.2306, allocations: 2.276 MB / 413.3 MB, free: 9.668 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009516/0.2401, allocations: 8.232 MB / 421.6 MB, free: 1.234 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00236/0.2425, allocations: 1.627 MB / 423.2 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001772/0.2443, allocations: 1.096 MB / 424.3 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002448/0.2445, allocations: 126.1 kB / 424.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.2446, allocations: 51.5 kB / 424.4 MB, free: 14.25 MB / 314.7 MB Notification: Performance of pre-optimization done (n=116): time 3.136e-06/0.2446, allocations: 0 / 424.4 MB, free: 14.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=132): time 0.01149/0.2561, allocations: 6.209 MB / 430.7 MB, free: 7.934 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.2561, allocations: 64.72 kB / 430.7 MB, free: 7.855 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002545/0.2587, allocations: 2.152 MB / 432.9 MB, free: 5.656 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.931e-05/0.2588, allocations: 53.7 kB / 432.9 MB, free: 5.598 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007107/0.2595, allocations: 1.104 MB / 434 MB, free: 4.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003114/0.2598, allocations: 461.3 kB / 434.5 MB, free: 4.023 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003854/0.2602, allocations: 239.5 kB / 434.7 MB, free: 3.781 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.2604, allocations: 361.9 kB / 435.1 MB, free: 3.422 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/0.2616, allocations: 0.7574 MB / 435.8 MB, free: 2.664 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/0.2629, allocations: 1.006 MB / 436.8 MB, free: 1.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002622/0.2655, allocations: 1.869 MB / 438.7 MB, free: 15.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.2656, allocations: 4 kB / 438.7 MB, free: 15.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004699/0.2703, allocations: 2.761 MB / 441.5 MB, free: 12.83 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.2703, allocations: 10.03 kB / 441.5 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.2703, allocations: 4 kB / 441.5 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001868/0.2722, allocations: 0.7888 MB / 442.3 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.2733, allocations: 271.6 kB / 442.5 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01036/0.2836, allocations: 8.747 MB / 451.3 MB, free: 2.742 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.285, allocations: 99.89 kB / 451.4 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/0.2852, allocations: 55.98 kB / 451.4 MB, free: 2.59 MB / 330.7 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.001251/0.2864, allocations: 0.7394 MB / 452.2 MB, free: 1.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003396/0.2868, allocations: 197.6 kB / 452.4 MB, free: 1.645 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004188/0.291, allocations: 2.492 MB / 454.9 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-05/0.291, allocations: 15.94 kB / 454.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.138e-06/0.291, allocations: 11.98 kB / 454.9 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.291, allocations: 7.984 kB / 454.9 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008085/0.2991, allocations: 4.94 MB / 459.8 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.2992, allocations: 8.156 kB / 459.8 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009313/0.3001, allocations: 219.6 kB / 460.1 MB, free: 9.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001596/0.3017, allocations: 0.6516 MB / 460.7 MB, free: 9.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.956e-05/0.3018, allocations: 31.98 kB / 460.7 MB, free: 9.148 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007814/0.3096, allocations: 7.918 MB / 468.7 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.3097, allocations: 4.031 kB / 468.7 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03738/0.347, allocations: 26.13 MB / 494.8 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009284/0.348, allocations: 438.6 kB / 495.2 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002723/0.3483, allocations: 35.92 kB / 495.3 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009838/0.3493, allocations: 83.84 kB / 495.3 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002816/0.3496, allocations: 112.8 kB / 495.4 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.61e-05/0.3497, allocations: 35.98 kB / 495.5 MB, free: 5.324 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002382/0.3521, allocations: 1.519 MB / 497 MB, free: 3.781 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3521, allocations: 0 / 497 MB, free: 3.781 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00225/0.3543, allocations: 0.7383 MB / 497.7 MB, free: 3.043 MB / 378.7 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.001018/0.3554, allocations: 459.9 kB / 498.2 MB, free: 2.613 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004189/0.3596, allocations: 2.369 MB / 0.4888 GB, free: 224 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3596, allocations: 4 kB / 0.4888 GB, free: 220 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00244/0.362, allocations: 1.605 MB / 0.4904 GB, free: 14.54 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001943/0.364, allocations: 417.1 kB / 0.4908 GB, free: 14.13 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009289/0.3733, allocations: 7.614 MB / 0.4982 GB, free: 6.402 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001658/0.375, allocations: 1.995 MB / 0.5002 GB, free: 4.371 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001188/0.3762, allocations: 407.7 kB / 0.5006 GB, free: 3.969 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004221/0.3766, allocations: 131.4 kB / 0.5007 GB, free: 3.844 MB / 394.7 MB Notification: Performance of SimCode: time 5.31e-07/0.3766, allocations: 0 / 0.5007 GB, free: 3.844 MB / 394.7 MB Notification: Performance of Templates: time 0.1716/0.5482, allocations: 35.84 MB / 0.5357 GB, free: 100.1 MB / 394.7 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@2/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