Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.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.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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001442/0.001442, allocations: 117.6 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001588/0.001588, allocations: 203.9 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 246.9 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 59.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2665, allocations: 50.53 MB / 409.3 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.0141/0.2807, allocations: 12.9 MB / 422.2 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008109/0.2888, allocations: 4.253 MB / 426.4 MB, free: 392 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002196/0.2911, allocations: 79.69 kB / 426.5 MB, free: 312 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002455/0.2936, allocations: 0.9794 MB / 427.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003532/0.2971, allocations: 1.176 MB / 428.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.2983, allocations: 0.5188 MB / 429.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005063/0.3034, allocations: 4.657 MB / 433.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004164/0.3075, allocations: 3.69 MB / 437.5 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00415/0.3117, allocations: 2.138 MB / 439.7 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003678/0.3154, allocations: 2.565 MB / 442.2 MB, free: 488 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000926/0.3163, allocations: 0.5508 MB / 442.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/0.3177, allocations: 0.6599 MB / 443.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00137/0.3191, allocations: 1.516 MB / 444.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003329/0.3225, allocations: 2.485 MB / 447.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007922/0.3304, allocations: 7.442 MB / 454.9 MB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.879e-06/0.3305, allocations: 0 / 454.9 MB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3305, allocations: 4 kB / 454.9 MB, free: 3.781 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002226/0.3307, allocations: 0 / 454.9 MB, free: 3.781 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.01064/0.3413, allocations: 4.714 MB / 459.6 MB, free: 15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3414, allocations: 8.031 kB / 459.6 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001592/0.343, allocations: 0.5268 MB / 460.1 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00522/0.3482, allocations: 2.591 MB / 462.7 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002035/0.3485, allocations: 267 kB / 463 MB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000554/0.349, allocations: 351.9 kB / 463.3 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007943/0.357, allocations: 5.032 MB / 468.3 MB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.593e-05/0.3571, allocations: 11.91 kB / 468.4 MB, free: 6.074 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003333/0.3574, allocations: 144 kB / 468.5 MB, free: 5.934 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001744/0.3576, allocations: 187 kB / 468.7 MB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007129/0.3647, allocations: 4.291 MB / 473 MB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02266/0.3874, allocations: 14.71 MB / 487.7 MB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004492/0.3919, allocations: 4.202 MB / 491.9 MB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003081/0.395, allocations: 1.991 MB / 493.9 MB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002982/0.3954, allocations: 135.1 kB / 494 MB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.501e-05/0.3954, allocations: 56.56 kB / 494.1 MB, free: 11.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 4.328e-06/0.3954, allocations: 0 / 494.1 MB, free: 11.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.01952/0.415, allocations: 9.959 MB / 0.4922 GB, free: 1.629 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.415, allocations: 77.41 kB / 0.4923 GB, free: 1.539 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003679/0.4187, allocations: 2.51 MB / 0.4947 GB, free: 15.01 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002388/0.419, allocations: 61.7 kB / 0.4948 GB, free: 14.94 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001126/0.4201, allocations: 1.63 MB / 0.4964 GB, free: 13.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006674/0.4208, allocations: 0.7277 MB / 0.4971 GB, free: 12.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006599/0.4215, allocations: 416.3 kB / 0.4975 GB, free: 12.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.273e-05/0.4216, allocations: 301.1 kB / 0.4978 GB, free: 11.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001949/0.4235, allocations: 1.301 MB / 0.4991 GB, free: 10.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002211/0.4257, allocations: 1.782 MB / 0.5008 GB, free: 8.566 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00437/0.4301, allocations: 3.208 MB / 0.5039 GB, free: 5.176 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.4301, allocations: 8 kB / 0.5039 GB, free: 5.168 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006926/0.4371, allocations: 4.071 MB / 0.5079 GB, free: 1.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.533e-05/0.4371, allocations: 12 kB / 0.5079 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-05/0.4372, allocations: 12 kB / 0.5079 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002897/0.4401, allocations: 0.8838 MB / 0.5088 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/0.4422, allocations: 0.5304 MB / 0.5093 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01012/0.4523, allocations: 9.477 MB / 0.5186 GB, free: 5.727 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001985/0.4544, allocations: 119.8 kB / 0.5187 GB, free: 5.609 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001985/0.4546, allocations: 87.98 kB / 0.5188 GB, free: 5.523 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.002055/0.4566, allocations: 1.227 MB / 0.52 GB, free: 4.285 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005646/0.4572, allocations: 276.7 kB / 0.5202 GB, free: 4.012 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006028/0.4632, allocations: 3.707 MB / 0.5238 GB, free: 284 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.394e-05/0.4633, allocations: 20 kB / 0.5239 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.4633, allocations: 8 kB / 0.5239 GB, free: 256 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.468e-05/0.4633, allocations: 11.95 kB / 0.5239 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01354/0.4769, allocations: 8.025 MB / 0.5317 GB, free: 8.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/0.4769, allocations: 7.984 kB / 0.5317 GB, free: 8.082 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00168/0.4786, allocations: 383.8 kB / 0.5321 GB, free: 7.707 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003233/0.4819, allocations: 0.9251 MB / 0.533 GB, free: 6.766 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002065/0.4821, allocations: 59.98 kB / 0.5331 GB, free: 6.707 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2543/0.7364, allocations: 11.09 MB / 0.5439 GB, free: 120.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.7364, allocations: 6.594 kB / 0.5439 GB, free: 120.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007551/0.744, allocations: 5.505 MB / 0.5493 GB, free: 118.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00155/0.7456, allocations: 0.6344 MB / 0.5499 GB, free: 117.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003284/0.7459, allocations: 48.33 kB / 0.5499 GB, free: 117.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/0.7472, allocations: 115.8 kB / 0.55 GB, free: 117.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004225/0.7476, allocations: 182.5 kB / 0.5502 GB, free: 117.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/0.7478, allocations: 60.95 kB / 0.5503 GB, free: 117.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002035/0.7498, allocations: 1.738 MB / 0.552 GB, free: 117.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.7498, allocations: 0 / 0.552 GB, free: 117.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001989/0.7518, allocations: 0.7997 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.0004764/0.7523, allocations: 241.7 kB / 0.553 GB, free: 116.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004815/0.7571, allocations: 3.891 MB / 0.5568 GB, free: 115.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.7572, allocations: 3.5 kB / 0.5568 GB, free: 115.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003143/0.7603, allocations: 2.479 MB / 0.5592 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.003027/0.7633, allocations: 0.792 MB / 0.56 GB, free: 112.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/0.7739, allocations: 7.736 MB / 0.5675 GB, free: 105.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001867/0.7758, allocations: 2.774 MB / 0.5703 GB, free: 102.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001745/0.7775, allocations: 0.6907 MB / 0.5709 GB, free: 102 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005/0.778, allocations: 179.4 kB / 0.5711 GB, free: 101.8 MB / 462.1 MB Notification: Performance of SimCode: time 1.133e-06/0.778, allocations: 0 / 0.5711 GB, free: 101.8 MB / 462.1 MB Notification: Performance of Templates: time 0.05873/0.8368, allocations: 44.7 MB / 0.6148 GB, free: 57.58 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches