Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 106.8 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 215.5 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.628/1.628, allocations: 230.6 MB / 258.3 MB, free: 7.801 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 47.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2155, allocations: 53.37 MB / 432.4 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase): time 0.03168/0.2472, allocations: 25.48 MB / 457.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01641/0.2636, allocations: 8.027 MB / 465.9 MB, free: 5.098 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005047/0.2686, allocations: 258.4 kB / 466.2 MB, free: 4.844 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006334/0.2749, allocations: 2.012 MB / 468.2 MB, free: 2.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009607/0.2845, allocations: 2.858 MB / 471 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005528/0.2901, allocations: 1.737 MB / 472.8 MB, free: 14.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01734/0.3074, allocations: 12.85 MB / 485.6 MB, free: 1.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01004/0.3175, allocations: 5.861 MB / 491.5 MB, free: 11.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009357/0.3268, allocations: 6.201 MB / 497.7 MB, free: 5.133 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01203/0.3388, allocations: 7.17 MB / 0.493 GB, free: 13.94 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00466/0.3435, allocations: 1.668 MB / 0.4946 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00615/0.3497, allocations: 1.875 MB / 0.4965 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006124/0.3558, allocations: 3.814 MB / 0.5002 GB, free: 6.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01502/0.3708, allocations: 5.544 MB / 0.5056 GB, free: 1.004 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0288/0.3996, allocations: 22.02 MB / 0.5271 GB, free: 10.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.3996, allocations: 0 / 0.5271 GB, free: 10.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3996, allocations: 0 / 0.5271 GB, free: 10.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005592/0.4002, allocations: 0 / 0.5271 GB, free: 10.91 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.385/0.7852, allocations: 13.58 MB / 0.5404 GB, free: 87.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.7852, allocations: 10.08 kB / 0.5404 GB, free: 87.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01354/0.7987, allocations: 2.421 MB / 0.5428 GB, free: 86.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01555/0.8143, allocations: 7.658 MB / 0.5502 GB, free: 83.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005502/0.8148, allocations: 0.7463 MB / 0.551 GB, free: 82.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002591/0.8174, allocations: 0.9866 MB / 0.5519 GB, free: 81.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02551/0.8429, allocations: 15.11 MB / 0.5667 GB, free: 67.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002369/0.8432, allocations: 18.84 kB / 0.5667 GB, free: 67.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001568/0.8447, allocations: 419.9 kB / 0.5671 GB, free: 66.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002733/0.845, allocations: 452.4 kB / 0.5675 GB, free: 66.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02051/0.8655, allocations: 12.66 MB / 0.5799 GB, free: 53.67 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.062/0.9275, allocations: 38.18 MB / 0.6172 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0164/0.9439, allocations: 10.59 MB / 0.6275 GB, free: 6.211 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007984/0.9519, allocations: 5.263 MB / 0.6327 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02532/0.9772, allocations: 11.56 MB / 0.644 GB, free: 5.516 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.881e-05/0.9773, allocations: 81.89 kB / 0.644 GB, free: 5.426 MB / 462.1 MB Notification: Performance of pre-optimization done (n=423): time 7.844e-06/0.9773, allocations: 0 / 0.644 GB, free: 5.426 MB / 462.1 MB Notification: Performance of matching and sorting (n=429): time 0.05074/1.028, allocations: 21.16 MB / 0.6647 GB, free: 280 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.34e-05/1.028, allocations: 98.78 kB / 0.6648 GB, free: 168 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007846/1.036, allocations: 5.162 MB / 0.6698 GB, free: 11.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004998/1.036, allocations: 97.7 kB / 0.6699 GB, free: 10.91 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003788/1.04, allocations: 4.684 MB / 0.6745 GB, free: 6.195 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001717/1.042, allocations: 1.511 MB / 0.676 GB, free: 4.672 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001568/1.044, allocations: 0.8877 MB / 0.6768 GB, free: 3.773 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/1.044, allocations: 301.1 kB / 0.6771 GB, free: 3.477 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004327/1.048, allocations: 2.532 MB / 0.6796 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005414/1.053, allocations: 3.848 MB / 0.6834 GB, free: 12.53 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009803/1.063, allocations: 6.516 MB / 0.6897 GB, free: 5.488 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-05/1.063, allocations: 15.94 kB / 0.6897 GB, free: 5.473 MB / 0.4982 GB Notification: Performance of matching and sorting (n=634) (initialization): time 0.01531/1.079, allocations: 8.37 MB / 0.6979 GB, free: 13.04 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 4.568e-05/1.079, allocations: 22.81 kB / 0.6979 GB, free: 13.02 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-05/1.079, allocations: 40.84 kB / 0.698 GB, free: 12.98 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004438/1.083, allocations: 1.715 MB / 0.6996 GB, free: 11.22 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004195/1.087, allocations: 1.006 MB / 0.7006 GB, free: 10.21 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03199/1.119, allocations: 28.87 MB / 0.7288 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004176/1.124, allocations: 227.8 kB / 0.729 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005347/1.124, allocations: 203.9 kB / 0.7292 GB, free: 11.48 MB / 0.545 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.00619/1.13, allocations: 3.328 MB / 0.7325 GB, free: 8.145 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001359/1.132, allocations: 0.5706 MB / 0.733 GB, free: 7.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01494/1.147, allocations: 7.878 MB / 0.7407 GB, free: 15.61 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-05/1.147, allocations: 19.92 kB / 0.7408 GB, free: 15.59 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/1.147, allocations: 0 / 0.7408 GB, free: 15.59 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003835/1.15, allocations: 1.158 MB / 0.7419 GB, free: 14.43 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001056/1.151, allocations: 87.98 kB / 0.742 GB, free: 14.34 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002584/1.154, allocations: 219.8 kB / 0.7422 GB, free: 14.13 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009942/1.155, allocations: 0.5138 MB / 0.7427 GB, free: 13.61 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0175/1.173, allocations: 7.946 MB / 0.7504 GB, free: 5.609 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2184/1.391, allocations: 8.663 MB / 0.7589 GB, free: 193.4 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003665/1.395, allocations: 2.567 MB / 0.7614 GB, free: 193.4 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.0043/1.399, allocations: 3.456 MB / 0.7648 GB, free: 192.2 MB / 0.5607 GB Notification: Performance of Backend: time 3.61e-07/1.399, allocations: 0 / 0.7648 GB, free: 192.2 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.009989/1.409, allocations: 5.905 MB / 0.7705 GB, free: 189.1 MB / 0.5607 GB Notification: Performance of SimCode: time 0.03202/1.441, allocations: 20.17 MB / 0.7902 GB, free: 178.6 MB / 0.5607 GB Notification: Performance of Templates: time 0.1432/1.584, allocations: 113 MB / 0.9006 GB, free: 69.49 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMS_Start_Polyphase.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.576390037000237] 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.5923934259990347 1.601350986 1.199241846 Calling exit ...