Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001108, allocations: 114.3 kB / 17.75 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 185.3 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 51.92 kB / 352 MB, free: 3.191 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2227, allocations: 49.43 MB / 401.5 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase): time 0.02656/0.2493, allocations: 27.98 MB / 429.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01453/0.2638, allocations: 7.714 MB / 437.2 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00446/0.2683, allocations: 195.2 kB / 437.3 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005654/0.274, allocations: 1.98 MB / 439.3 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008677/0.2827, allocations: 2.773 MB / 442.1 MB, free: 36 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004927/0.2877, allocations: 1.674 MB / 443.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01409/0.3018, allocations: 12.57 MB / 456.3 MB, free: 1.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01506/0.3169, allocations: 11.16 MB / 467.5 MB, free: 6.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008154/0.325, allocations: 5.959 MB / 473.5 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009943/0.335, allocations: 6.741 MB / 480.2 MB, free: 9.738 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00417/0.3392, allocations: 1.672 MB / 481.9 MB, free: 8.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005563/0.3448, allocations: 1.871 MB / 483.7 MB, free: 6.195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005305/0.3501, allocations: 3.802 MB / 487.5 MB, free: 2.383 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01194/0.3621, allocations: 6.909 MB / 494.5 MB, free: 11.45 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02348/0.3856, allocations: 21.72 MB / 0.5041 GB, free: 5.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3856, allocations: 0 / 0.5041 GB, free: 5.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3856, allocations: 0 / 0.5041 GB, free: 5.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005431/0.3862, allocations: 0 / 0.5041 GB, free: 5.66 MB / 430.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.03826/0.4245, allocations: 13.2 MB / 0.517 GB, free: 8.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.4245, allocations: 12.03 kB / 0.517 GB, free: 8.328 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0135/0.438, allocations: 2.317 MB / 0.5192 GB, free: 5.996 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01778/0.4559, allocations: 7.934 MB / 0.527 GB, free: 13.97 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000676/0.4566, allocations: 0.7429 MB / 0.5277 GB, free: 13.22 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003041/0.4596, allocations: 0.9882 MB / 0.5287 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3818/0.8415, allocations: 14.44 MB / 0.5428 GB, free: 111.5 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002221/0.8417, allocations: 14.38 kB / 0.5428 GB, free: 111.5 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001231/0.843, allocations: 415.5 kB / 0.5432 GB, free: 111.3 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005849/0.8436, allocations: 464.6 kB / 0.5436 GB, free: 111.3 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02125/0.8648, allocations: 12.56 MB / 0.5559 GB, free: 105.8 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06204/0.9269, allocations: 43.38 MB / 0.5983 GB, free: 69.39 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0178/0.9447, allocations: 25.09 MB / 0.6228 GB, free: 42.06 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00643/0.9512, allocations: 4.882 MB / 0.6275 GB, free: 37.17 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01814/0.9693, allocations: 12.05 MB / 0.6393 GB, free: 25.12 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/0.9694, allocations: 85.89 kB / 0.6394 GB, free: 25.02 MB / 462.1 MB Notification: Performance of pre-optimization done (n=423): time 5.621e-06/0.9694, allocations: 0 / 0.6394 GB, free: 25.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=429): time 0.05102/1.02, allocations: 21.83 MB / 0.6607 GB, free: 2.781 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/1.021, allocations: 94.78 kB / 0.6608 GB, free: 2.676 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01013/1.031, allocations: 5.394 MB / 0.6661 GB, free: 13.3 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008197/1.032, allocations: 97.7 kB / 0.6662 GB, free: 13.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004289/1.036, allocations: 4.451 MB / 0.6705 GB, free: 8.723 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002038/1.038, allocations: 1.428 MB / 0.6719 GB, free: 7.309 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002485/1.04, allocations: 0.8795 MB / 0.6728 GB, free: 6.418 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/1.041, allocations: 305.1 kB / 0.673 GB, free: 6.117 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005818/1.046, allocations: 2.418 MB / 0.6754 GB, free: 3.691 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006823/1.053, allocations: 3.693 MB / 0.679 GB, free: 15.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009077/1.062, allocations: 6.332 MB / 0.6852 GB, free: 8.602 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-05/1.062, allocations: 8 kB / 0.6852 GB, free: 8.594 MB / 494.1 MB Notification: Performance of matching and sorting (n=634) (initialization): time 0.01389/1.076, allocations: 8.226 MB / 0.6932 GB, free: 248 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.927e-05/1.076, allocations: 23.98 kB / 0.6933 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.094e-05/1.076, allocations: 36 kB / 0.6933 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003738/1.08, allocations: 1.536 MB / 0.6948 GB, free: 14.6 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003993/1.084, allocations: 1.005 MB / 0.6958 GB, free: 13.59 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02626/1.11, allocations: 29.26 MB / 0.7243 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00404/1.114, allocations: 227.7 kB / 0.7246 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006405/1.115, allocations: 200 kB / 0.7248 GB, free: 13.97 MB / 0.5294 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 (546): * Single equations (assignments): 530 * 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,5,100.0%), (1,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (1,1,100.0%), (4,22,68.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.005628/1.121, allocations: 3.313 MB / 0.728 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001243/1.122, allocations: 0.5712 MB / 0.7285 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01371/1.136, allocations: 7.931 MB / 0.7363 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.872e-05/1.136, allocations: 23.91 kB / 0.7363 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/1.136, allocations: 4 kB / 0.7363 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002864/1.139, allocations: 1.189 MB / 0.7375 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001429/1.14, allocations: 76 kB / 0.7376 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003074/1.143, allocations: 219.8 kB / 0.7378 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2018/1.345, allocations: 476.8 kB / 0.7382 GB, free: 176.5 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01873/1.364, allocations: 7.752 MB / 0.7458 GB, free: 175.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01246/1.376, allocations: 8.479 MB / 0.7541 GB, free: 172.7 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003896/1.38, allocations: 2.596 MB / 0.7566 GB, free: 171.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006906/1.387, allocations: 3.686 MB / 0.7602 GB, free: 170.4 MB / 0.5294 GB Notification: Performance of Backend: time 8.82e-07/1.387, allocations: 0 / 0.7602 GB, free: 170.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009654/1.397, allocations: 6.127 MB / 0.7662 GB, free: 167.1 MB / 0.5294 GB Notification: Performance of SimCode: time 0.03105/1.428, allocations: 19.82 MB / 0.7855 GB, free: 152.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.1363/1.564, allocations: 99.59 MB / 0.8828 GB, free: 54.86 MB / 0.5294 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.pipe 2>&1)