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.001637/0.001637, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002047/0.002047, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.708/1.708, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 59.91 kB / 359.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2573, allocations: 50.55 MB / 410 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01375/0.2712, allocations: 12.91 MB / 422.9 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007838/0.279, allocations: 4.264 MB / 427.2 MB, free: 308 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00218/0.2813, allocations: 79.69 kB / 427.2 MB, free: 228 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002603/0.2839, allocations: 0.9781 MB / 428.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003601/0.2875, allocations: 1.176 MB / 429.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.2889, allocations: 0.5228 MB / 429.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005427/0.2943, allocations: 4.653 MB / 434.6 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004136/0.2985, allocations: 3.694 MB / 438.3 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003639/0.3022, allocations: 2.142 MB / 440.4 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004084/0.3063, allocations: 2.561 MB / 443 MB, free: 404 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001236/0.3075, allocations: 0.5508 MB / 443.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001594/0.3091, allocations: 0.656 MB / 444.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001432/0.3106, allocations: 1.516 MB / 445.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003135/0.3137, allocations: 2.489 MB / 448.2 MB, free: 11.17 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007258/0.321, allocations: 7.442 MB / 455.6 MB, free: 3.703 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.321, allocations: 3.984 kB / 455.6 MB, free: 3.699 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.321, allocations: 4 kB / 455.6 MB, free: 3.695 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001745/0.3212, allocations: 0 / 455.6 MB, free: 3.695 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.009978/0.3312, allocations: 4.707 MB / 460.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.3312, allocations: 12.03 kB / 460.3 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001526/0.3328, allocations: 0.5229 MB / 460.9 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004871/0.3377, allocations: 2.591 MB / 463.5 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001919/0.3379, allocations: 271 kB / 463.7 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005591/0.3384, allocations: 351.9 kB / 464.1 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007834/0.3463, allocations: 5.032 MB / 469.1 MB, free: 6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.376e-05/0.3464, allocations: 7.906 kB / 469.1 MB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003026/0.3467, allocations: 143.9 kB / 469.2 MB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001605/0.3469, allocations: 187 kB / 469.4 MB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006231/0.3531, allocations: 4.294 MB / 473.7 MB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01959/0.3727, allocations: 14.71 MB / 488.4 MB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003967/0.3767, allocations: 4.198 MB / 492.6 MB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002832/0.3795, allocations: 1.998 MB / 494.6 MB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002573/0.3798, allocations: 131.1 kB / 494.8 MB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.3799, allocations: 56.56 kB / 494.8 MB, free: 11.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.436e-06/0.3799, allocations: 0 / 494.8 MB, free: 11.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.01741/0.3973, allocations: 9.963 MB / 0.4929 GB, free: 1.547 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.3974, allocations: 73.41 kB / 0.493 GB, free: 1.461 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003123/0.4005, allocations: 2.51 MB / 0.4955 GB, free: 14.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001322/0.4006, allocations: 65.7 kB / 0.4955 GB, free: 14.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001012/0.4016, allocations: 1.623 MB / 0.4971 GB, free: 13.21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005249/0.4022, allocations: 0.7315 MB / 0.4978 GB, free: 12.47 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006107/0.4028, allocations: 420.3 kB / 0.4982 GB, free: 12.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.564e-05/0.4029, allocations: 305.1 kB / 0.4985 GB, free: 11.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001775/0.4047, allocations: 1.305 MB / 0.4998 GB, free: 10.45 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002072/0.4067, allocations: 1.779 MB / 0.5015 GB, free: 8.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003972/0.4107, allocations: 3.211 MB / 0.5047 GB, free: 5.086 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.4108, allocations: 4 kB / 0.5047 GB, free: 5.082 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006165/0.4169, allocations: 4.067 MB / 0.5086 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.417, allocations: 12.47 kB / 0.5086 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.417, allocations: 16 kB / 0.5087 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002551/0.4195, allocations: 0.8795 MB / 0.5095 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/0.4214, allocations: 0.5265 MB / 0.51 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009472/0.4309, allocations: 9.479 MB / 0.5193 GB, free: 5.641 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/0.4327, allocations: 123.8 kB / 0.5194 GB, free: 5.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002581/0.433, allocations: 87.98 kB / 0.5195 GB, free: 5.434 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.001995/0.435, allocations: 1.219 MB / 0.5207 GB, free: 4.203 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000641/0.4357, allocations: 276.7 kB / 0.5209 GB, free: 3.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005956/0.4416, allocations: 3.707 MB / 0.5246 GB, free: 200 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/0.4417, allocations: 24 kB / 0.5246 GB, free: 176 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.579e-05/0.4417, allocations: 4 kB / 0.5246 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/0.4417, allocations: 11.95 kB / 0.5246 GB, free: 160 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01324/0.455, allocations: 8.025 MB / 0.5324 GB, free: 8.008 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.455, allocations: 8.031 kB / 0.5325 GB, free: 8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001521/0.4565, allocations: 383.5 kB / 0.5328 GB, free: 7.625 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002793/0.4593, allocations: 0.9251 MB / 0.5337 GB, free: 6.684 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001628/0.4595, allocations: 59.97 kB / 0.5338 GB, free: 6.625 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2012/0.6607, allocations: 11.08 MB / 0.5446 GB, free: 120.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.6608, allocations: 5.062 kB / 0.5446 GB, free: 120.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007114/0.6679, allocations: 5.509 MB / 0.55 GB, free: 118.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001515/0.6694, allocations: 0.6326 MB / 0.5506 GB, free: 117.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003734/0.6698, allocations: 54.58 kB / 0.5507 GB, free: 117.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/0.6711, allocations: 116.5 kB / 0.5508 GB, free: 117.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003592/0.6715, allocations: 181 kB / 0.5509 GB, free: 117.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/0.6716, allocations: 61.08 kB / 0.551 GB, free: 117.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001986/0.6736, allocations: 1.738 MB / 0.5527 GB, free: 117.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6736, allocations: 0 / 0.5527 GB, free: 117.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002303/0.6759, allocations: 0.7974 MB / 0.5535 GB, free: 117.1 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.0005145/0.6764, allocations: 241.5 kB / 0.5537 GB, free: 116.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004896/0.6814, allocations: 3.893 MB / 0.5575 GB, free: 115.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.6814, allocations: 3.906 kB / 0.5575 GB, free: 115.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003097/0.6845, allocations: 2.483 MB / 0.5599 GB, free: 113.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003476/0.688, allocations: 0.7938 MB / 0.5607 GB, free: 112.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/0.6984, allocations: 7.744 MB / 0.5683 GB, free: 105.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001682/0.7002, allocations: 2.731 MB / 0.5709 GB, free: 102.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008466/0.701, allocations: 191.4 kB / 0.5711 GB, free: 102.5 MB / 462.1 MB Notification: Performance of SimCode: time 1.473e-06/0.701, allocations: 0 / 0.5711 GB, free: 102.5 MB / 462.1 MB Notification: Performance of Templates: time 0.3773/1.078, allocations: 142.9 MB / 0.7107 GB, free: 7.496 MB / 0.4981 GB 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/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_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches