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.001658/0.001666, allocations: 110.2 kB / 17.75 MB, free: 5.348 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.001967/0.001967, allocations: 185.4 kB / 18.68 MB, free: 4.426 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.34/1.34, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000933/0.000933, allocations: 51.92 kB / 352 MB, free: 3.207 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2389, allocations: 49.43 MB / 401.5 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01351/0.2524, allocations: 12.89 MB / 414.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007281/0.2597, allocations: 4.183 MB / 418.5 MB, free: 7.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001403/0.2612, allocations: 79.69 kB / 418.6 MB, free: 7.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002112/0.2633, allocations: 1.006 MB / 419.6 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002915/0.2662, allocations: 1.231 MB / 420.8 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009878/0.2672, allocations: 0.511 MB / 421.4 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004983/0.2722, allocations: 4.632 MB / 426 MB, free: 256 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004085/0.2764, allocations: 3.697 MB / 429.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003306/0.2797, allocations: 2.138 MB / 431.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003246/0.2829, allocations: 2.561 MB / 434.4 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007706/0.2837, allocations: 0.5508 MB / 434.9 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.2849, allocations: 0.6404 MB / 435.6 MB, free: 6.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001353/0.2863, allocations: 1.519 MB / 437.1 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002616/0.2889, allocations: 2.485 MB / 439.6 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006968/0.2959, allocations: 7.439 MB / 447 MB, free: 11.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2959, allocations: 0 / 447 MB, free: 11.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2959, allocations: 0 / 447 MB, free: 11.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001348/0.2961, allocations: 0 / 447 MB, free: 11.11 MB / 366.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.009355/0.3054, allocations: 4.807 MB / 451.8 MB, free: 6.227 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.3055, allocations: 16.02 kB / 451.8 MB, free: 6.211 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/0.3068, allocations: 0.5137 MB / 452.4 MB, free: 5.695 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004112/0.3109, allocations: 2.581 MB / 454.9 MB, free: 3.066 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001908/0.3111, allocations: 271 kB / 455.2 MB, free: 2.801 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000517/0.3116, allocations: 351.9 kB / 455.5 MB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007924/0.3196, allocations: 5.025 MB / 460.6 MB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-05/0.3196, allocations: 15.89 kB / 460.6 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003165/0.32, allocations: 148 kB / 460.7 MB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001703/0.3202, allocations: 183 kB / 460.9 MB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006918/0.3271, allocations: 4.291 MB / 465.2 MB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02152/0.3486, allocations: 14.76 MB / 480 MB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004221/0.3529, allocations: 4.187 MB / 484.1 MB, free: 5.156 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003029/0.3559, allocations: 1.983 MB / 486.1 MB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002899/0.3562, allocations: 147 kB / 486.3 MB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.3563, allocations: 56.56 kB / 486.3 MB, free: 2.945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=198): time 3.858e-06/0.3563, allocations: 0 / 486.3 MB, free: 2.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=218): time 0.01976/0.3761, allocations: 10.01 MB / 496.3 MB, free: 8.828 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.3761, allocations: 73.41 kB / 496.4 MB, free: 8.742 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003632/0.3798, allocations: 2.514 MB / 498.9 MB, free: 6.207 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002006/0.38, allocations: 61.7 kB / 499 MB, free: 6.141 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001192/0.3812, allocations: 1.65 MB / 0.4889 GB, free: 4.473 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006658/0.3819, allocations: 0.7707 MB / 0.4897 GB, free: 3.695 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006944/0.3826, allocations: 424.4 kB / 0.4901 GB, free: 3.273 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3827, allocations: 305.1 kB / 0.4904 GB, free: 2.973 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001999/0.3847, allocations: 1.301 MB / 0.4916 GB, free: 1.668 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002282/0.387, allocations: 1.782 MB / 0.4934 GB, free: 15.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004507/0.3915, allocations: 3.204 MB / 0.4965 GB, free: 12.31 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/0.3915, allocations: 4 kB / 0.4965 GB, free: 12.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006864/0.3984, allocations: 4.084 MB / 0.5005 GB, free: 8.199 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.3985, allocations: 12 kB / 0.5005 GB, free: 8.188 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.3985, allocations: 12 kB / 0.5005 GB, free: 8.176 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002811/0.4013, allocations: 0.8799 MB / 0.5014 GB, free: 7.281 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002066/0.4034, allocations: 0.5227 MB / 0.5019 GB, free: 6.758 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009959/0.4133, allocations: 9.494 MB / 0.5111 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/0.4152, allocations: 123.9 kB / 0.5113 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/0.4154, allocations: 87.98 kB / 0.5113 GB, free: 12.64 MB / 446.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.00199/0.4174, allocations: 1.212 MB / 0.5125 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000503/0.4179, allocations: 286.2 kB / 0.5128 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006257/0.4241, allocations: 3.722 MB / 0.5164 GB, free: 7.387 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.312e-05/0.4242, allocations: 7.969 kB / 0.5164 GB, free: 7.379 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.4242, allocations: 3.984 kB / 0.5165 GB, free: 7.375 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00138/0.4256, allocations: 0.6475 MB / 0.5171 GB, free: 6.707 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003971/0.426, allocations: 47.92 kB / 0.5171 GB, free: 6.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/0.4273, allocations: 123.9 kB / 0.5172 GB, free: 6.539 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000392/0.4277, allocations: 181.7 kB / 0.5174 GB, free: 6.359 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007789/0.4355, allocations: 3.945 MB / 0.5213 GB, free: 2.395 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007283/0.4428, allocations: 5.055 MB / 0.5262 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002164/0.445, allocations: 1.472 MB / 0.5276 GB, free: 11.84 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002646/0.4476, allocations: 1.73 MB / 0.5293 GB, free: 10.1 MB / 462.1 MB Notification: Performance of Backend: time 4.3e-07/0.4477, allocations: 0 / 0.5293 GB, free: 10.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005706/0.4534, allocations: 2.9 MB / 0.5322 GB, free: 7.121 MB / 462.1 MB Notification: Performance of SimCode: time 0.1869/0.6403, allocations: 7.951 MB / 0.5399 GB, free: 130.1 MB / 462.1 MB Notification: Performance of Templates: time 0.05989/0.7002, allocations: 47.74 MB / 0.5866 GB, free: 93.09 MB / 462.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 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1)