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.001254/0.001254, allocations: 93.25 kB / 17.3 MB, free: 6.391 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.001431/0.001431, allocations: 172.9 kB / 18.2 MB, free: 5.551 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.769/1.769, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004609/0.0004609, allocations: 12 kB / 281.4 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09645/0.09692, allocations: 47.58 MB / 329 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.01023/0.1072, allocations: 9.023 MB / 338 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00675/0.114, allocations: 3.422 MB / 341.4 MB, free: 7.246 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00092/0.115, allocations: 35.81 kB / 341.5 MB, free: 7.211 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001551/0.1165, allocations: 0.575 MB / 342 MB, free: 6.633 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002003/0.1186, allocations: 0.7461 MB / 342.8 MB, free: 5.883 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009001/0.1195, allocations: 407.5 kB / 343.2 MB, free: 5.484 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002807/0.1223, allocations: 3.048 MB / 346.2 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001611/0.1239, allocations: 1.481 MB / 347.7 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.125, allocations: 0.9141 MB / 348.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001611/0.1267, allocations: 1.362 MB / 350 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002338/0.1269, allocations: 140 kB / 350.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008133/0.1277, allocations: 411.5 kB / 350.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007148/0.1285, allocations: 0.7864 MB / 351.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001138/0.1296, allocations: 1.291 MB / 352.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00323/0.1329, allocations: 4.029 MB / 356.6 MB, free: 7.938 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1329, allocations: 0 / 356.6 MB, free: 7.938 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1329, allocations: 3.938 kB / 356.6 MB, free: 7.934 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.539e-05/0.1329, allocations: 0 / 356.6 MB, free: 7.934 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.004963/0.1379, allocations: 2.679 MB / 359.3 MB, free: 5.188 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.3e-05/0.138, allocations: 12.03 kB / 359.3 MB, free: 5.176 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008708/0.1389, allocations: 325.2 kB / 359.6 MB, free: 4.855 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002475/0.1414, allocations: 1.603 MB / 361.2 MB, free: 3.199 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.1415, allocations: 163.9 kB / 361.4 MB, free: 3.035 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003158/0.1418, allocations: 199.9 kB / 361.6 MB, free: 2.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004707/0.1465, allocations: 2.71 MB / 364.3 MB, free: 52 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.599e-05/0.1466, allocations: 4 kB / 364.3 MB, free: 48 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002135/0.1468, allocations: 84.03 kB / 364.4 MB, free: 15.96 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001159/0.1469, allocations: 95.88 kB / 364.5 MB, free: 15.87 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00404/0.151, allocations: 2.303 MB / 366.8 MB, free: 13.57 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01351/0.1645, allocations: 8.275 MB / 375.1 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002956/0.1675, allocations: 1.643 MB / 376.7 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001934/0.1695, allocations: 1.101 MB / 377.8 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002514/0.1697, allocations: 122.1 kB / 377.9 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.1698, allocations: 55.44 kB / 378 MB, free: 2.078 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 3.496e-06/0.1698, allocations: 0 / 378 MB, free: 2.078 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.2396/0.4094, allocations: 6.267 MB / 384.2 MB, free: 49.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.91e-05/0.4096, allocations: 72.12 kB / 384.3 MB, free: 49.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005184/0.4148, allocations: 2.16 MB / 386.5 MB, free: 49.04 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002627/0.4151, allocations: 47 kB / 386.5 MB, free: 48.99 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001113/0.4162, allocations: 1.108 MB / 387.6 MB, free: 48.14 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004626/0.4167, allocations: 452.1 kB / 388.1 MB, free: 47.8 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002274/0.4169, allocations: 113 kB / 388.2 MB, free: 47.74 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.4171, allocations: 360.5 kB / 388.5 MB, free: 47.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001687/0.4187, allocations: 0.774 MB / 389.3 MB, free: 47.15 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001873/0.4206, allocations: 1.029 MB / 390.3 MB, free: 46.62 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003543/0.4242, allocations: 1.885 MB / 392.2 MB, free: 45.7 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/0.4242, allocations: 3.969 kB / 392.2 MB, free: 45.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006059/0.4303, allocations: 2.792 MB / 395 MB, free: 44.65 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/0.4303, allocations: 8.25 kB / 395 MB, free: 44.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.77e-05/0.4304, allocations: 6.875 kB / 395 MB, free: 44.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002062/0.4324, allocations: 0.7942 MB / 395.8 MB, free: 44.44 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.4335, allocations: 273 kB / 396.1 MB, free: 44.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009835/0.4434, allocations: 8.752 MB / 404.8 MB, free: 38.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/0.4452, allocations: 100.9 kB / 404.9 MB, free: 38.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/0.4454, allocations: 55.98 kB / 405 MB, free: 38.12 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.001635/0.447, allocations: 0.7403 MB / 405.7 MB, free: 37.37 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004596/0.4475, allocations: 201.5 kB / 405.9 MB, free: 37.17 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004087/0.4516, allocations: 2.524 MB / 408.5 MB, free: 34.63 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.68e-05/0.4516, allocations: 19.23 kB / 408.5 MB, free: 34.62 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.996e-06/0.4517, allocations: 4 kB / 408.5 MB, free: 34.61 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.4517, allocations: 11.91 kB / 408.5 MB, free: 34.6 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007935/0.4596, allocations: 4.969 MB / 413.5 MB, free: 29.58 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.4597, allocations: 4 kB / 413.5 MB, free: 29.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009358/0.4606, allocations: 231.7 kB / 413.7 MB, free: 29.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001576/0.4622, allocations: 0.6498 MB / 414.3 MB, free: 28.69 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/0.4623, allocations: 39.97 kB / 414.4 MB, free: 28.65 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007289/0.4696, allocations: 7.917 MB / 422.3 MB, free: 20.36 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.227e-06/0.4697, allocations: 6.453 kB / 422.3 MB, free: 20.36 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005931/0.4756, allocations: 3.566 MB / 425.9 MB, free: 16.74 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/0.477, allocations: 446.4 kB / 426.3 MB, free: 16.29 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002436/0.4772, allocations: 27.98 kB / 426.3 MB, free: 16.26 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009575/0.4782, allocations: 97.66 kB / 426.4 MB, free: 16.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003509/0.4786, allocations: 108.7 kB / 426.5 MB, free: 16.06 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.311e-05/0.4787, allocations: 39.97 kB / 426.6 MB, free: 16.02 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001931/0.4806, allocations: 1.515 MB / 428.1 MB, free: 14.48 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4806, allocations: 0 / 428.1 MB, free: 14.48 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002222/0.4828, allocations: 0.5285 MB / 428.6 MB, free: 13.96 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.0013/0.4842, allocations: 474.3 kB / 429.1 MB, free: 13.53 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004382/0.4886, allocations: 2.401 MB / 431.5 MB, free: 11.11 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.4886, allocations: 1.25 kB / 431.5 MB, free: 11.11 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002272/0.4909, allocations: 1.616 MB / 433.1 MB, free: 9.438 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002936/0.4938, allocations: 422.4 kB / 433.5 MB, free: 9.02 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009287/0.5031, allocations: 6.274 MB / 439.8 MB, free: 2.703 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001863/0.5051, allocations: 1.955 MB / 441.7 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001873/0.5069, allocations: 383.7 kB / 442.1 MB, free: 344 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003815/0.5073, allocations: 127.4 kB / 442.2 MB, free: 216 kB / 318.1 MB Notification: Performance of SimCode: time 1.242e-06/0.5074, allocations: 0 / 442.2 MB, free: 216 kB / 318.1 MB Notification: Performance of Templates: time 0.05633/0.5637, allocations: 28.4 MB / 470.6 MB, free: 3.766 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