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.001049/0.001049, allocations: 109.8 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001142/0.001142, allocations: 205.8 kB / 18.26 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 59.31 kB / 306.4 MB, free: 0.9258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09823/0.09944, allocations: 50.54 MB / 357 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01284/0.1123, allocations: 12.79 MB / 369.8 MB, free: 1.535 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1871/0.2994, allocations: 4.191 MB / 374 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002309/0.3018, allocations: 74.12 kB / 374 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003253/0.3051, allocations: 0.8683 MB / 374.9 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003889/0.309, allocations: 1.069 MB / 376 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001344/0.3104, allocations: 470.3 kB / 376.4 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005162/0.3156, allocations: 4.645 MB / 381.1 MB, free: 7.703 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004412/0.32, allocations: 3.691 MB / 384.8 MB, free: 6.223 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005535/0.3255, allocations: 2.137 MB / 386.9 MB, free: 5.242 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004795/0.3303, allocations: 2.628 MB / 389.5 MB, free: 4.102 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001254/0.3316, allocations: 0.5555 MB / 390.1 MB, free: 4.098 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002144/0.3338, allocations: 0.652 MB / 390.8 MB, free: 4.074 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001602/0.3354, allocations: 1.522 MB / 392.3 MB, free: 3.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003197/0.3386, allocations: 2.484 MB / 394.8 MB, free: 1.652 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007381/0.346, allocations: 7.376 MB / 402.1 MB, free: 12.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.346, allocations: 4 kB / 402.1 MB, free: 12.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.346, allocations: 0 / 402.1 MB, free: 12.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000229/0.3463, allocations: 0 / 402.1 MB, free: 12.52 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.009886/0.3562, allocations: 4.703 MB / 406.8 MB, free: 7.762 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.3562, allocations: 12.03 kB / 406.9 MB, free: 7.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/0.3577, allocations: 0.5268 MB / 407.4 MB, free: 7.219 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003821/0.3616, allocations: 2.504 MB / 409.9 MB, free: 4.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001899/0.3618, allocations: 273.2 kB / 410.2 MB, free: 4.414 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005034/0.3623, allocations: 363 kB / 410.5 MB, free: 4.062 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007975/0.3703, allocations: 5.028 MB / 415.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.007e-05/0.3704, allocations: 15.84 kB / 415.5 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000331/0.3707, allocations: 143.1 kB / 415.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001751/0.3709, allocations: 183.1 kB / 415.9 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006818/0.3777, allocations: 4.298 MB / 420.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02208/0.3998, allocations: 14.89 MB / 435.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004323/0.4042, allocations: 4.197 MB / 439.3 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003084/0.4073, allocations: 1.996 MB / 441.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002784/0.4076, allocations: 131.1 kB / 441.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/0.4076, allocations: 60.56 kB / 441.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 3.977e-06/0.4076, allocations: 0 / 441.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.0189/0.4265, allocations: 9.956 MB / 451.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.4266, allocations: 73.41 kB / 451.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003823/0.4304, allocations: 2.51 MB / 454 MB, free: 7.879 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003115/0.4308, allocations: 61.7 kB / 454 MB, free: 7.812 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001084/0.4319, allocations: 1.626 MB / 455.7 MB, free: 6.172 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005935/0.4325, allocations: 0.7299 MB / 456.4 MB, free: 5.449 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006737/0.4332, allocations: 420.2 kB / 456.8 MB, free: 5.031 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.629e-05/0.4332, allocations: 301.1 kB / 457.1 MB, free: 4.734 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001993/0.4352, allocations: 1.301 MB / 458.4 MB, free: 3.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00222/0.4375, allocations: 1.782 MB / 460.2 MB, free: 1.457 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00429/0.4418, allocations: 3.215 MB / 463.4 MB, free: 14.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.4418, allocations: 4 kB / 463.4 MB, free: 14.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006919/0.4487, allocations: 4.071 MB / 467.5 MB, free: 9.957 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/0.4488, allocations: 14.34 kB / 467.5 MB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.317e-05/0.4488, allocations: 12 kB / 467.5 MB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002804/0.4516, allocations: 0.8895 MB / 468.4 MB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002078/0.4537, allocations: 0.5227 MB / 468.9 MB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01001/0.4637, allocations: 9.496 MB / 478.4 MB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/0.466, allocations: 119.8 kB / 478.5 MB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001831/0.4662, allocations: 80 kB / 478.6 MB, free: 14.41 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.002128/0.4683, allocations: 1.227 MB / 479.8 MB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005256/0.4689, allocations: 272.7 kB / 480.1 MB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006644/0.4755, allocations: 3.715 MB / 483.8 MB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/0.4756, allocations: 20 kB / 483.8 MB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.4756, allocations: 8 kB / 483.8 MB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.899e-05/0.4756, allocations: 11.95 kB / 483.8 MB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01387/0.4895, allocations: 8.079 MB / 491.9 MB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/0.4895, allocations: 11.88 kB / 491.9 MB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001728/0.4913, allocations: 395.8 kB / 492.3 MB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003095/0.4944, allocations: 0.9277 MB / 493.3 MB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001529/0.4946, allocations: 59.97 kB / 493.3 MB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01196/0.5065, allocations: 11.1 MB / 0.4926 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.5066, allocations: 4 kB / 0.4926 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008731/0.5153, allocations: 5.508 MB / 0.498 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001486/0.5168, allocations: 0.6304 MB / 0.4986 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003761/0.5172, allocations: 51.98 kB / 0.4986 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/0.5186, allocations: 107.9 kB / 0.4987 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004129/0.5191, allocations: 185.7 kB / 0.4989 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/0.5192, allocations: 63.98 kB / 0.499 GB, free: 13.28 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002393/0.5216, allocations: 1.735 MB / 0.5007 GB, free: 11.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5216, allocations: 0 / 0.5007 GB, free: 11.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002242/0.5239, allocations: 0.8008 MB / 0.5015 GB, free: 10.73 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.0005176/0.5244, allocations: 234.6 kB / 0.5017 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01037/0.5348, allocations: 5.709 MB / 0.5072 GB, free: 4.715 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.5348, allocations: 4 kB / 0.5073 GB, free: 4.711 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003933/0.5387, allocations: 2.476 MB / 0.5097 GB, free: 2.164 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004253/0.543, allocations: 0.7947 MB / 0.5104 GB, free: 1.383 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0147/0.5577, allocations: 9.369 MB / 0.5196 GB, free: 7.969 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002611/0.5604, allocations: 2.781 MB / 0.5223 GB, free: 5.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002426/0.5628, allocations: 0.6868 MB / 0.523 GB, free: 4.469 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005676/0.5634, allocations: 183.4 kB / 0.5232 GB, free: 4.289 MB / 446.1 MB Notification: Performance of SimCode: time 9.01e-07/0.5634, allocations: 0 / 0.5232 GB, free: 4.289 MB / 446.1 MB Notification: Performance of Templates: time 0.2488/0.8123, allocations: 46.33 MB / 0.5684 GB, free: 119.8 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/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_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches