Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.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.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001348/0.001348, allocations: 99.98 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00169/0.00169, allocations: 208.6 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002759/0.0002759, allocations: 8 kB / 306.6 MB, free: 1.406 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1347, allocations: 51.49 MB / 358.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.0118/0.1466, allocations: 10.42 MB / 368.5 MB, free: 3.457 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2556/0.4022, allocations: 4.139 MB / 372.6 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00246/0.4047, allocations: 67 kB / 372.7 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003007/0.4078, allocations: 0.8042 MB / 373.5 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004394/0.4122, allocations: 0.9893 MB / 374.5 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.4136, allocations: 327.7 kB / 374.8 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006367/0.4199, allocations: 2.955 MB / 377.8 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003534/0.4235, allocations: 2.593 MB / 380.4 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004002/0.4275, allocations: 1.44 MB / 381.8 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005027/0.4326, allocations: 1.812 MB / 383.6 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001231/0.4338, allocations: 237.6 kB / 383.8 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002315/0.4362, allocations: 311.8 kB / 384.2 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001514/0.4377, allocations: 1.069 MB / 385.2 MB, free: 8.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002242/0.4399, allocations: 0.8483 MB / 386.1 MB, free: 8.238 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007763/0.4477, allocations: 5.961 MB / 392 MB, free: 5.387 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4478, allocations: 0 / 392 MB, free: 5.387 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4478, allocations: 1.688 kB / 392 MB, free: 5.387 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002865/0.4481, allocations: 0 / 392 MB, free: 5.387 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.01173/0.4598, allocations: 3.99 MB / 396 MB, free: 3.109 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.638e-05/0.4599, allocations: 12.75 kB / 396 MB, free: 3.105 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003295/0.4632, allocations: 0.5342 MB / 396.6 MB, free: 2.852 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006109/0.4693, allocations: 2.428 MB / 399 MB, free: 1.719 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002047/0.4695, allocations: 265 kB / 399.3 MB, free: 1.602 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009698/0.4705, allocations: 357.7 kB / 399.6 MB, free: 1.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01075/0.4813, allocations: 4.987 MB / 404.6 MB, free: 13.45 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001203/0.4814, allocations: 7.938 kB / 404.6 MB, free: 13.45 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006299/0.4821, allocations: 142.7 kB / 404.7 MB, free: 13.31 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002105/0.4823, allocations: 179.1 kB / 404.9 MB, free: 13.13 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009343/0.4917, allocations: 4.294 MB / 409.2 MB, free: 8.832 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03329/0.525, allocations: 14.94 MB / 424.2 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005341/0.5304, allocations: 4.19 MB / 428.3 MB, free: 5.203 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003656/0.5308, allocations: 134 kB / 428.5 MB, free: 5.059 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.345e-05/0.5308, allocations: 68.44 kB / 428.5 MB, free: 4.984 MB / 334.1 MB Notification: Performance of pre-optimization done (n=198): time 5.941e-06/0.5309, allocations: 0 / 428.5 MB, free: 4.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=218): time 0.02461/0.5555, allocations: 10.31 MB / 438.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.931e-05/0.5556, allocations: 77.41 kB / 438.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005906/0.5615, allocations: 2.447 MB / 441.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003999/0.5619, allocations: 65.7 kB / 441.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001676/0.5636, allocations: 1.619 MB / 443.1 MB, free: 6.277 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009698/0.5646, allocations: 0.7269 MB / 443.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002509/0.5649, allocations: 52 kB / 443.8 MB, free: 5.504 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000256/0.5652, allocations: 394.6 kB / 444.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002493/0.5677, allocations: 1.316 MB / 445.5 MB, free: 3.793 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002828/0.5705, allocations: 1.786 MB / 447.3 MB, free: 1.812 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002785/0.5733, allocations: 1.571 MB / 448.9 MB, free: 252 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.481e-05/0.5733, allocations: 4 kB / 448.9 MB, free: 248 kB / 350.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007933/0.5813, allocations: 4.103 MB / 453 MB, free: 12.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.775e-05/0.5813, allocations: 12 kB / 453 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.115e-05/0.5814, allocations: 16 kB / 453 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002961/0.5843, allocations: 0.8908 MB / 453.9 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002361/0.5867, allocations: 0.5188 MB / 454.4 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01006/0.5968, allocations: 8.956 MB / 463.4 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002711/0.5996, allocations: 123.8 kB / 463.5 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004908/0.6001, allocations: 84 kB / 463.6 MB, free: 1.117 MB / 366.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 (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 initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 25,(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0032/0.6033, allocations: 1.218 MB / 464.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001216/0.6045, allocations: 268.7 kB / 465.1 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007428/0.6119, allocations: 3.762 MB / 468.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.63e-05/0.612, allocations: 23.95 kB / 468.9 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.519e-05/0.612, allocations: 8 kB / 468.9 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-05/0.6121, allocations: 11.97 kB / 468.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01788/0.63, allocations: 8.078 MB / 477 MB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-05/0.63, allocations: 4 kB / 477 MB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001782/0.6318, allocations: 383.8 kB / 477.3 MB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003214/0.6351, allocations: 0.9196 MB / 478.3 MB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002766/0.6354, allocations: 59.98 kB / 478.3 MB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01156/0.6469, allocations: 10.45 MB / 488.8 MB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.647, allocations: 0 / 488.8 MB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00985/0.6568, allocations: 5.793 MB / 494.6 MB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002447/0.6593, allocations: 0.6343 MB / 495.2 MB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001186/0.6605, allocations: 48 kB / 495.2 MB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002249/0.6628, allocations: 123.9 kB / 495.4 MB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005143/0.6633, allocations: 181.7 kB / 495.5 MB, free: 380 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002029/0.6636, allocations: 64.17 kB / 495.6 MB, free: 316 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003792/0.6674, allocations: 1.68 MB / 497.3 MB, free: 14.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6674, allocations: 3.938 kB / 497.3 MB, free: 14.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004738/0.6721, allocations: 0.7969 MB / 498.1 MB, free: 13.82 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 (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 26,(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009022/0.673, allocations: 208.5 kB / 498.3 MB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006985/0.68, allocations: 3.924 MB / 0.4904 GB, free: 9.609 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.6801, allocations: 4.062 kB / 0.4904 GB, free: 9.605 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004123/0.6842, allocations: 2.483 MB / 0.4929 GB, free: 7.051 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004132/0.6884, allocations: 0.7211 MB / 0.4936 GB, free: 6.332 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01658/0.705, allocations: 9.136 MB / 0.5025 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003907/0.7089, allocations: 2.847 MB / 0.5053 GB, free: 10.28 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00388/0.7128, allocations: 0.6905 MB / 0.506 GB, free: 9.582 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/0.7139, allocations: 167.4 kB / 0.5061 GB, free: 9.418 MB / 430.1 MB Notification: Performance of SimCode: time 1.453e-06/0.7139, allocations: 0 / 0.5061 GB, free: 9.418 MB / 430.1 MB Notification: Performance of Templates: time 0.2928/1.007, allocations: 42.3 MB / 0.5474 GB, free: 132.5 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches