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.001639/0.001639, allocations: 110.9 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002004/0.002004, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 63.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2544, allocations: 50.54 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01366/0.2681, allocations: 12.9 MB / 422.9 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007864/0.276, allocations: 4.253 MB / 427.1 MB, free: 360 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002001/0.278, allocations: 83.62 kB / 427.2 MB, free: 276 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003155/0.2812, allocations: 0.9756 MB / 428.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003468/0.2847, allocations: 1.177 MB / 429.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.286, allocations: 0.5266 MB / 429.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005044/0.2911, allocations: 4.653 MB / 434.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004115/0.2952, allocations: 3.69 MB / 438.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003258/0.2985, allocations: 2.135 MB / 440.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002981/0.3015, allocations: 2.561 MB / 442.9 MB, free: 456 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007649/0.3023, allocations: 0.5508 MB / 443.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.3034, allocations: 0.6521 MB / 444.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001289/0.3047, allocations: 1.519 MB / 445.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002458/0.3072, allocations: 2.493 MB / 448.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006926/0.3141, allocations: 7.435 MB / 455.6 MB, free: 3.758 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3141, allocations: 0 / 455.6 MB, free: 3.758 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3142, allocations: 0 / 455.6 MB, free: 3.758 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001421/0.3143, allocations: 4 kB / 455.6 MB, free: 3.754 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.009612/0.3239, allocations: 4.718 MB / 460.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.324, allocations: 8.031 kB / 460.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001624/0.3256, allocations: 0.5268 MB / 460.8 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004993/0.3306, allocations: 2.587 MB / 463.4 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/0.3308, allocations: 267 kB / 463.7 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005453/0.3314, allocations: 355.9 kB / 464 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00799/0.3394, allocations: 5.032 MB / 469 MB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.861e-05/0.3395, allocations: 11.84 kB / 469 MB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003451/0.3398, allocations: 148 kB / 469.2 MB, free: 5.898 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001714/0.34, allocations: 179.1 kB / 469.4 MB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007161/0.3472, allocations: 4.294 MB / 473.7 MB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02322/0.3704, allocations: 14.71 MB / 488.4 MB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00424/0.3747, allocations: 4.198 MB / 492.6 MB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003047/0.3778, allocations: 1.987 MB / 494.6 MB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002747/0.378, allocations: 143 kB / 494.7 MB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/0.3781, allocations: 52.56 kB / 494.8 MB, free: 11.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 4.468e-06/0.3781, allocations: 384 / 494.8 MB, free: 11.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.01924/0.3974, allocations: 9.959 MB / 0.4929 GB, free: 1.602 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.3974, allocations: 77.41 kB / 0.493 GB, free: 1.512 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004087/0.4015, allocations: 2.514 MB / 0.4954 GB, free: 14.97 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001688/0.4017, allocations: 61.7 kB / 0.4955 GB, free: 14.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001157/0.4029, allocations: 1.626 MB / 0.4971 GB, free: 13.26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006126/0.4035, allocations: 0.7315 MB / 0.4978 GB, free: 12.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007327/0.4043, allocations: 420.3 kB / 0.4982 GB, free: 12.1 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.903e-05/0.4044, allocations: 301.1 kB / 0.4985 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002012/0.4064, allocations: 1.301 MB / 0.4997 GB, free: 10.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002364/0.4088, allocations: 1.771 MB / 0.5015 GB, free: 8.543 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004595/0.4134, allocations: 3.219 MB / 0.5046 GB, free: 5.141 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.449e-05/0.4134, allocations: 4 kB / 0.5046 GB, free: 5.137 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007097/0.4205, allocations: 4.067 MB / 0.5086 GB, free: 1.043 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.4205, allocations: 12 kB / 0.5086 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.773e-05/0.4206, allocations: 15.98 kB / 0.5086 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002809/0.4234, allocations: 0.8757 MB / 0.5095 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002117/0.4255, allocations: 0.5343 MB / 0.51 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0102/0.4357, allocations: 9.466 MB / 0.5192 GB, free: 5.707 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002003/0.4378, allocations: 127.8 kB / 0.5193 GB, free: 5.582 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003119/0.4381, allocations: 88 kB / 0.5194 GB, free: 5.496 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.002161/0.4403, allocations: 1.215 MB / 0.5206 GB, free: 4.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007089/0.441, allocations: 280.6 kB / 0.5209 GB, free: 3.992 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006377/0.4474, allocations: 3.719 MB / 0.5245 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.997e-05/0.4474, allocations: 7.969 kB / 0.5245 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.4474, allocations: 0 / 0.5245 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001626/0.449, allocations: 0.6383 MB / 0.5251 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005932/0.4496, allocations: 55.92 kB / 0.5252 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001514/0.4512, allocations: 119.9 kB / 0.5253 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003832/0.4516, allocations: 181.7 kB / 0.5255 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007549/0.4591, allocations: 3.956 MB / 0.5294 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007062/0.4662, allocations: 5.042 MB / 0.5343 GB, free: 6.184 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001914/0.4681, allocations: 1.471 MB / 0.5357 GB, free: 4.715 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003024/0.4712, allocations: 1.735 MB / 0.5374 GB, free: 2.969 MB / 462.1 MB Notification: Performance of Backend: time 5.31e-07/0.4712, allocations: 0 / 0.5374 GB, free: 2.969 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.1944/0.6656, allocations: 2.889 MB / 0.5402 GB, free: 126.9 MB / 462.1 MB Notification: Performance of SimCode: time 0.01277/0.6784, allocations: 7.845 MB / 0.5479 GB, free: 123.9 MB / 462.1 MB Notification: Performance of Templates: time 0.06172/0.7402, allocations: 47.92 MB / 0.5947 GB, free: 82.08 MB / 462.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)