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.001251/0.001251, allocations: 91.8 kB / 17.31 MB, free: 6.535 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.001324/0.001324, allocations: 175.3 kB / 18.21 MB, free: 5.68 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.113/1.113, allocations: 223.3 MB / 242.3 MB, free: 14.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002101/0.0002101, allocations: 11.94 kB / 302.1 MB, free: 5.91 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07316/0.07339, allocations: 50.4 MB / 352.5 MB, free: 3.492 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01055/0.08395, allocations: 12.17 MB / 364.7 MB, free: 7.266 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006037/0.09, allocations: 4.105 MB / 368.8 MB, free: 3.148 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001336/0.09135, allocations: 71.69 kB / 368.8 MB, free: 3.078 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001603/0.09296, allocations: 0.847 MB / 369.7 MB, free: 2.227 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002021/0.09499, allocations: 1.076 MB / 370.8 MB, free: 1.145 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007216/0.09573, allocations: 455.6 kB / 371.2 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1226/0.2183, allocations: 5.311 MB / 376.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003596/0.222, allocations: 3.03 MB / 379.5 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0032/0.2252, allocations: 1.595 MB / 381.1 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003251/0.2284, allocations: 2.172 MB / 383.3 MB, free: 9.281 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009314/0.2294, allocations: 241.6 kB / 383.5 MB, free: 9.281 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001591/0.231, allocations: 348.8 kB / 383.9 MB, free: 9.281 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001327/0.2323, allocations: 1.138 MB / 385 MB, free: 9.117 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002153/0.2345, allocations: 2.081 MB / 387.1 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003368/0.2379, allocations: 5.998 MB / 393.1 MB, free: 5.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.2379, allocations: 0 / 393.1 MB, free: 5.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2379, allocations: 0 / 393.1 MB, free: 5.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.902e-05/0.2379, allocations: 0 / 393.1 MB, free: 5.23 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.005428/0.2434, allocations: 3.964 MB / 397.1 MB, free: 2.652 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.2434, allocations: 13.84 kB / 397.1 MB, free: 2.648 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009339/0.2443, allocations: 0.4911 MB / 397.6 MB, free: 2.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002637/0.247, allocations: 2.495 MB / 400.1 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.2471, allocations: 263.7 kB / 400.3 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004012/0.2475, allocations: 357.7 kB / 400.7 MB, free: 472 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00686/0.2544, allocations: 5.041 MB / 405.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-05/0.2545, allocations: 15.84 kB / 405.7 MB, free: 11.35 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003061/0.2548, allocations: 143.2 kB / 405.9 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001559/0.2549, allocations: 187 kB / 406 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006051/0.261, allocations: 4.314 MB / 410.4 MB, free: 6.707 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01887/0.2799, allocations: 14.99 MB / 425.4 MB, free: 7.516 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004073/0.284, allocations: 4.202 MB / 429.6 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002828/0.2868, allocations: 2.002 MB / 431.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002318/0.2871, allocations: 133.6 kB / 431.7 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.2871, allocations: 56.56 kB / 431.7 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of pre-optimization done (n=198): time 3.236e-06/0.2871, allocations: 0 / 431.7 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of matching and sorting (n=218): time 0.01736/0.3045, allocations: 10.07 MB / 441.8 MB, free: 6.625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.3045, allocations: 73.41 kB / 441.9 MB, free: 6.543 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002983/0.3075, allocations: 2.506 MB / 444.4 MB, free: 4.016 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001418/0.3077, allocations: 65.64 kB / 444.5 MB, free: 3.945 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001005/0.3087, allocations: 1.614 MB / 446.1 MB, free: 2.316 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000487/0.3092, allocations: 0.7348 MB / 446.8 MB, free: 1.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/0.3094, allocations: 190.3 kB / 447 MB, free: 1.398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.061e-05/0.3095, allocations: 309.1 kB / 447.3 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001786/0.3113, allocations: 1.308 MB / 448.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002088/0.3134, allocations: 1.794 MB / 450.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00398/0.3174, allocations: 3.229 MB / 453.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.3174, allocations: 4 kB / 453.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.005844/0.3233, allocations: 4.099 MB / 457.7 MB, free: 6.266 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.3233, allocations: 16 kB / 457.7 MB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.3233, allocations: 12 kB / 457.8 MB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002527/0.3258, allocations: 0.8872 MB / 458.6 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/0.3277, allocations: 0.5266 MB / 459.2 MB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008569/0.3363, allocations: 8.758 MB / 467.9 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.3377, allocations: 123.8 kB / 468.1 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/0.3379, allocations: 91.98 kB / 468.1 MB, free: 11.45 MB / 382.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.00171/0.3396, allocations: 1.21 MB / 469.4 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003756/0.34, allocations: 276.7 kB / 469.6 MB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005553/0.3455, allocations: 3.746 MB / 473.4 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.3456, allocations: 27.94 kB / 473.4 MB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.3456, allocations: 8 kB / 473.4 MB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.649e-05/0.3456, allocations: 11.95 kB / 473.4 MB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.011/0.3566, allocations: 8.098 MB / 481.5 MB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.3566, allocations: 11.94 kB / 481.5 MB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001458/0.3581, allocations: 391.6 kB / 481.9 MB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002836/0.3609, allocations: 0.9307 MB / 482.8 MB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/0.3611, allocations: 51.98 kB / 482.9 MB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00957/0.3706, allocations: 10.22 MB / 493.1 MB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.3707, allocations: 4 kB / 493.1 MB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007443/0.3781, allocations: 5.544 MB / 498.7 MB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/0.3791, allocations: 0.6304 MB / 499.3 MB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000359/0.3795, allocations: 55.92 kB / 499.3 MB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/0.3808, allocations: 127.9 kB / 499.5 MB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003253/0.3811, allocations: 181.7 kB / 499.6 MB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/0.3812, allocations: 59.98 kB / 499.7 MB, free: 11.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002228/0.3835, allocations: 1.731 MB / 0.4897 GB, free: 9.395 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3835, allocations: 0 / 0.4897 GB, free: 9.395 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001985/0.3855, allocations: 0.8007 MB / 0.4905 GB, free: 8.594 MB / 414.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.0004584/0.3859, allocations: 238.4 kB / 0.4907 GB, free: 8.355 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005084/0.391, allocations: 3.904 MB / 0.4945 GB, free: 4.371 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.391, allocations: 0.875 kB / 0.4945 GB, free: 4.371 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003307/0.3943, allocations: 2.502 MB / 0.497 GB, free: 1.797 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003428/0.3978, allocations: 0.7423 MB / 0.4977 GB, free: 1.062 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/0.4093, allocations: 9.531 MB / 0.507 GB, free: 7.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002316/0.4116, allocations: 2.723 MB / 0.5096 GB, free: 4.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006152/0.4122, allocations: 187.4 kB / 0.5098 GB, free: 4.547 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4122, allocations: 0 / 0.5098 GB, free: 4.547 MB / 430.1 MB Notification: Performance of Templates: time 0.2341/0.6463, allocations: 141.1 MB / 0.6476 GB, free: 43.85 MB / 446.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