Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001922/0.001922, allocations: 114.5 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001922/0.001922, allocations: 211.4 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.409/1.409, allocations: 230.4 MB / 258.1 MB, free: 8.145 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=15000,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.1.0-beta.om_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=15000,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.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 71.83 kB / 378.8 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2252, allocations: 53.31 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase): time 0.03437/0.2596, allocations: 29.89 MB / 462 MB, free: 9.355 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01624/0.2758, allocations: 8.308 MB / 470.3 MB, free: 1.023 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004654/0.2805, allocations: 207.2 kB / 470.5 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005816/0.2863, allocations: 2.078 MB / 472.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008914/0.2952, allocations: 2.846 MB / 475.4 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005161/0.3004, allocations: 1.779 MB / 477.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01684/0.3172, allocations: 12.82 MB / 490 MB, free: 13.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01059/0.3278, allocations: 5.86 MB / 495.9 MB, free: 7.254 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008977/0.3368, allocations: 6.045 MB / 0.4902 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01196/0.3488, allocations: 7.221 MB / 0.4972 GB, free: 9.945 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003951/0.3527, allocations: 1.676 MB / 0.4989 GB, free: 8.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005309/0.358, allocations: 1.906 MB / 0.5007 GB, free: 6.363 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005289/0.3633, allocations: 3.845 MB / 0.5045 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01109/0.3744, allocations: 6.998 MB / 0.5113 GB, free: 11.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02754/0.4019, allocations: 21.98 MB / 0.5328 GB, free: 5.426 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.4019, allocations: 4 kB / 0.5328 GB, free: 5.422 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4019, allocations: 4 kB / 0.5328 GB, free: 5.418 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005501/0.4025, allocations: 0 / 0.5328 GB, free: 5.418 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.373/0.7755, allocations: 13.71 MB / 0.5462 GB, free: 85.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.7755, allocations: 7.844 kB / 0.5462 GB, free: 85.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01159/0.7871, allocations: 2.418 MB / 0.5485 GB, free: 84.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01448/0.8016, allocations: 8.187 MB / 0.5565 GB, free: 79.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004131/0.802, allocations: 0.7396 MB / 0.5573 GB, free: 79.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001791/0.8038, allocations: 0.9837 MB / 0.5582 GB, free: 78.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02058/0.8244, allocations: 14.46 MB / 0.5724 GB, free: 64.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001926/0.8246, allocations: 15.88 kB / 0.5724 GB, free: 64.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009156/0.8255, allocations: 419.8 kB / 0.5728 GB, free: 63.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000243/0.8257, allocations: 452.4 kB / 0.5732 GB, free: 63.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01751/0.8433, allocations: 12.59 MB / 0.5855 GB, free: 50.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05667/0.8999, allocations: 44.03 MB / 0.6285 GB, free: 6.582 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02531/0.9252, allocations: 26.7 MB / 0.6546 GB, free: 9.41 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01055/0.9358, allocations: 5.268 MB / 0.6597 GB, free: 4.129 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02589/0.9617, allocations: 13.37 MB / 0.6728 GB, free: 6.559 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.669e-05/0.9618, allocations: 89.83 kB / 0.6729 GB, free: 6.461 MB / 494.1 MB Notification: Performance of pre-optimization done (n=423): time 6.202e-06/0.9618, allocations: 3.75 kB / 0.6729 GB, free: 6.461 MB / 494.1 MB Notification: Performance of matching and sorting (n=429): time 0.05263/1.014, allocations: 22.46 MB / 0.6948 GB, free: 15.59 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.397e-05/1.014, allocations: 94.78 kB / 0.6949 GB, free: 15.49 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009075/1.024, allocations: 5.627 MB / 0.7004 GB, free: 9.844 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0006914/1.024, allocations: 97.7 kB / 0.7005 GB, free: 9.742 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003897/1.028, allocations: 4.656 MB / 0.705 GB, free: 5.059 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001781/1.03, allocations: 1.503 MB / 0.7065 GB, free: 3.543 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001497/1.031, allocations: 0.8916 MB / 0.7074 GB, free: 2.641 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001273/1.032, allocations: 301.1 kB / 0.7076 GB, free: 2.344 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004179/1.036, allocations: 2.477 MB / 0.7101 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00522/1.041, allocations: 3.751 MB / 0.7137 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009765/1.051, allocations: 6.453 MB / 0.72 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.528e-05/1.051, allocations: 8 kB / 0.72 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of matching and sorting (n=634) (initialization): time 0.01529/1.066, allocations: 8.555 MB / 0.7284 GB, free: 11.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.287e-05/1.066, allocations: 20 kB / 0.7284 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.989e-05/1.066, allocations: 39.94 kB / 0.7284 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004338/1.07, allocations: 1.719 MB / 0.7301 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004164/1.075, allocations: 0.9906 MB / 0.7311 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2251/1.3, allocations: 30.88 MB / 0.7613 GB, free: 187.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004362/1.304, allocations: 217.6 kB / 0.7615 GB, free: 187.8 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007112/1.305, allocations: 202.8 kB / 0.7617 GB, free: 187.8 MB / 0.5607 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.005247/1.31, allocations: 3.323 MB / 0.7649 GB, free: 187.6 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001276/1.311, allocations: 0.6316 MB / 0.7655 GB, free: 187.6 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01164/1.323, allocations: 8.175 MB / 0.7735 GB, free: 184.1 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.736e-05/1.323, allocations: 23.58 kB / 0.7735 GB, free: 184.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.425e-06/1.323, allocations: 3.812 kB / 0.7735 GB, free: 184.1 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003127/1.326, allocations: 1.253 MB / 0.7747 GB, free: 183.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001162/1.327, allocations: 79.69 kB / 0.7748 GB, free: 183.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002847/1.33, allocations: 220.8 kB / 0.775 GB, free: 183.6 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007535/1.331, allocations: 493.9 kB / 0.7755 GB, free: 183.5 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01419/1.345, allocations: 7.968 MB / 0.7833 GB, free: 180.9 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01059/1.356, allocations: 8.652 MB / 0.7917 GB, free: 177.8 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002848/1.359, allocations: 2.547 MB / 0.7942 GB, free: 176.6 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004591/1.363, allocations: 3.834 MB / 0.798 GB, free: 173.1 MB / 0.5607 GB Notification: Performance of Backend: time 1.61e-07/1.363, allocations: 0 / 0.798 GB, free: 173.1 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.009001/1.372, allocations: 6.001 MB / 0.8038 GB, free: 167.1 MB / 0.5607 GB Notification: Performance of SimCode: time 0.02643/1.399, allocations: 20.65 MB / 0.824 GB, free: 146.5 MB / 0.5607 GB Notification: Performance of Templates: time 0.1431/1.542, allocations: 107.2 MB / 0.9287 GB, free: 40.33 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.348138635978103] Failed to read output from testmodel.py, exit status != 0: ['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'] 1.5497396290302277 1.557984369 1.1537164420000001 Calling exit ...