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.001153/0.001153, allocations: 109.9 kB / 18.46 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.001225/0.001225, 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.325/1.325, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 59.91 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.225, allocations: 50.55 MB / 410 MB, free: 1.699 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase): time 0.0289/0.254, allocations: 29.72 MB / 439.7 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01523/0.2692, allocations: 8.277 MB / 448 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004747/0.274, allocations: 207.2 kB / 448.2 MB, free: 11.35 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005435/0.2795, allocations: 1.992 MB / 450.2 MB, free: 9.344 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008495/0.288, allocations: 2.729 MB / 452.9 MB, free: 6.598 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005039/0.2931, allocations: 1.754 MB / 454.7 MB, free: 4.848 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01518/0.3083, allocations: 12.84 MB / 467.5 MB, free: 7.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01557/0.3239, allocations: 11.2 MB / 478.7 MB, free: 12.65 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00829/0.3322, allocations: 6.037 MB / 484.7 MB, free: 6.598 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01043/0.3427, allocations: 7.147 MB / 491.9 MB, free: 15.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004103/0.3468, allocations: 1.676 MB / 493.6 MB, free: 13.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005578/0.3524, allocations: 1.894 MB / 495.4 MB, free: 11.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005437/0.3578, allocations: 3.826 MB / 499.3 MB, free: 8.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01275/0.3706, allocations: 6.998 MB / 0.4944 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02353/0.3942, allocations: 21.92 MB / 0.5158 GB, free: 11.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3942, allocations: 0 / 0.5158 GB, free: 11.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3942, allocations: 0 / 0.5158 GB, free: 11.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005475/0.3948, allocations: 0 / 0.5158 GB, free: 11.01 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.0375/0.4323, allocations: 13.41 MB / 0.5289 GB, free: 13.47 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.4323, allocations: 8.031 kB / 0.5289 GB, free: 13.46 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01371/0.4461, allocations: 2.407 MB / 0.5313 GB, free: 11.04 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01859/0.4647, allocations: 8.125 MB / 0.5392 GB, free: 2.824 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008084/0.4655, allocations: 0.7507 MB / 0.5399 GB, free: 2.07 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00317/0.4687, allocations: 0.984 MB / 0.5409 GB, free: 1.086 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3729/0.8416, allocations: 14.45 MB / 0.555 GB, free: 104.6 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001954/0.8418, allocations: 17.17 kB / 0.555 GB, free: 104.6 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000942/0.8428, allocations: 414.4 kB / 0.5554 GB, free: 104.2 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002594/0.843, allocations: 455.9 kB / 0.5559 GB, free: 104.2 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01915/0.8622, allocations: 12.57 MB / 0.5681 GB, free: 96.02 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05357/0.9158, allocations: 43.91 MB / 0.611 GB, free: 52.12 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01757/0.9334, allocations: 27.17 MB / 0.6375 GB, free: 22.48 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007849/0.9413, allocations: 5.686 MB / 0.6431 GB, free: 16.78 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01806/0.9594, allocations: 13.33 MB / 0.6561 GB, free: 3.355 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.587e-05/0.9594, allocations: 89.81 kB / 0.6562 GB, free: 3.258 MB / 462.1 MB Notification: Performance of pre-optimization done (n=423): time 5.581e-06/0.9594, allocations: 0 / 0.6562 GB, free: 3.258 MB / 462.1 MB Notification: Performance of matching and sorting (n=429): time 0.04632/1.006, allocations: 22.37 MB / 0.678 GB, free: 12.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/1.006, allocations: 94.78 kB / 0.6781 GB, free: 12.38 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007807/1.014, allocations: 5.616 MB / 0.6836 GB, free: 6.746 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004399/1.014, allocations: 97.7 kB / 0.6837 GB, free: 6.645 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003002/1.017, allocations: 4.546 MB / 0.6881 GB, free: 2.074 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001211/1.018, allocations: 1.432 MB / 0.6895 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001355/1.02, allocations: 0.882 MB / 0.6904 GB, free: 15.76 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 8.376e-05/1.02, allocations: 301.1 kB / 0.6907 GB, free: 15.46 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003749/1.024, allocations: 2.473 MB / 0.6931 GB, free: 12.98 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004426/1.028, allocations: 3.747 MB / 0.6968 GB, free: 8.699 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008411/1.036, allocations: 6.445 MB / 0.7031 GB, free: 1.727 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-05/1.036, allocations: 12 kB / 0.7031 GB, free: 1.715 MB / 0.4982 GB Notification: Performance of matching and sorting (n=634) (initialization): time 0.01329/1.05, allocations: 8.554 MB / 0.7114 GB, free: 9.039 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 4.006e-05/1.05, allocations: 20.94 kB / 0.7114 GB, free: 9.02 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.818e-05/1.05, allocations: 36 kB / 0.7115 GB, free: 8.984 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004005/1.054, allocations: 1.727 MB / 0.7132 GB, free: 7.207 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003911/1.058, allocations: 0.9906 MB / 0.7141 GB, free: 6.215 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02831/1.086, allocations: 30.87 MB / 0.7443 GB, free: 5.398 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004124/1.09, allocations: 223.8 kB / 0.7445 GB, free: 5.18 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007259/1.091, allocations: 200 kB / 0.7447 GB, free: 4.984 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.006064/1.097, allocations: 3.332 MB / 0.7479 GB, free: 1.641 MB / 0.5451 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001448/1.099, allocations: 0.5982 MB / 0.7485 GB, free: 1.035 MB / 0.5451 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2169/1.315, allocations: 8.266 MB / 0.7566 GB, free: 184.3 MB / 0.5451 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.228e-05/1.316, allocations: 18.28 kB / 0.7566 GB, free: 184.3 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/1.316, allocations: 3.844 kB / 0.7566 GB, free: 184.3 MB / 0.5451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003209/1.319, allocations: 1.22 MB / 0.7578 GB, free: 183.8 MB / 0.5451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007053/1.319, allocations: 83.47 kB / 0.7579 GB, free: 183.8 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002423/1.322, allocations: 224.9 kB / 0.7581 GB, free: 183.7 MB / 0.5451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007016/1.323, allocations: 490.2 kB / 0.7586 GB, free: 183.7 MB / 0.5451 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01295/1.336, allocations: 7.94 MB / 0.7663 GB, free: 181.1 MB / 0.5451 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01031/1.346, allocations: 8.606 MB / 0.7747 GB, free: 177.9 MB / 0.5451 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002819/1.349, allocations: 2.63 MB / 0.7773 GB, free: 177 MB / 0.5451 GB Notification: Performance of sorting global known variables: time 0.00484/1.354, allocations: 3.831 MB / 0.781 GB, free: 175.6 MB / 0.5451 GB Notification: Performance of Backend: time 4.51e-07/1.354, allocations: 0 / 0.781 GB, free: 175.6 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.009786/1.363, allocations: 6.242 MB / 0.7871 GB, free: 171.7 MB / 0.5451 GB Notification: Performance of SimCode: time 0.02786/1.391, allocations: 20.17 MB / 0.8068 GB, free: 152.7 MB / 0.5451 GB Notification: Performance of Templates: time 0.138/1.529, allocations: 103.5 MB / 0.9079 GB, free: 50.05 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)