Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_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.001811/0.001811, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002161/0.002161, allocations: 208.7 kB / 24.49 MB, free: 3.965 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.465/1.465, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase,tolerance=1e-07,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed3.phi|constantSpeedM.phi|smee3.is.1.|smee3.is.2.|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee3.stator.stray.port_p.Phi.im|smee3.stator.stray.port_p.Phi.re|smeeM.is.1.|smeeM.is.2.|smeeM.is.3.|smeeM.is.4.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.stray.port_p.Phi.im|smeeM.stator.stray.port_p.Phi.re",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase,tolerance=1e-07,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed3.phi|constantSpeedM.phi|smee3.is.1.|smee3.is.2.|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee3.stator.stray.port_p.Phi.im|smee3.stator.stray.port_p.Phi.re|smeeM.is.1.|smeeM.is.2.|smeeM.is.3.|smeeM.is.4.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.stray.port_p.Phi.im|smeeM.stator.stray.port_p.Phi.re",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 55.92 kB / 379 MB, free: 2.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2166, allocations: 53.35 MB / 432.4 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase): time 0.03245/0.249, allocations: 26.33 MB / 458.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01722/0.2663, allocations: 8.269 MB / 467 MB, free: 3.977 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005102/0.2714, allocations: 238.7 kB / 467.2 MB, free: 3.742 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007664/0.279, allocations: 1.979 MB / 469.2 MB, free: 1.754 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01178/0.2908, allocations: 2.764 MB / 472 MB, free: 14.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006444/0.2973, allocations: 1.789 MB / 473.8 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01843/0.3157, allocations: 10.32 MB / 484.1 MB, free: 2.832 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008461/0.3241, allocations: 5.142 MB / 489.2 MB, free: 13.58 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006791/0.3309, allocations: 4.923 MB / 494.2 MB, free: 8.645 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009048/0.34, allocations: 5.897 MB / 0.4883 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002334/0.3423, allocations: 1.359 MB / 0.4897 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003408/0.3457, allocations: 1.714 MB / 0.4913 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002847/0.3486, allocations: 3.038 MB / 0.4943 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005814/0.3544, allocations: 4.509 MB / 0.4987 GB, free: 8.078 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01924/0.3736, allocations: 17.75 MB / 0.516 GB, free: 6.277 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3736, allocations: 0 / 0.516 GB, free: 6.277 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3736, allocations: 0 / 0.516 GB, free: 6.277 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003057/0.3739, allocations: 0 / 0.516 GB, free: 6.277 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: 2293 * Number of variables: 2293 Notification: Performance of Generate backend data structure: time 0.03109/0.405, allocations: 11.19 MB / 0.527 GB, free: 10.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.4051, allocations: 8.031 kB / 0.527 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01291/0.418, allocations: 2.157 MB / 0.5291 GB, free: 8.812 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01553/0.4335, allocations: 6.19 MB / 0.5351 GB, free: 2.551 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006735/0.4342, allocations: 0.6425 MB / 0.5357 GB, free: 1.906 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002472/0.4367, allocations: 0.8516 MB / 0.5366 GB, free: 1.055 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3587/0.7954, allocations: 11.8 MB / 0.5481 GB, free: 87.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00018/0.7956, allocations: 14.53 kB / 0.5481 GB, free: 87.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000745/0.7963, allocations: 353.5 kB / 0.5485 GB, free: 87.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003087/0.7966, allocations: 385.8 kB / 0.5488 GB, free: 87.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01387/0.8105, allocations: 9.661 MB / 0.5583 GB, free: 80.47 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04528/0.8558, allocations: 30.36 MB / 0.5879 GB, free: 50.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01128/0.8671, allocations: 6.788 MB / 0.5945 GB, free: 44.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006809/0.8739, allocations: 3.955 MB / 0.5984 GB, free: 40.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01672/0.8906, allocations: 8.566 MB / 0.6068 GB, free: 31.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.099e-05/0.8906, allocations: 68.98 kB / 0.6068 GB, free: 31.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=310): time 7.083e-06/0.8907, allocations: 4 kB / 0.6068 GB, free: 31.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=362): time 0.03116/0.9218, allocations: 15.39 MB / 0.6219 GB, free: 16.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.9218, allocations: 90.23 kB / 0.6219 GB, free: 16.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00568/0.9275, allocations: 4.006 MB / 0.6259 GB, free: 12.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003531/0.9279, allocations: 85.7 kB / 0.6259 GB, free: 12.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0017/0.9296, allocations: 4.038 MB / 0.6299 GB, free: 8.684 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008206/0.9304, allocations: 1.285 MB / 0.6311 GB, free: 7.414 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001225/0.9316, allocations: 0.804 MB / 0.6319 GB, free: 6.602 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.193e-05/0.9317, allocations: 301.1 kB / 0.6322 GB, free: 6.305 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002811/0.9345, allocations: 1.957 MB / 0.6341 GB, free: 4.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003305/0.9378, allocations: 3.466 MB / 0.6375 GB, free: 200 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008805/0.9466, allocations: 5.737 MB / 0.6431 GB, free: 9.789 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.391e-05/0.9466, allocations: 12 kB / 0.6431 GB, free: 9.777 MB / 462.1 MB Notification: Performance of matching and sorting (n=587) (initialization): time 0.01295/0.9596, allocations: 6.708 MB / 0.6497 GB, free: 3.02 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.871e-05/0.9596, allocations: 33.17 kB / 0.6497 GB, free: 2.988 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-05/0.9597, allocations: 48 kB / 0.6498 GB, free: 2.941 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002574/0.9623, allocations: 0.893 MB / 0.6506 GB, free: 2.031 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004193/0.9664, allocations: 1.041 MB / 0.6516 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01477/0.9812, allocations: 11.82 MB / 0.6632 GB, free: 4.773 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003618/0.9848, allocations: 231.8 kB / 0.6634 GB, free: 4.547 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003835/0.9852, allocations: 208 kB / 0.6636 GB, free: 4.344 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 208 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (529): * Single equations (assignments): 521 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * 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): 4 systems {(2,13,100.0%), (1,8,100.0%), (2,13,100.0%), (3,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004394/0.9896, allocations: 2.554 MB / 0.6661 GB, free: 1.777 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000892/0.9905, allocations: 473 kB / 0.6665 GB, free: 1.312 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/1.001, allocations: 5.506 MB / 0.6719 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.364e-05/1.001, allocations: 15.94 kB / 0.6719 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/1.001, allocations: 0 / 0.6719 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002245/1.003, allocations: 0.8755 MB / 0.6728 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005895/1.004, allocations: 75.98 kB / 0.6729 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002126/1.006, allocations: 183.8 kB / 0.673 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005825/1.007, allocations: 318.1 kB / 0.6733 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01223/1.019, allocations: 5.538 MB / 0.6788 GB, free: 4.785 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01177/1.031, allocations: 6.936 MB / 0.6855 GB, free: 13.8 MB / 0.4982 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003175/1.034, allocations: 1.919 MB / 0.6874 GB, free: 11.87 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.004279/1.038, allocations: 2.635 MB / 0.69 GB, free: 9.227 MB / 0.4982 GB Notification: Performance of Backend: time 3.31e-07/1.038, allocations: 0 / 0.69 GB, free: 9.227 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.008788/1.047, allocations: 3.971 MB / 0.6939 GB, free: 5.223 MB / 0.4982 GB Notification: Performance of SimCode: time 0.02564/1.073, allocations: 15.07 MB / 0.7086 GB, free: 6.082 MB / 0.5138 GB Notification: Performance of Templates: time 0.3039/1.377, allocations: 81.3 MB / 0.788 GB, free: 163 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMEE_Generator_Polyphase.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.664716090002912] Failed to read output from testmodel.py, exit status != 0: ['time', 'constantSpeed3.phi', 'constantSpeedM.phi', 'smee3.is[1]', 'smee3.is[2]', 'smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smee3.stator.stray.port_p.Phi.im', 'smee3.stator.stray.port_p.Phi.re', 'smeeM.is[1]', 'smeeM.is[2]', 'smeeM.is[3]', 'smeeM.is[4]', 'smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smeeM.stator.stray.port_p.Phi.im', 'smeeM.stator.stray.port_p.Phi.re'] 1.3845449250002275 1.393147836 1.017196326 Calling exit ...