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.001657/0.001657, allocations: 114.9 kB / 17.74 MB, free: 5.336 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.001892/0.001892, allocations: 188.4 kB / 18.67 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.083/2.083, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 55.92 kB / 352 MB, free: 3.184 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2883, allocations: 49.42 MB / 401.5 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01447/0.3028, allocations: 12.88 MB / 414.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009258/0.3121, allocations: 4.175 MB / 418.5 MB, free: 7.727 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002167/0.3143, allocations: 83.69 kB / 418.6 MB, free: 7.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003099/0.3175, allocations: 1.002 MB / 419.6 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004617/0.3222, allocations: 1.235 MB / 420.8 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.324, allocations: 0.5149 MB / 421.3 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006473/0.3305, allocations: 4.644 MB / 426 MB, free: 224 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006016/0.3365, allocations: 3.691 MB / 429.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004442/0.341, allocations: 2.139 MB / 431.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004348/0.3454, allocations: 2.561 MB / 434.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001554/0.347, allocations: 0.5508 MB / 434.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001998/0.349, allocations: 0.6366 MB / 435.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002181/0.3512, allocations: 1.527 MB / 437.1 MB, free: 5.035 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004351/0.3556, allocations: 2.478 MB / 439.6 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008578/0.3641, allocations: 7.423 MB / 447 MB, free: 11.1 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3642, allocations: 0 / 447 MB, free: 11.1 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3642, allocations: 0 / 447 MB, free: 11.1 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001909/0.3644, allocations: 0 / 447 MB, free: 11.1 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.01076/0.3752, allocations: 4.699 MB / 451.7 MB, free: 6.336 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.3752, allocations: 8.031 kB / 451.7 MB, free: 6.328 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001379/0.3766, allocations: 0.4917 MB / 452.2 MB, free: 5.832 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004887/0.3815, allocations: 2.567 MB / 454.8 MB, free: 3.215 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002359/0.3818, allocations: 267 kB / 455 MB, free: 2.953 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006794/0.3825, allocations: 355.9 kB / 455.4 MB, free: 2.605 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009065/0.3916, allocations: 5.025 MB / 460.4 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.272e-05/0.3917, allocations: 7.844 kB / 460.4 MB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003366/0.392, allocations: 148 kB / 460.5 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001737/0.3922, allocations: 183.1 kB / 460.7 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007663/0.3999, allocations: 4.298 MB / 465 MB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02703/0.427, allocations: 14.72 MB / 479.7 MB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004962/0.432, allocations: 4.191 MB / 483.9 MB, free: 5.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003616/0.4356, allocations: 1.987 MB / 485.9 MB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003268/0.436, allocations: 135.1 kB / 486.1 MB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.942e-05/0.436, allocations: 56.56 kB / 486.1 MB, free: 3.137 MB / 398.1 MB Notification: Performance of pre-optimization done (n=198): time 4.098e-06/0.4361, allocations: 0 / 486.1 MB, free: 3.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=218): time 0.02144/0.4575, allocations: 9.956 MB / 496.1 MB, free: 9.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.4576, allocations: 81.41 kB / 496.1 MB, free: 8.977 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003757/0.4614, allocations: 2.502 MB / 498.6 MB, free: 6.453 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000207/0.4616, allocations: 65.7 kB / 498.7 MB, free: 6.383 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001172/0.4628, allocations: 1.619 MB / 0.4886 GB, free: 4.742 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006252/0.4634, allocations: 0.7238 MB / 0.4893 GB, free: 4.008 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007186/0.4641, allocations: 424.2 kB / 0.4897 GB, free: 3.586 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.94e-05/0.4642, allocations: 305.1 kB / 0.49 GB, free: 3.285 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002046/0.4663, allocations: 1.297 MB / 0.4913 GB, free: 1.984 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002423/0.4687, allocations: 1.782 MB / 0.493 GB, free: 12 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00453/0.4733, allocations: 3.212 MB / 0.4961 GB, free: 12.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/0.4733, allocations: 4 kB / 0.4962 GB, free: 12.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006753/0.4801, allocations: 4.075 MB / 0.5001 GB, free: 8.516 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.4801, allocations: 12 kB / 0.5001 GB, free: 8.504 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/0.4801, allocations: 12 kB / 0.5002 GB, free: 8.492 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002836/0.483, allocations: 0.8719 MB / 0.501 GB, free: 7.605 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002074/0.4851, allocations: 0.5305 MB / 0.5015 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/0.4955, allocations: 9.486 MB / 0.5108 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/0.4975, allocations: 107.9 kB / 0.5109 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001983/0.4977, allocations: 91.98 kB / 0.511 GB, free: 12.98 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.002022/0.4997, allocations: 1.212 MB / 0.5122 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005505/0.5003, allocations: 276.7 kB / 0.5124 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006006/0.5063, allocations: 3.711 MB / 0.516 GB, free: 7.738 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.874e-05/0.5064, allocations: 28 kB / 0.5161 GB, free: 7.711 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.5064, allocations: 4 kB / 0.5161 GB, free: 7.707 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/0.5064, allocations: 11.95 kB / 0.5161 GB, free: 7.695 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01344/0.5198, allocations: 8.013 MB / 0.5239 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.5199, allocations: 0 / 0.5239 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001707/0.5216, allocations: 387.8 kB / 0.5243 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003051/0.5247, allocations: 0.9252 MB / 0.5252 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002168/0.5249, allocations: 59.91 kB / 0.5252 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01306/0.538, allocations: 11.1 MB / 0.5361 GB, free: 2.527 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.505e-06/0.538, allocations: 7.938 kB / 0.5361 GB, free: 2.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2259/0.7639, allocations: 5.5 MB / 0.5415 GB, free: 128.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001484/0.7654, allocations: 0.6307 MB / 0.5421 GB, free: 128.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004023/0.7659, allocations: 55.09 kB / 0.5421 GB, free: 128.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/0.7672, allocations: 119.9 kB / 0.5422 GB, free: 128.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003713/0.7676, allocations: 177.8 kB / 0.5424 GB, free: 128 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001315/0.7677, allocations: 59.14 kB / 0.5425 GB, free: 128 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002227/0.7699, allocations: 1.73 MB / 0.5442 GB, free: 127.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.77, allocations: 0 / 0.5442 GB, free: 127.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002253/0.7722, allocations: 0.7991 MB / 0.5449 GB, free: 127.3 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.0005576/0.7728, allocations: 248.8 kB / 0.5452 GB, free: 127.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005064/0.7779, allocations: 3.894 MB / 0.549 GB, free: 125.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.7779, allocations: 0 / 0.549 GB, free: 125.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00314/0.781, allocations: 2.478 MB / 0.5514 GB, free: 124.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003194/0.7842, allocations: 0.7781 MB / 0.5522 GB, free: 124 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/0.795, allocations: 7.73 MB / 0.5597 GB, free: 118.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001882/0.7969, allocations: 2.721 MB / 0.5624 GB, free: 116.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008787/0.7978, allocations: 195.4 kB / 0.5626 GB, free: 116.4 MB / 462.1 MB Notification: Performance of SimCode: time 1.303e-06/0.7978, allocations: 0 / 0.5626 GB, free: 116.4 MB / 462.1 MB Notification: Performance of Templates: time 0.1199/0.9178, allocations: 142 MB / 0.7012 GB, free: 6.355 MB / 494.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/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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches