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.001288/0.001288, allocations: 108.6 kB / 17.69 MB, free: 5.445 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.001057/0.001057, allocations: 191 kB / 18.63 MB, free: 4.512 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.284/1.284, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001007/0.001007, allocations: 47.38 kB / 302.1 MB, free: 5.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08977/0.09079, allocations: 49.45 MB / 351.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01395/0.1048, allocations: 12.88 MB / 364.4 MB, free: 6.746 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008527/0.1133, allocations: 4.19 MB / 368.6 MB, free: 2.543 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002506/0.1159, allocations: 79.69 kB / 368.7 MB, free: 2.465 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002758/0.1187, allocations: 0.9665 MB / 369.6 MB, free: 1.484 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004953/0.1237, allocations: 1.176 MB / 370.8 MB, free: 308 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1705/0.2942, allocations: 0.5061 MB / 371.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007208/0.3014, allocations: 4.632 MB / 375.9 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004769/0.3062, allocations: 3.698 MB / 379.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004983/0.3112, allocations: 2.111 MB / 381.8 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005042/0.3163, allocations: 2.558 MB / 384.3 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001511/0.3178, allocations: 0.5522 MB / 384.9 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002383/0.3202, allocations: 0.6418 MB / 385.5 MB, free: 9.383 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001698/0.3219, allocations: 1.515 MB / 387 MB, free: 8.578 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003741/0.3257, allocations: 2.485 MB / 389.5 MB, free: 7.004 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006478/0.3322, allocations: 7.409 MB / 396.9 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3322, allocations: 0 / 396.9 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3322, allocations: 5.656 kB / 396.9 MB, free: 3.008 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001603/0.3324, allocations: 0 / 396.9 MB, free: 3.008 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.01155/0.3439, allocations: 4.695 MB / 401.6 MB, free: 15.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.344, allocations: 8.031 kB / 401.6 MB, free: 15.26 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/0.3454, allocations: 0.4995 MB / 402.1 MB, free: 14.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005195/0.3506, allocations: 2.566 MB / 404.7 MB, free: 12.22 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002032/0.3508, allocations: 266.2 kB / 404.9 MB, free: 11.96 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005521/0.3514, allocations: 351.8 kB / 405.3 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008795/0.3602, allocations: 5.034 MB / 410.3 MB, free: 6.535 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-05/0.3603, allocations: 7.906 kB / 410.3 MB, free: 6.527 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003177/0.3606, allocations: 143.9 kB / 410.5 MB, free: 6.391 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001625/0.3608, allocations: 183 kB / 410.7 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007017/0.3678, allocations: 4.294 MB / 414.9 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02464/0.3925, allocations: 14.72 MB / 429.7 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004269/0.3968, allocations: 4.186 MB / 433.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003124/0.3999, allocations: 1.994 MB / 435.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000287/0.4003, allocations: 140.2 kB / 436 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.669e-05/0.4003, allocations: 56.56 kB / 436 MB, free: 12.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 3.537e-06/0.4003, allocations: 0 / 436 MB, free: 12.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.02125/0.4216, allocations: 9.936 MB / 446 MB, free: 2.254 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.4217, allocations: 77.41 kB / 446.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004256/0.4259, allocations: 2.502 MB / 448.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003039/0.4262, allocations: 61.7 kB / 448.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00128/0.4275, allocations: 1.618 MB / 450.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007548/0.4283, allocations: 0.7298 MB / 451 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006671/0.429, allocations: 420.2 kB / 451.4 MB, free: 12.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.4291, allocations: 301.1 kB / 451.7 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002003/0.4311, allocations: 1.308 MB / 453 MB, free: 11.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002526/0.4336, allocations: 1.778 MB / 454.8 MB, free: 9.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004553/0.4382, allocations: 3.214 MB / 458 MB, free: 5.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.4382, allocations: 0 / 458 MB, free: 5.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007198/0.4454, allocations: 4.075 MB / 462 MB, free: 1.738 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.4455, allocations: 8 kB / 462.1 MB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/0.4455, allocations: 16 kB / 462.1 MB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00292/0.4484, allocations: 0.8824 MB / 462.9 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002137/0.4506, allocations: 0.5304 MB / 463.5 MB, free: 296 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/0.4614, allocations: 9.484 MB / 473 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002242/0.4637, allocations: 115.9 kB / 473.1 MB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003318/0.464, allocations: 91.98 kB / 473.2 MB, free: 6.195 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.002164/0.4662, allocations: 1.208 MB / 474.4 MB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008175/0.467, allocations: 276.7 kB / 474.6 MB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006129/0.4732, allocations: 3.718 MB / 478.4 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/0.4732, allocations: 20 kB / 478.4 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.4732, allocations: 8 kB / 478.4 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.121e-05/0.4732, allocations: 11.95 kB / 478.4 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/0.4869, allocations: 8.01 MB / 486.4 MB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.4869, allocations: 4 kB / 486.4 MB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001634/0.4886, allocations: 387.8 kB / 486.8 MB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002981/0.4916, allocations: 0.9368 MB / 487.7 MB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000156/0.4917, allocations: 51.97 kB / 487.8 MB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01169/0.5034, allocations: 11.1 MB / 498.9 MB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.5035, allocations: 4 kB / 498.9 MB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009278/0.5127, allocations: 5.511 MB / 0.4926 GB, free: 6.219 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002075/0.5149, allocations: 0.6265 MB / 0.4932 GB, free: 5.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004285/0.5153, allocations: 51.98 kB / 0.4932 GB, free: 5.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/0.5167, allocations: 115.9 kB / 0.4933 GB, free: 5.406 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004563/0.5171, allocations: 181.7 kB / 0.4935 GB, free: 5.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001479/0.5173, allocations: 63.98 kB / 0.4936 GB, free: 5.168 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002628/0.5199, allocations: 1.727 MB / 0.4953 GB, free: 3.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.52, allocations: 4 kB / 0.4953 GB, free: 3.426 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00246/0.5224, allocations: 0.8007 MB / 0.4961 GB, free: 2.625 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.0005782/0.523, allocations: 242.2 kB / 0.4963 GB, free: 2.387 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006281/0.5293, allocations: 3.892 MB / 0.5001 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.5293, allocations: 3.938 kB / 0.5001 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00389/0.5332, allocations: 2.468 MB / 0.5025 GB, free: 11.87 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003525/0.5368, allocations: 0.7825 MB / 0.5033 GB, free: 11.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/0.5502, allocations: 7.751 MB / 0.5108 GB, free: 3.305 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002706/0.553, allocations: 2.773 MB / 0.5135 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002169/0.5552, allocations: 0.6828 MB / 0.5142 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006349/0.5558, allocations: 175.4 kB / 0.5144 GB, free: 15.64 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5558, allocations: 4 kB / 0.5144 GB, free: 15.64 MB / 446.1 MB Notification: Performance of Templates: time 0.2135/0.7694, allocations: 43.75 MB / 0.5571 GB, free: 138.6 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 -s gbode -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