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.001102/0.001102, allocations: 109.8 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001297/0.001297, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 63.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2218, allocations: 50.54 MB / 410 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01354/0.2354, allocations: 12.92 MB / 422.9 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007808/0.2432, allocations: 4.257 MB / 427.2 MB, free: 352 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00152/0.2447, allocations: 75.69 kB / 427.2 MB, free: 276 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002077/0.2469, allocations: 0.9794 MB / 428.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002784/0.2497, allocations: 1.176 MB / 429.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.2507, allocations: 0.5227 MB / 429.9 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004518/0.2553, allocations: 4.657 MB / 434.6 MB, free: 8.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003876/0.2592, allocations: 3.686 MB / 438.3 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003208/0.2624, allocations: 2.138 MB / 440.4 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002959/0.2653, allocations: 2.569 MB / 443 MB, free: 448 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007359/0.2661, allocations: 0.5547 MB / 443.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.2672, allocations: 0.6521 MB / 444.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001316/0.2686, allocations: 1.519 MB / 445.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002657/0.2712, allocations: 2.489 MB / 448.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006766/0.278, allocations: 7.438 MB / 455.6 MB, free: 3.746 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.278, allocations: 0 / 455.6 MB, free: 3.746 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.278, allocations: 0 / 455.6 MB, free: 3.746 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.643e-05/0.2781, allocations: 4 kB / 455.6 MB, free: 3.742 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.008898/0.287, allocations: 4.714 MB / 460.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.2871, allocations: 8.031 kB / 460.3 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00159/0.2887, allocations: 0.5268 MB / 460.9 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004911/0.2936, allocations: 2.587 MB / 463.5 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002045/0.2939, allocations: 267.1 kB / 463.7 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005556/0.2944, allocations: 359.9 kB / 464.1 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008091/0.3025, allocations: 5.029 MB / 469.1 MB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.39e-05/0.3026, allocations: 11.91 kB / 469.1 MB, free: 6.035 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003231/0.303, allocations: 144 kB / 469.3 MB, free: 5.895 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001719/0.3031, allocations: 179.1 kB / 469.4 MB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00703/0.3102, allocations: 4.302 MB / 473.7 MB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02111/0.3313, allocations: 14.71 MB / 488.4 MB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004322/0.3357, allocations: 4.194 MB / 492.6 MB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002965/0.3387, allocations: 1.998 MB / 494.6 MB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002484/0.3389, allocations: 131.1 kB / 494.8 MB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/0.339, allocations: 60.97 kB / 494.8 MB, free: 11.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.857e-06/0.339, allocations: 0 / 494.8 MB, free: 11.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.01857/0.3576, allocations: 9.955 MB / 0.4929 GB, free: 1.594 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.3576, allocations: 77.34 kB / 0.493 GB, free: 1.504 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003515/0.3611, allocations: 2.514 MB / 0.4955 GB, free: 14.97 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001552/0.3613, allocations: 61.7 kB / 0.4955 GB, free: 14.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001155/0.3625, allocations: 1.623 MB / 0.4971 GB, free: 13.26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005654/0.3631, allocations: 0.7355 MB / 0.4978 GB, free: 12.51 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006429/0.3637, allocations: 416.3 kB / 0.4982 GB, free: 12.1 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.233e-05/0.3638, allocations: 309.1 kB / 0.4985 GB, free: 11.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00194/0.3658, allocations: 1.297 MB / 0.4998 GB, free: 10.49 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002221/0.368, allocations: 1.779 MB / 0.5015 GB, free: 8.527 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004264/0.3723, allocations: 3.208 MB / 0.5047 GB, free: 5.137 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.747e-06/0.3723, allocations: 4 kB / 0.5047 GB, free: 5.133 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006357/0.3787, allocations: 4.075 MB / 0.5086 GB, free: 1.031 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.3787, allocations: 8 kB / 0.5086 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/0.3787, allocations: 16.47 kB / 0.5087 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002748/0.3815, allocations: 0.8827 MB / 0.5095 GB, free: 116 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001988/0.3835, allocations: 0.5228 MB / 0.51 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009818/0.3933, allocations: 9.478 MB / 0.5193 GB, free: 5.688 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/0.3953, allocations: 123.8 kB / 0.5194 GB, free: 5.566 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001863/0.3955, allocations: 80 kB / 0.5195 GB, free: 5.488 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.00198/0.3974, allocations: 1.223 MB / 0.5207 GB, free: 4.254 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005435/0.398, allocations: 284.6 kB / 0.521 GB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005964/0.404, allocations: 3.711 MB / 0.5246 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.946e-05/0.404, allocations: 7.969 kB / 0.5246 GB, free: 232 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.404, allocations: 3.984 kB / 0.5246 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001541/0.4056, allocations: 0.6345 MB / 0.5252 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003467/0.4059, allocations: 51.92 kB / 0.5253 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/0.4072, allocations: 119.9 kB / 0.5254 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003545/0.4075, allocations: 185.7 kB / 0.5255 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007352/0.4149, allocations: 3.949 MB / 0.5294 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006791/0.4217, allocations: 5.042 MB / 0.5343 GB, free: 6.176 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001842/0.4236, allocations: 1.479 MB / 0.5358 GB, free: 4.703 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002517/0.4261, allocations: 1.743 MB / 0.5375 GB, free: 2.949 MB / 462.1 MB Notification: Performance of Backend: time 3.71e-07/0.4261, allocations: 0 / 0.5375 GB, free: 2.949 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.1851/0.6113, allocations: 2.88 MB / 0.5403 GB, free: 126.7 MB / 462.1 MB Notification: Performance of SimCode: time 0.01248/0.6238, allocations: 7.852 MB / 0.548 GB, free: 123.7 MB / 462.1 MB Notification: Performance of Templates: time 0.06209/0.6859, allocations: 47.91 MB / 0.5947 GB, free: 81.82 MB / 462.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)