Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001089/0.001089, allocations: 122.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001234/0.001234, allocations: 205.2 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 56.09 kB / 358.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2937, allocations: 50.54 MB / 409.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01388/0.3076, allocations: 12.93 MB / 422.2 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008052/0.3157, allocations: 4.253 MB / 426.5 MB, free: 348 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001836/0.3176, allocations: 83.62 kB / 426.6 MB, free: 264 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002118/0.3197, allocations: 0.9678 MB / 427.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003051/0.3228, allocations: 1.176 MB / 428.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.3242, allocations: 0.5267 MB / 429.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004916/0.3291, allocations: 4.649 MB / 433.9 MB, free: 8.906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003696/0.3328, allocations: 3.697 MB / 437.6 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0034/0.3362, allocations: 2.136 MB / 439.7 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002987/0.3392, allocations: 2.569 MB / 442.3 MB, free: 444 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007093/0.34, allocations: 0.5508 MB / 442.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.3411, allocations: 0.6521 MB / 443.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001307/0.3424, allocations: 1.516 MB / 445 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002481/0.3449, allocations: 2.489 MB / 447.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00643/0.3513, allocations: 7.442 MB / 454.9 MB, free: 3.746 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3514, allocations: 0 / 454.9 MB, free: 3.746 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3514, allocations: 0 / 454.9 MB, free: 3.746 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001131/0.3515, allocations: 0 / 454.9 MB, free: 3.746 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.0091/0.3606, allocations: 4.714 MB / 459.6 MB, free: 14.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3607, allocations: 8.031 kB / 459.6 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00156/0.3622, allocations: 0.5268 MB / 460.2 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004546/0.3668, allocations: 2.598 MB / 462.8 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/0.367, allocations: 263 kB / 463 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005036/0.3675, allocations: 355.9 kB / 463.4 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007821/0.3753, allocations: 5.029 MB / 468.4 MB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.571e-05/0.3754, allocations: 7.906 kB / 468.4 MB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003205/0.3758, allocations: 144 kB / 468.6 MB, free: 5.898 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001706/0.3759, allocations: 187 kB / 468.7 MB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007003/0.3829, allocations: 4.294 MB / 473 MB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02325/0.4062, allocations: 14.71 MB / 487.7 MB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004968/0.4112, allocations: 4.198 MB / 491.9 MB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003483/0.4148, allocations: 1.998 MB / 493.9 MB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002783/0.4151, allocations: 131.1 kB / 494.1 MB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/0.4151, allocations: 60.56 kB / 494.1 MB, free: 11.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.747e-06/0.4151, allocations: 0 / 494.1 MB, free: 11.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02147/0.4366, allocations: 9.956 MB / 0.4923 GB, free: 1.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.251e-05/0.4367, allocations: 73.41 kB / 0.4923 GB, free: 1.504 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007029/0.4438, allocations: 2.51 MB / 0.4948 GB, free: 14.97 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004694/0.4443, allocations: 61.7 kB / 0.4948 GB, free: 14.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001671/0.446, allocations: 1.63 MB / 0.4964 GB, free: 13.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001213/0.4472, allocations: 0.7355 MB / 0.4972 GB, free: 12.51 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001391/0.4486, allocations: 412.4 kB / 0.4976 GB, free: 12.1 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.4487, allocations: 309 kB / 0.4978 GB, free: 11.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003105/0.4519, allocations: 1.293 MB / 0.4991 GB, free: 10.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003634/0.4555, allocations: 1.779 MB / 0.5008 GB, free: 8.531 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006442/0.462, allocations: 3.211 MB / 0.504 GB, free: 5.137 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.495e-05/0.462, allocations: 4 kB / 0.504 GB, free: 5.133 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007436/0.4695, allocations: 4.075 MB / 0.508 GB, free: 1.031 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.4695, allocations: 12 kB / 0.508 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-05/0.4695, allocations: 12 kB / 0.508 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002938/0.4725, allocations: 0.8758 MB / 0.5088 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002141/0.4746, allocations: 0.5343 MB / 0.5094 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01042/0.4851, allocations: 9.477 MB / 0.5186 GB, free: 5.688 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/0.487, allocations: 115.8 kB / 0.5187 GB, free: 5.574 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002532/0.4873, allocations: 91.92 kB / 0.5188 GB, free: 5.484 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.002037/0.4893, allocations: 1.215 MB / 0.52 GB, free: 4.258 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006894/0.49, allocations: 280.7 kB / 0.5203 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008302/0.4983, allocations: 3.715 MB / 0.5239 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.598e-05/0.4984, allocations: 24 kB / 0.5239 GB, free: 220 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.667e-05/0.4984, allocations: 8 kB / 0.5239 GB, free: 212 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.172e-05/0.4985, allocations: 11.95 kB / 0.5239 GB, free: 200 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02087/0.5194, allocations: 8.029 MB / 0.5318 GB, free: 8.043 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.656e-05/0.5194, allocations: 4 kB / 0.5318 GB, free: 8.039 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002337/0.5217, allocations: 375.8 kB / 0.5321 GB, free: 7.672 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003368/0.5251, allocations: 0.9368 MB / 0.5331 GB, free: 6.719 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000172/0.5253, allocations: 51.98 kB / 0.5331 GB, free: 6.668 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2483/0.7736, allocations: 11.08 MB / 0.5439 GB, free: 120.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.7737, allocations: 3.531 kB / 0.5439 GB, free: 120.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007644/0.7813, allocations: 5.515 MB / 0.5493 GB, free: 118.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001499/0.7829, allocations: 0.6293 MB / 0.5499 GB, free: 117.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003552/0.7832, allocations: 51.98 kB / 0.55 GB, free: 117.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/0.7845, allocations: 119.5 kB / 0.5501 GB, free: 117.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004905/0.785, allocations: 179.9 kB / 0.5503 GB, free: 117.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/0.7851, allocations: 55.17 kB / 0.5503 GB, free: 117.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002197/0.7873, allocations: 1.748 MB / 0.552 GB, free: 117.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.7874, allocations: 0 / 0.552 GB, free: 117.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002115/0.7895, allocations: 0.7961 MB / 0.5528 GB, free: 117 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.0004802/0.79, allocations: 236.1 kB / 0.553 GB, free: 116.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004744/0.7947, allocations: 3.899 MB / 0.5568 GB, free: 115.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.7947, allocations: 3.5 kB / 0.5568 GB, free: 115.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002959/0.7977, allocations: 2.475 MB / 0.5593 GB, free: 113.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002998/0.8007, allocations: 0.8009 MB / 0.56 GB, free: 112.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/0.8109, allocations: 7.733 MB / 0.5676 GB, free: 105.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001939/0.8129, allocations: 2.78 MB / 0.5703 GB, free: 102.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001965/0.8149, allocations: 0.6829 MB / 0.571 GB, free: 102 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006681/0.8156, allocations: 179.4 kB / 0.5711 GB, free: 101.8 MB / 462.1 MB Notification: Performance of SimCode: time 8.32e-07/0.8156, allocations: 0 / 0.5711 GB, free: 101.8 MB / 462.1 MB Notification: Performance of Templates: time 0.06088/0.8765, allocations: 44.71 MB / 0.6148 GB, free: 57.61 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches