Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.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.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001129, 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.326/1.326, 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.001147/0.001147, allocations: 107.4 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009374/0.0009378, allocations: 43.94 kB / 350 MB, free: 60 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2671, allocations: 49.43 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01139/0.2786, allocations: 12.74 MB / 412.2 MB, free: 20.58 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009581/0.2882, allocations: 4.136 MB / 416.4 MB, free: 16.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003198/0.2915, allocations: 79.62 kB / 416.4 MB, free: 16.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003356/0.2949, allocations: 0.8586 MB / 417.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004524/0.2994, allocations: 1.072 MB / 418.4 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.3013, allocations: 467.6 kB / 418.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005356/0.3067, allocations: 5.368 MB / 424.2 MB, free: 8.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004243/0.311, allocations: 3.056 MB / 427.2 MB, free: 5.445 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004466/0.3154, allocations: 1.819 MB / 429.1 MB, free: 3.629 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004043/0.3195, allocations: 2.455 MB / 431.5 MB, free: 1.164 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001823/0.3213, allocations: 344 kB / 431.9 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002483/0.3238, allocations: 443.8 kB / 432.3 MB, free: 404 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002606/0.3265, allocations: 1.293 MB / 433.6 MB, free: 15.1 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0055/0.332, allocations: 2.231 MB / 435.8 MB, free: 12.86 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009393/0.3414, allocations: 7.154 MB / 443 MB, free: 5.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3414, allocations: 0 / 443 MB, free: 5.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3415, allocations: 0 / 443 MB, free: 5.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002321/0.3417, allocations: 0 / 443 MB, free: 5.68 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.01512/0.3568, allocations: 4.696 MB / 447.7 MB, free: 0.918 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.473e-05/0.3569, allocations: 12.03 kB / 447.7 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002767/0.3597, allocations: 0.4956 MB / 448.2 MB, free: 416 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006973/0.3667, allocations: 2.501 MB / 450.7 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002866/0.367, allocations: 267 kB / 450.9 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001001/0.3681, allocations: 351.9 kB / 451.3 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01202/0.3801, allocations: 5.026 MB / 456.3 MB, free: 8.156 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001586/0.3803, allocations: 11.94 kB / 456.3 MB, free: 8.145 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007839/0.3811, allocations: 140 kB / 456.5 MB, free: 8.008 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002068/0.3813, allocations: 187 kB / 456.6 MB, free: 7.824 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009375/0.3907, allocations: 4.294 MB / 460.9 MB, free: 3.523 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03283/0.4236, allocations: 14.9 MB / 475.8 MB, free: 4.293 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005974/0.4296, allocations: 4.191 MB / 480 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003696/0.4333, allocations: 1.983 MB / 482 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003777/0.4338, allocations: 147 kB / 482.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.426e-05/0.4339, allocations: 52.56 kB / 482.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=198): time 6.422e-06/0.4339, allocations: 0 / 482.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=218): time 0.02344/0.4573, allocations: 9.941 MB / 492.1 MB, free: 3.547 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.016e-05/0.4574, allocations: 77.39 kB / 492.2 MB, free: 3.461 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005376/0.4628, allocations: 2.502 MB / 494.7 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002382/0.4631, allocations: 65.7 kB / 494.8 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00141/0.4645, allocations: 1.615 MB / 496.4 MB, free: 15.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007932/0.4653, allocations: 0.7277 MB / 497.1 MB, free: 14.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008597/0.4662, allocations: 416.3 kB / 497.5 MB, free: 14.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.4663, allocations: 305.1 kB / 497.8 MB, free: 13.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002177/0.4685, allocations: 1.305 MB / 499.1 MB, free: 12.47 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002663/0.4712, allocations: 1.782 MB / 0.4892 GB, free: 10.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005007/0.4762, allocations: 3.212 MB / 0.4923 GB, free: 7.105 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-05/0.4762, allocations: 4 kB / 0.4923 GB, free: 7.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007994/0.4842, allocations: 4.071 MB / 0.4963 GB, free: 3.004 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.731e-05/0.4843, allocations: 12 kB / 0.4963 GB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-05/0.4844, allocations: 12 kB / 0.4963 GB, free: 2.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002915/0.4873, allocations: 0.8877 MB / 0.4972 GB, free: 2.078 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002081/0.4894, allocations: 0.5227 MB / 0.4977 GB, free: 1.555 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2334/0.7228, allocations: 8.724 MB / 0.5062 GB, free: 89.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/0.7249, allocations: 118 kB / 0.5063 GB, free: 89.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001891/0.7251, allocations: 86.84 kB / 0.5064 GB, free: 89.5 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.001811/0.7269, allocations: 1.22 MB / 0.5076 GB, free: 88.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006426/0.7276, allocations: 268.3 kB / 0.5079 GB, free: 88.92 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006347/0.7339, allocations: 3.719 MB / 0.5115 GB, free: 87.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.051e-05/0.734, allocations: 21.09 kB / 0.5115 GB, free: 87.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-05/0.734, allocations: 7.281 kB / 0.5115 GB, free: 87.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.107e-05/0.734, allocations: 11.67 kB / 0.5115 GB, free: 87.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01361/0.7476, allocations: 8.083 MB / 0.5194 GB, free: 83.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-05/0.7477, allocations: 4 kB / 0.5194 GB, free: 83.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001605/0.7493, allocations: 389.7 kB / 0.5198 GB, free: 82.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002907/0.7523, allocations: 0.9186 MB / 0.5207 GB, free: 81.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001884/0.7525, allocations: 59.97 kB / 0.5207 GB, free: 81.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008646/0.7611, allocations: 10.2 MB / 0.5307 GB, free: 71.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.7612, allocations: 0 / 0.5307 GB, free: 71.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05683/0.818, allocations: 38.48 MB / 0.5683 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002758/0.8208, allocations: 0.6266 MB / 0.5689 GB, free: 31.56 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001067/0.8219, allocations: 55.27 kB / 0.569 GB, free: 31.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002048/0.824, allocations: 116 kB / 0.5691 GB, free: 31.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005915/0.8246, allocations: 177.8 kB / 0.5692 GB, free: 31.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002162/0.8249, allocations: 59.98 kB / 0.5693 GB, free: 31.17 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003089/0.828, allocations: 1.734 MB / 0.571 GB, free: 29.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.828, allocations: 0 / 0.571 GB, free: 29.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004868/0.8328, allocations: 1.141 MB / 0.5721 GB, free: 28.28 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.0008494/0.8337, allocations: 237.8 kB / 0.5723 GB, free: 28.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005588/0.8393, allocations: 3.883 MB / 0.5761 GB, free: 24.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.8393, allocations: 0 / 0.5761 GB, free: 24.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003833/0.8432, allocations: 2.479 MB / 0.5785 GB, free: 21.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005489/0.8487, allocations: 0.7419 MB / 0.5793 GB, free: 20.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01854/0.8673, allocations: 11.71 MB / 0.5907 GB, free: 9.004 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003545/0.8708, allocations: 2.851 MB / 0.5935 GB, free: 6.125 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002958/0.8738, allocations: 0.714 MB / 0.5942 GB, free: 5.406 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/0.8749, allocations: 187.4 kB / 0.5944 GB, free: 5.227 MB / 378.7 MB Notification: Performance of SimCode: time 9.41e-07/0.875, allocations: 0 / 0.5944 GB, free: 5.227 MB / 378.7 MB Notification: Performance of Templates: time 0.124/0.9989, allocations: 54.81 MB / 0.6479 GB, free: 14.93 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches