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.0011/0.0011, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001185/0.001185, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 247.4 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 56.94 kB / 307.6 MB, free: 0.6719 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08546/0.08668, allocations: 50.54 MB / 358.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01372/0.1004, allocations: 12.91 MB / 371.1 MB, free: 1.152 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1662/0.2667, allocations: 4.254 MB / 375.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001959/0.2687, allocations: 81.5 kB / 375.4 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002512/0.2713, allocations: 0.9722 MB / 376.4 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003935/0.2752, allocations: 1.174 MB / 377.6 MB, free: 9.547 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.2767, allocations: 0.5323 MB / 378.1 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005645/0.2824, allocations: 4.624 MB / 382.7 MB, free: 7.402 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004292/0.2867, allocations: 3.69 MB / 386.4 MB, free: 5.922 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004521/0.2912, allocations: 2.126 MB / 388.5 MB, free: 4.957 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004543/0.2958, allocations: 2.564 MB / 391.1 MB, free: 3.816 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001339/0.2971, allocations: 0.5525 MB / 391.6 MB, free: 3.816 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002152/0.2993, allocations: 0.6496 MB / 392.3 MB, free: 3.797 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001446/0.3008, allocations: 1.52 MB / 393.8 MB, free: 2.965 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003419/0.3042, allocations: 2.488 MB / 396.3 MB, free: 1.367 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006152/0.3104, allocations: 7.365 MB / 403.7 MB, free: 12.06 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3104, allocations: 0 / 403.7 MB, free: 12.06 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3104, allocations: 0 / 403.7 MB, free: 12.06 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001459/0.3105, allocations: 4 kB / 403.7 MB, free: 12.05 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.008966/0.3195, allocations: 4.714 MB / 408.4 MB, free: 7.289 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.3196, allocations: 8.031 kB / 408.4 MB, free: 7.281 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/0.3213, allocations: 0.5345 MB / 408.9 MB, free: 6.742 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004951/0.3263, allocations: 2.508 MB / 411.4 MB, free: 4.199 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000216/0.3265, allocations: 269 kB / 411.7 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006655/0.3272, allocations: 350.3 kB / 412 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008173/0.3354, allocations: 5.035 MB / 417.1 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.141e-05/0.3355, allocations: 3.906 kB / 417.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003269/0.3358, allocations: 147.1 kB / 417.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001736/0.336, allocations: 183 kB / 417.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006938/0.3429, allocations: 4.298 MB / 421.7 MB, free: 9.875 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0231/0.3661, allocations: 14.9 MB / 436.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004334/0.3704, allocations: 4.198 MB / 440.8 MB, free: 6.266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003042/0.3735, allocations: 1.992 MB / 442.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000278/0.3738, allocations: 133.7 kB / 442.9 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/0.3739, allocations: 52.56 kB / 443 MB, free: 4.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 4.529e-06/0.3739, allocations: 8 kB / 443 MB, free: 4.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.02049/0.3944, allocations: 9.946 MB / 452.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.3945, allocations: 77.41 kB / 453 MB, free: 9.938 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0044/0.3989, allocations: 2.514 MB / 455.5 MB, free: 7.402 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002889/0.3992, allocations: 61.7 kB / 455.6 MB, free: 7.336 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001396/0.4006, allocations: 1.631 MB / 457.2 MB, free: 5.691 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008452/0.4014, allocations: 0.7253 MB / 457.9 MB, free: 4.973 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008892/0.4023, allocations: 420.2 kB / 458.3 MB, free: 4.555 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4025, allocations: 301.1 kB / 458.6 MB, free: 4.258 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002302/0.4048, allocations: 1.305 MB / 459.9 MB, free: 2.949 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002595/0.4074, allocations: 1.778 MB / 461.7 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005027/0.4125, allocations: 3.22 MB / 464.9 MB, free: 13.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-05/0.4125, allocations: 8 kB / 464.9 MB, free: 13.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007504/0.42, allocations: 4.071 MB / 469 MB, free: 9.473 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/0.4201, allocations: 12 kB / 469 MB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.834e-05/0.4201, allocations: 12 kB / 469 MB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002865/0.423, allocations: 0.8871 MB / 469.9 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002124/0.4251, allocations: 0.5265 MB / 470.5 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01107/0.4362, allocations: 9.482 MB / 479.9 MB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002092/0.4383, allocations: 111.8 kB / 480 MB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002872/0.4386, allocations: 91.98 kB / 480.1 MB, free: 13.93 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.002326/0.4409, allocations: 1.215 MB / 481.3 MB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000735/0.4417, allocations: 276.7 kB / 481.6 MB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006627/0.4483, allocations: 3.715 MB / 485.3 MB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/0.4483, allocations: 28.08 kB / 485.4 MB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.21e-05/0.4484, allocations: 8 kB / 485.4 MB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.902e-05/0.4484, allocations: 11.95 kB / 485.4 MB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01544/0.4638, allocations: 8.089 MB / 493.5 MB, free: 484 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.527e-05/0.4639, allocations: 7.922 kB / 493.5 MB, free: 476 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001683/0.4656, allocations: 383.8 kB / 493.9 MB, free: 92 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003196/0.4688, allocations: 0.9326 MB / 494.8 MB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000232/0.4691, allocations: 55.98 kB / 494.8 MB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01241/0.4815, allocations: 11.11 MB / 0.4941 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.4815, allocations: 7.984 kB / 0.4941 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009786/0.4913, allocations: 5.506 MB / 0.4995 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00177/0.4931, allocations: 0.6343 MB / 0.5001 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008484/0.494, allocations: 55.98 kB / 0.5001 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001865/0.4959, allocations: 111.9 kB / 0.5003 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005139/0.4964, allocations: 181.7 kB / 0.5004 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001748/0.4966, allocations: 64.08 kB / 0.5005 GB, free: 12.78 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003436/0.5, allocations: 1.735 MB / 0.5022 GB, free: 11.04 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5001, allocations: 0 / 0.5022 GB, free: 11.04 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003433/0.5035, allocations: 0.8008 MB / 0.503 GB, free: 10.23 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.0006746/0.5042, allocations: 233.7 kB / 0.5032 GB, free: 10.01 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01149/0.5157, allocations: 5.708 MB / 0.5088 GB, free: 4.219 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/0.5157, allocations: 3.938 kB / 0.5088 GB, free: 4.215 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00419/0.5199, allocations: 2.476 MB / 0.5112 GB, free: 1.668 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004437/0.5244, allocations: 0.7982 MB / 0.512 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/0.5391, allocations: 7.83 MB / 0.5196 GB, free: 9.008 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003223/0.5424, allocations: 2.738 MB / 0.5223 GB, free: 6.242 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/0.5435, allocations: 191.4 kB / 0.5225 GB, free: 6.055 MB / 446.1 MB Notification: Performance of SimCode: time 1.282e-06/0.5435, allocations: 0 / 0.5225 GB, free: 6.055 MB / 446.1 MB Notification: Performance of Templates: time 0.27/0.8135, allocations: 142.1 MB / 0.6612 GB, free: 23.93 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.0.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