Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001592/0.001592, allocations: 111 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001922/0.001922, allocations: 207.9 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 59.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2131, allocations: 50.54 MB / 410 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01733/0.2305, allocations: 17.43 MB / 427.4 MB, free: 72 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009842/0.2404, allocations: 5.942 MB / 433.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001888/0.2423, allocations: 119.5 kB / 433.4 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002893/0.2452, allocations: 1.36 MB / 434.8 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004425/0.2496, allocations: 1.755 MB / 436.6 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002182/0.2518, allocations: 1.104 MB / 437.7 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006088/0.2579, allocations: 6.334 MB / 444 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005525/0.2635, allocations: 5.387 MB / 449.4 MB, free: 9.926 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004345/0.2678, allocations: 2.961 MB / 452.4 MB, free: 6.969 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004303/0.2722, allocations: 3.468 MB / 455.8 MB, free: 3.488 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001038/0.2732, allocations: 0.7891 MB / 456.6 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001912/0.2751, allocations: 1.082 MB / 457.7 MB, free: 1.617 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001516/0.2767, allocations: 1.866 MB / 459.6 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003358/0.28, allocations: 3.357 MB / 462.9 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00954/0.2896, allocations: 10.57 MB / 473.5 MB, free: 1.777 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.2896, allocations: 3.984 kB / 473.5 MB, free: 1.773 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2896, allocations: 4 kB / 473.5 MB, free: 1.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001856/0.2898, allocations: 0 / 473.5 MB, free: 1.77 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.01544/0.3053, allocations: 6.553 MB / 480 MB, free: 11.13 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.3053, allocations: 12.03 kB / 480.1 MB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005777/0.3111, allocations: 1.087 MB / 481.1 MB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007681/0.3188, allocations: 3.685 MB / 484.8 MB, free: 6.266 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003068/0.3191, allocations: 361.7 kB / 485.2 MB, free: 5.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001052/0.3202, allocations: 487.8 kB / 485.7 MB, free: 5.434 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01229/0.3325, allocations: 6.885 MB / 492.5 MB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000108/0.3326, allocations: 3.938 kB / 492.5 MB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005703/0.3332, allocations: 200 kB / 492.7 MB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002106/0.3334, allocations: 237.8 kB / 493 MB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01038/0.3438, allocations: 5.937 MB / 498.9 MB, free: 8.086 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03146/0.3753, allocations: 20.74 MB / 0.5075 GB, free: 2.891 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009502/0.3848, allocations: 9.975 MB / 0.5172 GB, free: 7.887 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00384/0.3887, allocations: 2.466 MB / 0.5196 GB, free: 5.414 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01122/0.3999, allocations: 6.731 MB / 0.5262 GB, free: 14.51 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/0.4, allocations: 56.56 kB / 0.5262 GB, free: 14.45 MB / 462.1 MB Notification: Performance of pre-optimization done (n=219): time 3.617e-06/0.4, allocations: 3.938 kB / 0.5262 GB, free: 14.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=226): time 0.0176/0.4176, allocations: 9.671 MB / 0.5357 GB, free: 4.562 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.4177, allocations: 73.41 kB / 0.5358 GB, free: 4.477 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004577/0.4222, allocations: 3.013 MB / 0.5387 GB, free: 1.449 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000162/0.4224, allocations: 69.7 kB / 0.5388 GB, free: 1.375 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1824/0.6048, allocations: 2.175 MB / 0.5409 GB, free: 121.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008339/0.6057, allocations: 0.7566 MB / 0.5416 GB, free: 121.1 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001149/0.6068, allocations: 465.4 kB / 0.5421 GB, free: 121.1 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.777e-05/0.6069, allocations: 306.4 kB / 0.5424 GB, free: 120.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002286/0.6092, allocations: 1.29 MB / 0.5436 GB, free: 120.6 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002226/0.6114, allocations: 1.922 MB / 0.5455 GB, free: 119.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003645/0.6151, allocations: 3.343 MB / 0.5488 GB, free: 117.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.185e-05/0.6151, allocations: 3.938 kB / 0.5488 GB, free: 117.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.006129/0.6212, allocations: 4.255 MB / 0.5529 GB, free: 115.7 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.6213, allocations: 11.5 kB / 0.5529 GB, free: 115.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.67e-05/0.6213, allocations: 22.91 kB / 0.553 GB, free: 115.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002362/0.6237, allocations: 0.7652 MB / 0.5537 GB, free: 115.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002067/0.6257, allocations: 0.5634 MB / 0.5543 GB, free: 115.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008065/0.6338, allocations: 10.87 MB / 0.5649 GB, free: 107 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001929/0.6358, allocations: 107.2 kB / 0.565 GB, free: 107 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002157/0.636, allocations: 107.3 kB / 0.5651 GB, free: 106.9 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * 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 (278): * Single equations (assignments): 273 * 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,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002127/0.6381, allocations: 1.626 MB / 0.5667 GB, free: 105.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005885/0.6387, allocations: 315.7 kB / 0.567 GB, free: 105.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005338/0.6441, allocations: 3.908 MB / 0.5708 GB, free: 101.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.715e-05/0.6441, allocations: 10.38 kB / 0.5708 GB, free: 101.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.6441, allocations: 4 kB / 0.5708 GB, free: 101.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/0.6455, allocations: 0.6846 MB / 0.5715 GB, free: 101.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004767/0.646, allocations: 51.92 kB / 0.5715 GB, free: 101 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/0.6473, allocations: 103.9 kB / 0.5716 GB, free: 100.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003188/0.6477, allocations: 209.6 kB / 0.5718 GB, free: 100.7 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006354/0.654, allocations: 3.926 MB / 0.5756 GB, free: 96.82 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005311/0.6593, allocations: 4.836 MB / 0.5804 GB, free: 91.96 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001455/0.6608, allocations: 1.413 MB / 0.5817 GB, free: 90.55 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002623/0.6635, allocations: 2.082 MB / 0.5838 GB, free: 88.47 MB / 462.1 MB Notification: Performance of Backend: time 5.31e-07/0.6635, allocations: 0 / 0.5838 GB, free: 88.47 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005379/0.6688, allocations: 3.071 MB / 0.5868 GB, free: 85.38 MB / 462.1 MB Notification: Performance of SimCode: time 0.01348/0.6823, allocations: 9.886 MB / 0.5964 GB, free: 75.48 MB / 462.1 MB Notification: Performance of Templates: time 0.07381/0.7562, allocations: 55.35 MB / 0.6505 GB, free: 20.72 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1)