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/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 4.0.0+maint.om/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 108.5 kB / 17.74 MB, free: 5.34 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.001122/0.001123, allocations: 186.9 kB / 18.67 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009296/0.0009296, allocations: 51.92 kB / 352 MB, free: 3.188 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2341, allocations: 49.43 MB / 401.5 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01348/0.2476, allocations: 12.88 MB / 414.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007937/0.2556, allocations: 4.179 MB / 418.5 MB, free: 7.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001719/0.2574, allocations: 83.62 kB / 418.6 MB, free: 7.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002388/0.2598, allocations: 0.9665 MB / 419.6 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003315/0.2631, allocations: 1.177 MB / 420.7 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.2643, allocations: 0.511 MB / 421.2 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005355/0.2697, allocations: 4.63 MB / 425.9 MB, free: 320 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004197/0.2739, allocations: 3.694 MB / 429.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003642/0.2776, allocations: 2.146 MB / 431.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004194/0.2818, allocations: 2.553 MB / 434.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001128/0.2829, allocations: 0.5547 MB / 434.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001489/0.2844, allocations: 0.6443 MB / 435.5 MB, free: 6.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001467/0.2859, allocations: 1.515 MB / 437 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003616/0.2896, allocations: 2.485 MB / 439.5 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008161/0.2977, allocations: 7.415 MB / 446.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.377e-05/0.2978, allocations: 0 / 446.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2978, allocations: 4 kB / 446.9 MB, free: 11.19 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002439/0.2981, allocations: 0 / 446.9 MB, free: 11.19 MB / 366.1 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.01138/0.3095, allocations: 4.695 MB / 451.6 MB, free: 6.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.3095, allocations: 8.031 kB / 451.6 MB, free: 6.422 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001908/0.3115, allocations: 0.4956 MB / 452.1 MB, free: 5.922 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00486/0.3163, allocations: 2.575 MB / 454.7 MB, free: 3.297 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001929/0.3165, allocations: 271 kB / 454.9 MB, free: 3.031 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000659/0.3172, allocations: 343.9 kB / 455.3 MB, free: 2.695 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009937/0.3272, allocations: 5.029 MB / 460.3 MB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001371/0.3273, allocations: 7.844 kB / 460.3 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007692/0.3281, allocations: 148 kB / 460.4 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002634/0.3284, allocations: 183 kB / 460.6 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009379/0.3378, allocations: 4.294 MB / 464.9 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02665/0.3645, allocations: 14.72 MB / 479.6 MB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004821/0.3694, allocations: 4.191 MB / 483.8 MB, free: 5.426 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003501/0.3729, allocations: 1.991 MB / 485.8 MB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003018/0.3733, allocations: 131.1 kB / 485.9 MB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.984e-05/0.3733, allocations: 56.55 kB / 486 MB, free: 3.223 MB / 398.1 MB Notification: Performance of pre-optimization done (n=198): time 5.55e-06/0.3733, allocations: 0 / 486 MB, free: 3.223 MB / 398.1 MB Notification: Performance of matching and sorting (n=218): time 0.02157/0.3949, allocations: 9.963 MB / 496 MB, free: 9.152 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.395, allocations: 77.41 kB / 496 MB, free: 9.062 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00447/0.3995, allocations: 2.506 MB / 498.5 MB, free: 6.535 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002257/0.3997, allocations: 61.7 kB / 498.6 MB, free: 6.469 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001262/0.401, allocations: 1.619 MB / 0.4885 GB, free: 4.828 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006821/0.4017, allocations: 0.7277 MB / 0.4892 GB, free: 4.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007226/0.4024, allocations: 424.2 kB / 0.4896 GB, free: 3.668 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.4025, allocations: 309.1 kB / 0.4899 GB, free: 3.363 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00221/0.4048, allocations: 1.297 MB / 0.4912 GB, free: 2.062 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002422/0.4072, allocations: 1.775 MB / 0.4929 GB, free: 100 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004603/0.4118, allocations: 3.219 MB / 0.4961 GB, free: 12.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.4119, allocations: 4 kB / 0.4961 GB, free: 12.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007255/0.4191, allocations: 4.067 MB / 0.5 GB, free: 8.602 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/0.4192, allocations: 15.98 kB / 0.5 GB, free: 8.586 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.588e-05/0.4192, allocations: 12 kB / 0.5001 GB, free: 8.574 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002854/0.4221, allocations: 0.8782 MB / 0.5009 GB, free: 7.684 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002128/0.4242, allocations: 0.5266 MB / 0.5014 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01082/0.4351, allocations: 9.483 MB / 0.5107 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002046/0.4371, allocations: 115.9 kB / 0.5108 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000256/0.4374, allocations: 88 kB / 0.5109 GB, free: 13.06 MB / 446.1 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.002155/0.4396, allocations: 1.208 MB / 0.5121 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007399/0.4403, allocations: 288.6 kB / 0.5123 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006756/0.4471, allocations: 3.707 MB / 0.516 GB, free: 7.816 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-05/0.4471, allocations: 24 kB / 0.516 GB, free: 7.793 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.4471, allocations: 4 kB / 0.516 GB, free: 7.789 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.097e-05/0.4472, allocations: 11.97 kB / 0.516 GB, free: 7.777 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01354/0.4607, allocations: 8.009 MB / 0.5238 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/0.4608, allocations: 4 kB / 0.5238 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001677/0.4624, allocations: 379.8 kB / 0.5242 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003114/0.4656, allocations: 0.937 MB / 0.5251 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001548/0.4657, allocations: 55.97 kB / 0.5252 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0118/0.4776, allocations: 11.09 MB / 0.536 GB, free: 2.617 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.4776, allocations: 11.92 kB / 0.536 GB, free: 2.605 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2174/0.695, allocations: 5.503 MB / 0.5414 GB, free: 128.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001464/0.6965, allocations: 0.6356 MB / 0.542 GB, free: 128.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004753/0.697, allocations: 47.62 kB / 0.542 GB, free: 128.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/0.6984, allocations: 117.7 kB / 0.5422 GB, free: 128.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004396/0.6988, allocations: 184.6 kB / 0.5423 GB, free: 128.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001494/0.699, allocations: 55.23 kB / 0.5424 GB, free: 128.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002157/0.7012, allocations: 1.731 MB / 0.5441 GB, free: 128.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7012, allocations: 0 / 0.5441 GB, free: 128.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002087/0.7033, allocations: 0.7939 MB / 0.5448 GB, free: 128 MB / 462.1 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.0005349/0.7038, allocations: 246.4 kB / 0.5451 GB, free: 127.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005063/0.7089, allocations: 3.895 MB / 0.5489 GB, free: 126.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.7089, allocations: 0 / 0.5489 GB, free: 126.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003117/0.7121, allocations: 2.479 MB / 0.5513 GB, free: 125 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003362/0.7154, allocations: 0.78 MB / 0.5521 GB, free: 124.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.7261, allocations: 7.736 MB / 0.5596 GB, free: 119.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001869/0.728, allocations: 2.719 MB / 0.5623 GB, free: 117.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008559/0.7288, allocations: 195.4 kB / 0.5625 GB, free: 117.3 MB / 462.1 MB Notification: Performance of SimCode: time 6.21e-07/0.7289, allocations: 0 / 0.5625 GB, free: 117.3 MB / 462.1 MB Notification: Performance of Templates: time 0.1164/0.8452, allocations: 142 MB / 0.7011 GB, free: 7.301 MB / 494.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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