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.0007031/0.0007031, allocations: 85.17 kB / 16.65 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.0007788/0.0007788, allocations: 177.8 kB / 17.56 MB, free: 6.18 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.321/1.321, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002442/0.0002442, allocations: 8 kB / 301.4 MB, free: 6.145 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09673/0.09699, allocations: 50.42 MB / 351.8 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01274/0.1098, allocations: 12.16 MB / 364 MB, free: 7.492 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007413/0.1172, allocations: 4.101 MB / 368.1 MB, free: 3.379 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001607/0.1189, allocations: 71.69 kB / 368.2 MB, free: 3.309 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002336/0.1212, allocations: 0.8509 MB / 369 MB, free: 2.453 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003551/0.1248, allocations: 1.076 MB / 370.1 MB, free: 1.371 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.1259, allocations: 459.5 kB / 370.6 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1895/0.3153, allocations: 5.303 MB / 375.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003599/0.319, allocations: 3.03 MB / 378.9 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003767/0.3228, allocations: 1.594 MB / 380.5 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003581/0.3264, allocations: 2.172 MB / 382.7 MB, free: 9.254 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006494/0.327, allocations: 240.5 kB / 382.9 MB, free: 9.254 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.3284, allocations: 347.6 kB / 383.2 MB, free: 9.254 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001153/0.3295, allocations: 1.14 MB / 384.4 MB, free: 9.094 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00258/0.3321, allocations: 2.081 MB / 386.4 MB, free: 8.426 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005824/0.3379, allocations: 6.932 MB / 393.4 MB, free: 4.688 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.338, allocations: 0 / 393.4 MB, free: 4.688 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.338, allocations: 0 / 393.4 MB, free: 4.688 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001787/0.3382, allocations: 4 kB / 393.4 MB, free: 4.684 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.00823/0.3464, allocations: 3.965 MB / 397.3 MB, free: 2.105 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.3464, allocations: 8.844 kB / 397.4 MB, free: 2.105 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001541/0.348, allocations: 0.4979 MB / 397.9 MB, free: 1.863 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004019/0.352, allocations: 2.494 MB / 400.3 MB, free: 176 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000209/0.3522, allocations: 263.5 kB / 400.6 MB, free: 15.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008169/0.3531, allocations: 359.2 kB / 401 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009977/0.3631, allocations: 5.036 MB / 406 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-05/0.3632, allocations: 11.91 kB / 406 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003535/0.3635, allocations: 144.8 kB / 406.1 MB, free: 10.33 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001931/0.3637, allocations: 187 kB / 406.3 MB, free: 10.14 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008246/0.372, allocations: 4.318 MB / 410.6 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02657/0.3986, allocations: 15 MB / 425.6 MB, free: 6.617 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004659/0.4033, allocations: 4.189 MB / 429.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003284/0.4066, allocations: 2.006 MB / 431.8 MB, free: 128 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002861/0.4069, allocations: 142.7 kB / 432 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/0.4069, allocations: 56.5 kB / 432 MB, free: 15.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 3.647e-06/0.407, allocations: 8 kB / 432 MB, free: 15.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.02014/0.4271, allocations: 10.06 MB / 442.1 MB, free: 5.738 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.4272, allocations: 73.41 kB / 442.2 MB, free: 5.656 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004042/0.4313, allocations: 2.506 MB / 444.7 MB, free: 3.129 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003316/0.4316, allocations: 61.7 kB / 444.7 MB, free: 3.062 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001198/0.4328, allocations: 1.622 MB / 446.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007601/0.4336, allocations: 0.7286 MB / 447.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000287/0.4339, allocations: 194.3 kB / 447.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.502e-05/0.434, allocations: 301.1 kB / 447.6 MB, free: 216 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002032/0.436, allocations: 1.316 MB / 448.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002295/0.4383, allocations: 1.79 MB / 450.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004557/0.4429, allocations: 3.237 MB / 453.9 MB, free: 9.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.4429, allocations: 4 kB / 453.9 MB, free: 9.496 MB / 366.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007739/0.4507, allocations: 4.098 MB / 458 MB, free: 5.371 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/0.4507, allocations: 15.94 kB / 458 MB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.903e-05/0.4508, allocations: 12 kB / 458 MB, free: 5.344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002996/0.4538, allocations: 0.8786 MB / 458.9 MB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002331/0.4561, allocations: 0.5343 MB / 459.5 MB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01186/0.468, allocations: 8.759 MB / 468.2 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002412/0.4705, allocations: 127.8 kB / 468.3 MB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002204/0.4707, allocations: 87.94 kB / 468.4 MB, free: 10.56 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.002319/0.473, allocations: 1.212 MB / 469.6 MB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006176/0.4736, allocations: 276.7 kB / 469.9 MB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006358/0.48, allocations: 3.746 MB / 473.7 MB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/0.48, allocations: 20 kB / 473.7 MB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/0.4801, allocations: 8 kB / 473.7 MB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.81e-05/0.4801, allocations: 7.969 kB / 473.7 MB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0138/0.4939, allocations: 8.105 MB / 481.8 MB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.4939, allocations: 7.938 kB / 481.8 MB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001683/0.4956, allocations: 391.8 kB / 482.2 MB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003211/0.4988, allocations: 0.9329 MB / 483.1 MB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001684/0.499, allocations: 51.98 kB / 483.2 MB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01104/0.5101, allocations: 10.22 MB / 493.4 MB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/0.5101, allocations: 7.938 kB / 493.4 MB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009048/0.5192, allocations: 5.538 MB / 498.9 MB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001496/0.5207, allocations: 0.6343 MB / 499.6 MB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003673/0.5211, allocations: 56.08 kB / 499.6 MB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/0.5224, allocations: 131.8 kB / 499.8 MB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004271/0.5229, allocations: 177.7 kB / 499.9 MB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000136/0.523, allocations: 63.98 kB / 500 MB, free: 10.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00272/0.5258, allocations: 1.727 MB / 0.49 GB, free: 8.512 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5258, allocations: 4 kB / 0.49 GB, free: 8.508 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002475/0.5283, allocations: 0.8046 MB / 0.4907 GB, free: 7.703 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.0005884/0.5288, allocations: 231.2 kB / 0.491 GB, free: 7.473 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00612/0.535, allocations: 3.912 MB / 0.4948 GB, free: 3.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.535, allocations: 0 / 0.4948 GB, free: 3.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00378/0.5388, allocations: 2.498 MB / 0.4972 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00434/0.5431, allocations: 0.7513 MB / 0.498 GB, free: 172 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01418/0.5573, allocations: 9.516 MB / 0.5073 GB, free: 6.609 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002861/0.5602, allocations: 2.773 MB / 0.51 GB, free: 3.809 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002285/0.5625, allocations: 0.6788 MB / 0.5106 GB, free: 3.125 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005849/0.5631, allocations: 179.4 kB / 0.5108 GB, free: 2.949 MB / 430.1 MB Notification: Performance of SimCode: time 9.12e-07/0.5631, allocations: 0 / 0.5108 GB, free: 2.949 MB / 430.1 MB Notification: Performance of Templates: time 0.2521/0.8153, allocations: 43.87 MB / 0.5536 GB, free: 139.4 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/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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches