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.001104/0.001105, allocations: 97.12 kB / 16.94 MB, free: 6.441 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.001201/0.0012, allocations: 187.5 kB / 17.83 MB, free: 6.008 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.862/1.862, allocations: 205.4 MB / 224 MB, free: 13.17 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.000528/0.0005282, allocations: 12 kB / 280.8 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1282, allocations: 47.58 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.009896/0.1381, allocations: 7.81 MB / 336.1 MB, free: 12.25 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006869/0.145, allocations: 3.335 MB / 339.5 MB, free: 8.91 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001389/0.1465, allocations: 35.81 kB / 339.5 MB, free: 8.875 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00183/0.1483, allocations: 0.5559 MB / 340.1 MB, free: 8.316 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002742/0.1511, allocations: 0.6932 MB / 340.8 MB, free: 7.621 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.1523, allocations: 319.4 kB / 341.1 MB, free: 7.309 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003702/0.156, allocations: 1.735 MB / 342.8 MB, free: 5.566 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001596/0.1576, allocations: 1.276 MB / 344.1 MB, free: 4.258 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001278/0.1589, allocations: 0.8484 MB / 344.9 MB, free: 3.406 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00143/0.1603, allocations: 1.105 MB / 346 MB, free: 2.297 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002666/0.1606, allocations: 132 kB / 346.2 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008522/0.1615, allocations: 331.6 kB / 346.5 MB, free: 1.844 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008731/0.1624, allocations: 0.7868 MB / 347.3 MB, free: 1.055 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007422/0.1631, allocations: 0.512 MB / 347.8 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003877/0.167, allocations: 3.35 MB / 351.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.167, allocations: 0 / 351.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.167, allocations: 0 / 351.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001147/0.1671, allocations: 0 / 351.1 MB, free: 13.18 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.006092/0.1732, allocations: 2.698 MB / 353.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.27e-05/0.1733, allocations: 12.03 kB / 353.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001747/0.1751, allocations: 324.3 kB / 354.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005026/0.1801, allocations: 1.557 MB / 355.7 MB, free: 8.469 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001794/0.1804, allocations: 156 kB / 355.9 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004697/0.1808, allocations: 199.9 kB / 356.1 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005137/0.186, allocations: 2.663 MB / 358.7 MB, free: 5.375 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.144e-05/0.1861, allocations: 4 kB / 358.7 MB, free: 5.371 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001827/0.1862, allocations: 87.94 kB / 358.8 MB, free: 5.285 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001178/0.1864, allocations: 91.94 kB / 358.9 MB, free: 5.195 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004325/0.1907, allocations: 2.272 MB / 361.2 MB, free: 2.922 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01445/0.2052, allocations: 8.201 MB / 369.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002844/0.2081, allocations: 1.589 MB / 371 MB, free: 8.867 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003017/0.2084, allocations: 122.1 kB / 371.1 MB, free: 8.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.224e-05/0.2085, allocations: 55.48 kB / 371.2 MB, free: 8.668 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 4.168e-06/0.2085, allocations: 0 / 371.2 MB, free: 8.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.01425/0.2228, allocations: 6.453 MB / 377.6 MB, free: 2.074 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.253e-05/0.2229, allocations: 64.72 kB / 377.7 MB, free: 2 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2698/0.4927, allocations: 2.1 MB / 379.8 MB, free: 49.71 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004721/0.4932, allocations: 47.33 kB / 379.8 MB, free: 49.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001355/0.4946, allocations: 1.1 MB / 380.9 MB, free: 49.52 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007394/0.4954, allocations: 457.2 kB / 381.4 MB, free: 49.29 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.4955, allocations: 30.03 kB / 381.4 MB, free: 49.29 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.4957, allocations: 358.5 kB / 381.7 MB, free: 48.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001878/0.4976, allocations: 0.7599 MB / 382.5 MB, free: 48.92 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00189/0.4995, allocations: 1.008 MB / 383.5 MB, free: 48.38 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.501, allocations: 0.8893 MB / 384.4 MB, free: 48.04 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.5011, allocations: 7.469 kB / 384.4 MB, free: 48.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.006521/0.5076, allocations: 2.778 MB / 387.2 MB, free: 47.03 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.568e-05/0.5077, allocations: 7.891 kB / 387.2 MB, free: 47.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.265e-05/0.5077, allocations: 7.562 kB / 387.2 MB, free: 47.03 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002451/0.5102, allocations: 0.8143 MB / 388 MB, free: 46.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.5115, allocations: 268.9 kB / 388.3 MB, free: 46.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01265/0.5242, allocations: 9.286 MB / 397.6 MB, free: 41.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/0.526, allocations: 97.03 kB / 397.7 MB, free: 41.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/0.5261, allocations: 57 kB / 397.7 MB, free: 41.45 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (124): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(6,88.9%) 36} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001454/0.5276, allocations: 0.7399 MB / 398.5 MB, free: 41.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004349/0.528, allocations: 200.2 kB / 398.6 MB, free: 40.97 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004102/0.5322, allocations: 2.51 MB / 401.2 MB, free: 39.79 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.892e-05/0.5322, allocations: 15.28 kB / 401.2 MB, free: 39.79 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.5322, allocations: 3.844 kB / 401.2 MB, free: 39.79 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/0.5322, allocations: 4.734 kB / 401.2 MB, free: 39.78 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008126/0.5404, allocations: 4.9 MB / 406.1 MB, free: 36.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.016e-06/0.5404, allocations: 4.031 kB / 406.1 MB, free: 36.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009077/0.5413, allocations: 215.7 kB / 406.3 MB, free: 36.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001653/0.543, allocations: 0.6713 MB / 407 MB, free: 35.48 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/0.5431, allocations: 31.98 kB / 407 MB, free: 35.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007417/0.5506, allocations: 8.327 MB / 415.3 MB, free: 26.75 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.5506, allocations: 7.984 kB / 415.3 MB, free: 26.74 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005606/0.5562, allocations: 3.628 MB / 419 MB, free: 23.02 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/0.5575, allocations: 438.5 kB / 419.4 MB, free: 22.57 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002909/0.5578, allocations: 29.36 kB / 419.4 MB, free: 22.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009405/0.5588, allocations: 98.05 kB / 419.5 MB, free: 22.45 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003558/0.5591, allocations: 100.8 kB / 419.6 MB, free: 22.35 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.659e-05/0.5592, allocations: 35.98 kB / 419.6 MB, free: 22.32 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001991/0.5612, allocations: 1.476 MB / 421.1 MB, free: 20.82 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5612, allocations: 0 / 421.1 MB, free: 20.82 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002301/0.5636, allocations: 0.5247 MB / 421.7 MB, free: 20.3 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 (94): * Single equations (assignments): 88 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 6,(2,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001145/0.5647, allocations: 426.5 kB / 422.1 MB, free: 19.91 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004373/0.5691, allocations: 2.411 MB / 424.5 MB, free: 17.47 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/0.5692, allocations: 0 / 424.5 MB, free: 17.47 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002734/0.5719, allocations: 1.637 MB / 426.1 MB, free: 15.78 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002887/0.5748, allocations: 418.3 kB / 426.5 MB, free: 15.36 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009682/0.5845, allocations: 6.01 MB / 432.5 MB, free: 9.312 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001478/0.5861, allocations: 2.002 MB / 434.5 MB, free: 7.273 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001492/0.5876, allocations: 388.5 kB / 434.9 MB, free: 6.891 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000344/0.5879, allocations: 127.4 kB / 435 MB, free: 6.766 MB / 318.1 MB Notification: Performance of SimCode: time 8.72e-07/0.588, allocations: 0 / 435 MB, free: 6.766 MB / 318.1 MB Notification: Performance of Templates: time 0.06512/0.6531, allocations: 26.97 MB / 462 MB, free: 11.76 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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