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.001087/0.001087, allocations: 109.1 kB / 17.06 MB, free: 6.023 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.001117/0.001117, allocations: 191 kB / 18 MB, free: 5.105 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.33/1.33, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000957/0.000957, allocations: 47.92 kB / 351.3 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2794, allocations: 49.42 MB / 400.8 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01385/0.2933, allocations: 12.9 MB / 413.7 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008022/0.3014, allocations: 4.171 MB / 417.8 MB, free: 7.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002103/0.3035, allocations: 79.69 kB / 417.9 MB, free: 7.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003447/0.307, allocations: 1.002 MB / 418.9 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005265/0.3123, allocations: 1.235 MB / 420.2 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001794/0.3141, allocations: 0.511 MB / 420.7 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006324/0.3204, allocations: 4.637 MB / 425.3 MB, free: 248 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005653/0.3261, allocations: 3.699 MB / 429 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004386/0.3306, allocations: 2.138 MB / 431.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004324/0.3349, allocations: 2.553 MB / 433.7 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001512/0.3364, allocations: 0.5547 MB / 434.2 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002071/0.3385, allocations: 0.6366 MB / 434.9 MB, free: 6.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002285/0.3408, allocations: 1.523 MB / 436.4 MB, free: 5.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004627/0.3455, allocations: 2.478 MB / 438.9 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00781/0.3533, allocations: 7.423 MB / 446.3 MB, free: 11.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3533, allocations: 0 / 446.3 MB, free: 11.13 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3533, allocations: 0 / 446.3 MB, free: 11.13 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001692/0.3535, allocations: 4 kB / 446.3 MB, free: 11.12 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.01066/0.3642, allocations: 4.691 MB / 451 MB, free: 6.367 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.32e-05/0.3643, allocations: 8.031 kB / 451 MB, free: 6.359 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/0.3659, allocations: 0.4995 MB / 451.5 MB, free: 5.855 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004241/0.3702, allocations: 2.571 MB / 454.1 MB, free: 3.234 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001986/0.3704, allocations: 271 kB / 454.3 MB, free: 2.969 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005088/0.3709, allocations: 351.9 kB / 454.7 MB, free: 2.625 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007943/0.3789, allocations: 5.025 MB / 459.7 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-05/0.3789, allocations: 11.84 kB / 459.7 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003323/0.3793, allocations: 140 kB / 459.9 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001774/0.3795, allocations: 187 kB / 460 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006749/0.3862, allocations: 4.294 MB / 464.3 MB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02271/0.4089, allocations: 14.72 MB / 479.1 MB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004496/0.4135, allocations: 4.202 MB / 483.3 MB, free: 5.355 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003095/0.4166, allocations: 1.983 MB / 485.2 MB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002656/0.4169, allocations: 131.1 kB / 485.4 MB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.4169, allocations: 56.55 kB / 485.4 MB, free: 3.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=198): time 6.052e-06/0.4169, allocations: 0 / 485.4 MB, free: 3.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=218): time 0.0197/0.4366, allocations: 9.964 MB / 495.4 MB, free: 9.086 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/0.4368, allocations: 73.41 kB / 495.5 MB, free: 9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003815/0.4406, allocations: 2.506 MB / 498 MB, free: 6.473 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002049/0.4408, allocations: 65.7 kB / 498 MB, free: 6.402 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001117/0.4419, allocations: 1.611 MB / 499.6 MB, free: 4.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006177/0.4425, allocations: 0.7355 MB / 0.4886 GB, free: 4.023 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007154/0.4433, allocations: 420.2 kB / 0.489 GB, free: 3.605 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.4434, allocations: 305.1 kB / 0.4893 GB, free: 3.305 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002139/0.4455, allocations: 1.297 MB / 0.4906 GB, free: 2.004 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00243/0.448, allocations: 1.778 MB / 0.4923 GB, free: 36 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004618/0.4526, allocations: 3.212 MB / 0.4955 GB, free: 12.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/0.4526, allocations: 4 kB / 0.4955 GB, free: 12.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006809/0.4595, allocations: 4.064 MB / 0.4994 GB, free: 8.547 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.4595, allocations: 16.06 kB / 0.4995 GB, free: 8.531 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.351e-05/0.4595, allocations: 15.98 kB / 0.4995 GB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002822/0.4624, allocations: 0.8794 MB / 0.5003 GB, free: 7.621 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00212/0.4645, allocations: 0.5266 MB / 0.5009 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/0.4748, allocations: 9.484 MB / 0.5101 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002437/0.4773, allocations: 119.9 kB / 0.5102 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002417/0.4775, allocations: 84 kB / 0.5103 GB, free: 13 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.002746/0.4803, allocations: 1.212 MB / 0.5115 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005487/0.4809, allocations: 284.6 kB / 0.5118 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006143/0.487, allocations: 3.711 MB / 0.5154 GB, free: 7.754 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/0.487, allocations: 20 kB / 0.5154 GB, free: 7.734 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.4871, allocations: 8 kB / 0.5154 GB, free: 7.727 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.792e-05/0.4871, allocations: 11.97 kB / 0.5154 GB, free: 7.715 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/0.4998, allocations: 8.013 MB / 0.5232 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.4998, allocations: 8.062 kB / 0.5233 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00173/0.5015, allocations: 383.4 kB / 0.5236 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003041/0.5046, allocations: 0.9252 MB / 0.5245 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001613/0.5048, allocations: 55.97 kB / 0.5246 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01163/0.5164, allocations: 11.1 MB / 0.5354 GB, free: 2.547 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.5164, allocations: 3.938 kB / 0.5354 GB, free: 2.543 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.211/0.7274, allocations: 5.509 MB / 0.5408 GB, free: 128.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001447/0.7289, allocations: 0.6268 MB / 0.5414 GB, free: 128.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003868/0.7293, allocations: 52.83 kB / 0.5415 GB, free: 128.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/0.7307, allocations: 120.6 kB / 0.5416 GB, free: 128.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003657/0.7311, allocations: 172.8 kB / 0.5417 GB, free: 128.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/0.7312, allocations: 69.48 kB / 0.5418 GB, free: 128.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002059/0.7333, allocations: 1.724 MB / 0.5435 GB, free: 127.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7333, allocations: 0 / 0.5435 GB, free: 127.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001969/0.7352, allocations: 0.7982 MB / 0.5443 GB, free: 127.4 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.0004891/0.7357, allocations: 250.1 kB / 0.5445 GB, free: 127.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004851/0.7406, allocations: 3.892 MB / 0.5483 GB, free: 125.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.7406, allocations: 3.906 kB / 0.5483 GB, free: 125.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003058/0.7437, allocations: 2.47 MB / 0.5507 GB, free: 124.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002981/0.7467, allocations: 0.7776 MB / 0.5515 GB, free: 124.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.7568, allocations: 7.741 MB / 0.559 GB, free: 118.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001827/0.7586, allocations: 2.77 MB / 0.5618 GB, free: 116.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00174/0.7604, allocations: 0.6866 MB / 0.5624 GB, free: 115.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005142/0.7609, allocations: 175.4 kB / 0.5626 GB, free: 115.7 MB / 462.1 MB Notification: Performance of SimCode: time 9.81e-07/0.7609, allocations: 0 / 0.5626 GB, free: 115.7 MB / 462.1 MB Notification: Performance of Templates: time 0.06195/0.8229, allocations: 44.62 MB / 0.6062 GB, free: 71.62 MB / 462.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