Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 184.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 102.2 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008472/0.0008472, allocations: 43.94 kB / 350 MB, free: 56 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2348, allocations: 49.43 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01009/0.2449, allocations: 12.76 MB / 412.2 MB, free: 20.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006041/0.251, allocations: 4.14 MB / 416.4 MB, free: 16.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001546/0.2526, allocations: 75.62 kB / 416.5 MB, free: 16.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001755/0.2544, allocations: 0.8547 MB / 417.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00225/0.2566, allocations: 1.076 MB / 418.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007504/0.2574, allocations: 467.6 kB / 418.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003464/0.2609, allocations: 5.371 MB / 424.2 MB, free: 8.539 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002611/0.2635, allocations: 3.056 MB / 427.3 MB, free: 5.414 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0039/0.2674, allocations: 1.82 MB / 429.1 MB, free: 3.598 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00417/0.2716, allocations: 2.459 MB / 431.5 MB, free: 1.129 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008813/0.2725, allocations: 340 kB / 431.9 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001408/0.2739, allocations: 447.8 kB / 432.3 MB, free: 368 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001178/0.2751, allocations: 1.289 MB / 433.6 MB, free: 15.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003032/0.2781, allocations: 2.231 MB / 435.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006376/0.2845, allocations: 7.154 MB / 443 MB, free: 5.648 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2846, allocations: 0 / 443 MB, free: 5.648 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2846, allocations: 0 / 443 MB, free: 5.648 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001514/0.2847, allocations: 0 / 443 MB, free: 5.648 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.009268/0.294, allocations: 4.691 MB / 447.7 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.2941, allocations: 8.031 kB / 447.7 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.2952, allocations: 0.5033 MB / 448.2 MB, free: 384 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004224/0.2994, allocations: 2.493 MB / 450.7 MB, free: 13.83 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001706/0.2996, allocations: 270.9 kB / 451 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004738/0.3001, allocations: 359.9 kB / 451.3 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00743/0.3075, allocations: 5.021 MB / 456.3 MB, free: 8.125 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.958e-05/0.3076, allocations: 7.938 kB / 456.3 MB, free: 8.117 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002987/0.3079, allocations: 148 kB / 456.5 MB, free: 7.973 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001588/0.3081, allocations: 179.1 kB / 456.7 MB, free: 7.797 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006553/0.3147, allocations: 4.298 MB / 460.9 MB, free: 3.492 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02213/0.3368, allocations: 14.9 MB / 475.8 MB, free: 4.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004076/0.3409, allocations: 4.195 MB / 480 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002933/0.3439, allocations: 1.991 MB / 482 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002743/0.3442, allocations: 139.1 kB / 482.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/0.3442, allocations: 56.56 kB / 482.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=198): time 3.286e-06/0.3442, allocations: 0 / 482.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=218): time 0.01823/0.3625, allocations: 9.949 MB / 492.2 MB, free: 3.508 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.3625, allocations: 73.41 kB / 492.2 MB, free: 3.426 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003504/0.366, allocations: 2.502 MB / 494.7 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000219/0.3663, allocations: 61.7 kB / 494.8 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001077/0.3674, allocations: 1.623 MB / 496.4 MB, free: 15.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007116/0.3681, allocations: 0.7316 MB / 497.2 MB, free: 14.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007008/0.3688, allocations: 412.4 kB / 497.6 MB, free: 14.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3689, allocations: 301.1 kB / 497.9 MB, free: 13.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001952/0.3709, allocations: 1.301 MB / 499.2 MB, free: 12.44 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00221/0.3731, allocations: 1.782 MB / 0.4892 GB, free: 10.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00409/0.3772, allocations: 3.204 MB / 0.4923 GB, free: 7.082 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.3772, allocations: 4 kB / 0.4923 GB, free: 7.078 MB / 378.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006625/0.3839, allocations: 4.075 MB / 0.4963 GB, free: 2.977 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.3839, allocations: 8 kB / 0.4963 GB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.482e-05/0.3839, allocations: 16 kB / 0.4963 GB, free: 2.953 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002645/0.3866, allocations: 0.885 MB / 0.4972 GB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002083/0.3887, allocations: 0.5305 MB / 0.4977 GB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1883/0.577, allocations: 8.722 MB / 0.5062 GB, free: 90.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/0.579, allocations: 118.1 kB / 0.5063 GB, free: 90.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/0.5792, allocations: 88.33 kB / 0.5064 GB, free: 90.26 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[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 (252): * Single equations (assignments): 247 * 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 {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001795/0.581, allocations: 1.213 MB / 0.5076 GB, free: 89.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005165/0.5815, allocations: 276 kB / 0.5079 GB, free: 89.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005877/0.5874, allocations: 3.724 MB / 0.5115 GB, free: 88.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.072e-05/0.5875, allocations: 20.91 kB / 0.5115 GB, free: 88.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/0.5875, allocations: 9.922 kB / 0.5115 GB, free: 88.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/0.5875, allocations: 11.25 kB / 0.5116 GB, free: 88.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/0.5986, allocations: 8.082 MB / 0.5194 GB, free: 84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.5986, allocations: 5.312 kB / 0.5195 GB, free: 84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/0.6001, allocations: 386.6 kB / 0.5198 GB, free: 83.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002631/0.6027, allocations: 0.9201 MB / 0.5207 GB, free: 82.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001329/0.6029, allocations: 59.97 kB / 0.5208 GB, free: 82.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008079/0.611, allocations: 10.2 MB / 0.5307 GB, free: 72.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.611, allocations: 4 kB / 0.5307 GB, free: 72.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04895/0.66, allocations: 38.47 MB / 0.5683 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/0.6612, allocations: 0.6265 MB / 0.5689 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002933/0.6615, allocations: 51.98 kB / 0.569 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/0.6627, allocations: 116 kB / 0.5691 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004122/0.6631, allocations: 181.8 kB / 0.5693 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001298/0.6633, allocations: 55.98 kB / 0.5693 GB, free: 31.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001968/0.6652, allocations: 1.734 MB / 0.571 GB, free: 30.22 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6653, allocations: 0 / 0.571 GB, free: 30.22 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00293/0.6682, allocations: 1.145 MB / 0.5721 GB, free: 29.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * 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 {(3,25,88.9%), (2,12,100.0%), (1,1,100.0%), (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.0004999/0.6687, allocations: 237.4 kB / 0.5723 GB, free: 28.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00484/0.6736, allocations: 3.876 MB / 0.5761 GB, free: 24.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.6736, allocations: 3.469 kB / 0.5761 GB, free: 24.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003048/0.6766, allocations: 2.477 MB / 0.5786 GB, free: 22.35 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003509/0.6802, allocations: 0.7392 MB / 0.5793 GB, free: 21.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01361/0.6938, allocations: 11.71 MB / 0.5907 GB, free: 9.797 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002341/0.6962, allocations: 2.849 MB / 0.5935 GB, free: 6.918 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00271/0.6989, allocations: 0.7178 MB / 0.5942 GB, free: 6.195 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006869/0.6996, allocations: 191.4 kB / 0.5944 GB, free: 6.012 MB / 378.7 MB Notification: Performance of SimCode: time 7.21e-07/0.6996, allocations: 0 / 0.5944 GB, free: 6.012 MB / 378.7 MB Notification: Performance of Templates: time 0.0896/0.7892, allocations: 54.81 MB / 0.6479 GB, free: 15.71 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches