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.001579/0.001579, allocations: 113.4 kB / 17.99 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001367/0.001367, allocations: 217.7 kB / 18.92 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 247.1 MB, free: 9.047 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 64.25 kB / 307.1 MB, free: 0.6875 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1024, allocations: 50.54 MB / 357.7 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01571/0.1182, allocations: 12.81 MB / 370.5 MB, free: 1.281 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.177/0.2952, allocations: 4.195 MB / 374.7 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002495/0.2977, allocations: 75.14 kB / 374.8 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003141/0.3009, allocations: 0.864 MB / 375.6 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004517/0.3055, allocations: 1.068 MB / 376.7 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00176/0.3073, allocations: 483 kB / 377.2 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006839/0.3141, allocations: 4.651 MB / 381.8 MB, free: 7.438 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005627/0.3198, allocations: 3.692 MB / 385.5 MB, free: 5.957 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006113/0.326, allocations: 2.144 MB / 387.7 MB, free: 4.977 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005669/0.3317, allocations: 2.626 MB / 390.3 MB, free: 3.836 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002541/0.3342, allocations: 0.5519 MB / 390.8 MB, free: 3.836 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003693/0.3379, allocations: 0.6579 MB / 391.5 MB, free: 3.809 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003166/0.3411, allocations: 1.521 MB / 393 MB, free: 2.984 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006642/0.3478, allocations: 2.496 MB / 395.5 MB, free: 1.379 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008168/0.356, allocations: 6.241 MB / 401.7 MB, free: 13.08 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3561, allocations: 0 / 401.7 MB, free: 13.08 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3561, allocations: 1.312 kB / 401.7 MB, free: 13.08 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002644/0.3563, allocations: 0 / 401.7 MB, free: 13.08 MB / 318.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.01245/0.3688, allocations: 4.697 MB / 406.4 MB, free: 8.785 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.3689, allocations: 8.031 kB / 406.5 MB, free: 8.777 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/0.3706, allocations: 0.5268 MB / 407 MB, free: 8.246 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005053/0.3757, allocations: 2.516 MB / 409.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002491/0.376, allocations: 269.3 kB / 409.8 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006831/0.3767, allocations: 352 kB / 410.1 MB, free: 5.094 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009862/0.3865, allocations: 5.027 MB / 415.1 MB, free: 12 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001026/0.3867, allocations: 15.88 kB / 415.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003515/0.387, allocations: 140 kB / 415.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002099/0.3872, allocations: 179 kB / 415.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00838/0.3956, allocations: 4.302 MB / 419.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02687/0.4225, allocations: 14.9 MB / 434.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005326/0.4279, allocations: 4.204 MB / 438.9 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003551/0.4315, allocations: 1.988 MB / 440.9 MB, free: 5.785 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003349/0.4318, allocations: 138 kB / 441 MB, free: 5.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.027e-05/0.4319, allocations: 60.5 kB / 441 MB, free: 5.566 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 3.667e-06/0.4319, allocations: 0 / 441 MB, free: 5.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.02253/0.4545, allocations: 9.948 MB / 451 MB, free: 11.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.719e-05/0.4546, allocations: 73.41 kB / 451.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004234/0.4588, allocations: 2.518 MB / 453.6 MB, free: 8.895 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003047/0.4591, allocations: 65.7 kB / 453.6 MB, free: 8.824 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001403/0.4605, allocations: 1.623 MB / 455.3 MB, free: 7.188 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008411/0.4614, allocations: 0.7314 MB / 456 MB, free: 6.461 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007589/0.4622, allocations: 416.2 kB / 456.4 MB, free: 6.047 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4623, allocations: 309.1 kB / 456.7 MB, free: 5.742 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002246/0.4646, allocations: 1.301 MB / 458 MB, free: 4.438 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002597/0.4672, allocations: 1.771 MB / 459.8 MB, free: 2.477 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005035/0.4722, allocations: 3.223 MB / 463 MB, free: 15.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/0.4723, allocations: 4 kB / 463 MB, free: 15.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007807/0.4801, allocations: 4.067 MB / 467.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.432e-05/0.4801, allocations: 10.5 kB / 467.1 MB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-05/0.4802, allocations: 16.47 kB / 467.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003117/0.4833, allocations: 0.8891 MB / 468 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002461/0.4858, allocations: 0.5227 MB / 468.5 MB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/0.4976, allocations: 9.489 MB / 478 MB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00222/0.4998, allocations: 119.8 kB / 478.1 MB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002815/0.5001, allocations: 84 kB / 478.2 MB, free: 15.43 MB / 398.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.002253/0.5024, allocations: 1.219 MB / 479.4 MB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006576/0.5031, allocations: 272.7 kB / 479.7 MB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006942/0.51, allocations: 3.719 MB / 483.4 MB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.529e-05/0.5101, allocations: 20 kB / 483.4 MB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.808e-05/0.5101, allocations: 8 kB / 483.4 MB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.35e-05/0.5101, allocations: 11.91 kB / 483.4 MB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01585/0.526, allocations: 8.086 MB / 491.5 MB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/0.526, allocations: 7.938 kB / 491.5 MB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002758/0.5288, allocations: 383.8 kB / 491.9 MB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005293/0.5341, allocations: 0.9401 MB / 492.9 MB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005639/0.5347, allocations: 51.98 kB / 492.9 MB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0199/0.5547, allocations: 11.1 MB / 0.4922 GB, free: 4.941 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.5547, allocations: 0 / 0.4922 GB, free: 4.941 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01518/0.5699, allocations: 5.505 MB / 0.4976 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002725/0.5727, allocations: 0.6304 MB / 0.4982 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001109/0.5739, allocations: 47.98 kB / 0.4982 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002897/0.5768, allocations: 119.9 kB / 0.4983 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007371/0.5775, allocations: 193.6 kB / 0.4985 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002598/0.5778, allocations: 55.98 kB / 0.4986 GB, free: 14.31 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004954/0.5828, allocations: 1.735 MB / 0.5003 GB, free: 12.56 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5828, allocations: 0 / 0.5003 GB, free: 12.56 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005529/0.5884, allocations: 0.8047 MB / 0.5011 GB, free: 11.76 MB / 430.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.001185/0.5896, allocations: 240.4 kB / 0.5013 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01786/0.6075, allocations: 5.708 MB / 0.5069 GB, free: 5.738 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.6075, allocations: 4.062 kB / 0.5069 GB, free: 5.734 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006148/0.6137, allocations: 2.475 MB / 0.5093 GB, free: 3.188 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005487/0.6192, allocations: 0.7933 MB / 0.5101 GB, free: 2.406 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02172/0.6409, allocations: 9.372 MB / 0.5192 GB, free: 8.984 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004361/0.6454, allocations: 2.731 MB / 0.5219 GB, free: 6.227 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001403/0.6468, allocations: 191.4 kB / 0.5221 GB, free: 6.039 MB / 446.1 MB Notification: Performance of SimCode: time 1.503e-06/0.6468, allocations: 0 / 0.5221 GB, free: 6.039 MB / 446.1 MB Notification: Performance of Templates: time 0.3262/0.973, allocations: 142.1 MB / 0.6608 GB, free: 25.02 MB / 446.1 MB 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.1.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