Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.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.ComparisonPolyphase.IMS_Start_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aims3.rotor.zeroInductor.i0|aims3.is.1.|aims3.is.2.|aims3.ir.1.|aims3.ir.2.|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.rotor.zeroInductor.i0|aimsM.is.1.|aimsM.is.2.|aimsM.is.3.|aimsM.is.4.|aimsM.ir.1.|aimsM.ir.2.|aimsM.ir.3.|aimsM.ir.4.|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aims3.rotor.zeroInductor.i0|aims3.is.1.|aims3.is.2.|aims3.ir.1.|aims3.ir.2.|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aims3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimsM.rotor.zeroInductor.i0|aimsM.is.1.|aimsM.is.2.|aimsM.is.3.|aimsM.is.4.|aimsM.ir.1.|aimsM.ir.2.|aimsM.ir.3.|aimsM.ir.4.|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001047/0.001047, allocations: 115.1 kB / 18.46 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001148/0.001148, allocations: 202.7 kB / 19.41 MB, free: 3.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 55.91 kB / 359.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2148, allocations: 50.54 MB / 410 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase): time 0.02849/0.2433, allocations: 29.73 MB / 439.7 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01579/0.2592, allocations: 8.269 MB / 448 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004938/0.2641, allocations: 207.2 kB / 448.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005653/0.2698, allocations: 2.056 MB / 450.2 MB, free: 9.113 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008689/0.2785, allocations: 2.846 MB / 453.1 MB, free: 6.25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004908/0.2835, allocations: 1.753 MB / 454.8 MB, free: 4.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01423/0.2977, allocations: 12.86 MB / 467.7 MB, free: 7.598 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01606/0.3138, allocations: 11.18 MB / 478.9 MB, free: 12.31 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009846/0.3237, allocations: 6.048 MB / 484.9 MB, free: 6.242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01064/0.3344, allocations: 7.147 MB / 492.1 MB, free: 15.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004253/0.3386, allocations: 1.68 MB / 493.8 MB, free: 13.39 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006051/0.3447, allocations: 1.89 MB / 495.6 MB, free: 11.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005066/0.3498, allocations: 3.826 MB / 499.5 MB, free: 7.664 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01128/0.3611, allocations: 6.998 MB / 0.4946 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02386/0.385, allocations: 21.91 MB / 0.516 GB, free: 10.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.385, allocations: 4 kB / 0.516 GB, free: 10.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.385, allocations: 0 / 0.516 GB, free: 10.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006135/0.3857, allocations: 0 / 0.516 GB, free: 10.66 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2681 * Number of variables: 2681 Notification: Performance of Generate backend data structure: time 0.03834/0.424, allocations: 13.42 MB / 0.5291 GB, free: 13.11 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.4241, allocations: 8.031 kB / 0.5291 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0137/0.4378, allocations: 2.407 MB / 0.5315 GB, free: 10.68 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01709/0.4549, allocations: 8.125 MB / 0.5394 GB, free: 2.469 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006611/0.4556, allocations: 0.7429 MB / 0.5401 GB, free: 1.723 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002698/0.4583, allocations: 0.9957 MB / 0.5411 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3543/0.8126, allocations: 14.44 MB / 0.5552 GB, free: 104.3 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001655/0.8128, allocations: 7.938 kB / 0.5552 GB, free: 104.3 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008805/0.8137, allocations: 419.3 kB / 0.5556 GB, free: 104 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002575/0.8139, allocations: 453.2 kB / 0.556 GB, free: 103.9 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01665/0.8306, allocations: 12.57 MB / 0.5683 GB, free: 95.53 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0488/0.8794, allocations: 43.89 MB / 0.6112 GB, free: 51.64 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01782/0.8973, allocations: 27.17 MB / 0.6377 GB, free: 22 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00801/0.9053, allocations: 5.694 MB / 0.6433 GB, free: 16.29 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01859/0.9239, allocations: 13.33 MB / 0.6563 GB, free: 2.867 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.924, allocations: 81.89 kB / 0.6564 GB, free: 2.777 MB / 462.1 MB Notification: Performance of pre-optimization done (n=423): time 6.532e-06/0.924, allocations: 1.5 kB / 0.6564 GB, free: 2.777 MB / 462.1 MB Notification: Performance of matching and sorting (n=429): time 0.04644/0.9704, allocations: 22.37 MB / 0.6782 GB, free: 12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.9705, allocations: 94.78 kB / 0.6783 GB, free: 11.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008368/0.9789, allocations: 5.611 MB / 0.6838 GB, free: 6.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002794/0.9792, allocations: 101.7 kB / 0.6839 GB, free: 6.164 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002979/0.9822, allocations: 4.541 MB / 0.6883 GB, free: 1.598 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001061/0.9832, allocations: 1.438 MB / 0.6897 GB, free: 176 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001411/0.9846, allocations: 0.883 MB / 0.6906 GB, free: 15.29 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 8.218e-05/0.9847, allocations: 301.1 kB / 0.6909 GB, free: 15 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003804/0.9885, allocations: 2.477 MB / 0.6933 GB, free: 12.51 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004769/0.9933, allocations: 3.747 MB / 0.6969 GB, free: 8.227 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008659/1.002, allocations: 6.441 MB / 0.7032 GB, free: 1.258 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.511e-05/1.002, allocations: 12 kB / 0.7032 GB, free: 1.246 MB / 0.4982 GB Notification: Performance of matching and sorting (n=634) (initialization): time 0.01324/1.015, allocations: 8.554 MB / 0.7116 GB, free: 8.566 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 4.091e-05/1.015, allocations: 28.92 kB / 0.7116 GB, free: 8.539 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.395e-05/1.015, allocations: 40 kB / 0.7117 GB, free: 8.5 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003982/1.019, allocations: 1.716 MB / 0.7133 GB, free: 6.738 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003769/1.023, allocations: 0.9906 MB / 0.7143 GB, free: 5.746 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02846/1.052, allocations: 30.88 MB / 0.7445 GB, free: 4.91 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004369/1.056, allocations: 223.7 kB / 0.7447 GB, free: 4.691 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003882/1.056, allocations: 204 kB / 0.7449 GB, free: 4.492 MB / 0.5451 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 168 * Number of states: 0 () * Number of discrete variables: 16 (idealCloser3.control[3],idealCloser3.control[2],idealCloser3.control[1],idealCloserM.control[5],idealCloserM.control[4],idealCloserM.control[3],idealCloserM.control[2],idealCloserM.control[1],rheostat3.booleanStep[3].y,rheostat3.booleanStep[2].y,rheostat3.booleanStep[1].y,rheostatM.booleanStep[5].y,rheostatM.booleanStep[4].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (541): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 14 * 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): 14 systems {(1,1,100.0%), (1,8,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,1,100.0%), (4,24,93.8%), (2,6,100.0%), (2,6,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005535/1.062, allocations: 3.32 MB / 0.7481 GB, free: 1.16 MB / 0.5451 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001091/1.063, allocations: 0.5982 MB / 0.7487 GB, free: 0.5547 MB / 0.5451 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2108/1.274, allocations: 8.263 MB / 0.7568 GB, free: 183.9 MB / 0.5451 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.119e-05/1.274, allocations: 26.06 kB / 0.7568 GB, free: 183.9 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/1.274, allocations: 3.812 kB / 0.7568 GB, free: 183.9 MB / 0.5451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002824/1.277, allocations: 1.215 MB / 0.758 GB, free: 183.5 MB / 0.5451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001328/1.278, allocations: 82.97 kB / 0.7581 GB, free: 183.4 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003023/1.281, allocations: 219.9 kB / 0.7583 GB, free: 183.3 MB / 0.5451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007852/1.282, allocations: 492.8 kB / 0.7587 GB, free: 183.3 MB / 0.5451 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01409/1.296, allocations: 7.943 MB / 0.7665 GB, free: 180.7 MB / 0.5451 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01054/1.307, allocations: 8.605 MB / 0.7749 GB, free: 177.6 MB / 0.5451 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002958/1.31, allocations: 2.63 MB / 0.7775 GB, free: 176.6 MB / 0.5451 GB Notification: Performance of sorting global known variables: time 0.005107/1.315, allocations: 3.833 MB / 0.7812 GB, free: 175.2 MB / 0.5451 GB Notification: Performance of Backend: time 5.31e-07/1.315, allocations: 0 / 0.7812 GB, free: 175.2 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.009012/1.324, allocations: 6.238 MB / 0.7873 GB, free: 171.4 MB / 0.5451 GB Notification: Performance of SimCode: time 0.0267/1.351, allocations: 20.18 MB / 0.807 GB, free: 152 MB / 0.5451 GB Notification: Performance of Templates: time 0.137/1.488, allocations: 103.5 MB / 0.9081 GB, free: 49.43 MB / 0.5451 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.pipe 2>&1)