Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.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.001312/0.001312, 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.001395/0.001395, 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.437/1.437, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|constantSpeedQS.phi|smee.excitation.electroMagneticConverter.Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.stray.port_p.Phi.im|smee.stator.stray.port_p.Phi.re|smee.stator.zeroInductor.i0|smeeQS.short.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|constantSpeedQS.phi|smee.excitation.electroMagneticConverter.Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.stray.port_p.Phi.im|smee.stator.stray.port_p.Phi.re|smee.stator.zeroInductor.i0|smeeQS.short.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 47.94 kB / 379 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2151, allocations: 53.37 MB / 432.4 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.04339/0.2585, allocations: 35.79 MB / 468.2 MB, free: 2.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02259/0.2811, allocations: 11.05 MB / 479.2 MB, free: 7.656 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005563/0.2866, allocations: 362.1 kB / 479.6 MB, free: 7.301 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01775/0.3044, allocations: 7.455 MB / 487 MB, free: 15.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01131/0.3157, allocations: 3.686 MB / 490.7 MB, free: 12.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005988/0.3217, allocations: 2.294 MB / 493 MB, free: 9.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01554/0.3372, allocations: 12.62 MB / 0.4938 GB, free: 13.17 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02308/0.3603, allocations: 15.76 MB / 0.5092 GB, free: 13.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008514/0.3688, allocations: 6.537 MB / 0.5156 GB, free: 6.711 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01028/0.3791, allocations: 7.326 MB / 0.5227 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00283/0.3819, allocations: 1.824 MB / 0.5245 GB, free: 13.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004259/0.3862, allocations: 2.257 MB / 0.5267 GB, free: 11.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003305/0.3895, allocations: 3.651 MB / 0.5303 GB, free: 7.617 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007053/0.3965, allocations: 5.548 MB / 0.5357 GB, free: 2.047 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2084/0.6049, allocations: 24.21 MB / 0.5593 GB, free: 38.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.6049, allocations: 0 / 0.5593 GB, free: 38.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6049, allocations: 0 / 0.5593 GB, free: 38.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004562/0.6054, allocations: 3.406 kB / 0.5593 GB, free: 38.73 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: 3043 * Number of variables: 3043 Notification: Performance of Generate backend data structure: time 0.03387/0.6393, allocations: 14.43 MB / 0.5734 GB, free: 32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.6393, allocations: 10.09 kB / 0.5734 GB, free: 32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02805/0.6674, allocations: 5.211 MB / 0.5785 GB, free: 29.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01595/0.6833, allocations: 7.724 MB / 0.5861 GB, free: 24.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005199/0.6838, allocations: 0.8288 MB / 0.5869 GB, free: 24.42 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003027/0.6869, allocations: 1.094 MB / 0.588 GB, free: 24.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03146/0.7183, allocations: 16.83 MB / 0.6044 GB, free: 8.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002948/0.7186, allocations: 21.94 kB / 0.6044 GB, free: 8.715 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001341/0.72, allocations: 457.1 kB / 0.6048 GB, free: 8.277 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003962/0.7203, allocations: 0.5812 MB / 0.6054 GB, free: 7.691 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02651/0.7469, allocations: 14.73 MB / 0.6198 GB, free: 8.941 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09103/0.8379, allocations: 47.58 MB / 0.6663 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01637/0.8543, allocations: 7.545 MB / 0.6736 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005257/0.8595, allocations: 3.032 MB / 0.6766 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01708/0.8766, allocations: 8.188 MB / 0.6846 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.994e-05/0.8767, allocations: 65.56 kB / 0.6846 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=313): time 5.922e-06/0.8767, allocations: 0 / 0.6846 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=340): time 0.03429/0.9109, allocations: 16.31 MB / 0.7006 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.54e-05/0.911, allocations: 112.4 kB / 0.7007 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007345/0.9184, allocations: 4.979 MB / 0.7055 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003296/0.9187, allocations: 93.62 kB / 0.7056 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003921/0.9226, allocations: 5.384 MB / 0.7109 GB, free: 12.16 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001213/0.9238, allocations: 1.255 MB / 0.7121 GB, free: 10.92 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002041/0.9259, allocations: 1.271 MB / 0.7134 GB, free: 9.641 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.926, allocations: 313 kB / 0.7137 GB, free: 9.332 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004417/0.9304, allocations: 2.628 MB / 0.7162 GB, free: 6.699 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006747/0.9372, allocations: 5.499 MB / 0.7216 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01151/0.9487, allocations: 8.513 MB / 0.7299 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.264e-05/0.9487, allocations: 28 kB / 0.7299 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of matching and sorting (n=816) (initialization): time 0.01619/0.9649, allocations: 9.136 MB / 0.7389 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.835e-05/0.965, allocations: 44.5 kB / 0.7389 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001155/0.9651, allocations: 100 kB / 0.739 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002504/0.9676, allocations: 0.9043 MB / 0.7399 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005227/0.9728, allocations: 1.481 MB / 0.7413 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01351/0.9863, allocations: 10.01 MB / 0.7511 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005062/0.9914, allocations: 399.4 kB / 0.7515 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006343/0.992, allocations: 340 kB / 0.7518 GB, free: 496 kB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 431 * 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 (767): * Single equations (assignments): 762 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 3 systems {(8,26,67.2%), (2,8,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.206/1.198, allocations: 3.747 MB / 0.7555 GB, free: 204.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001174/1.199, allocations: 0.5006 MB / 0.7559 GB, free: 204.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00956/1.209, allocations: 5.666 MB / 0.7615 GB, free: 204.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.731e-05/1.209, allocations: 18.8 kB / 0.7615 GB, free: 204.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/1.209, allocations: 5.656 kB / 0.7615 GB, free: 204.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002476/1.211, allocations: 0.8921 MB / 0.7624 GB, free: 204.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007304/1.212, allocations: 61.47 kB / 0.7624 GB, free: 204.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00225/1.214, allocations: 192.9 kB / 0.7626 GB, free: 204.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005108/1.215, allocations: 287 kB / 0.7629 GB, free: 204 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009268/1.224, allocations: 5.494 MB / 0.7683 GB, free: 202 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008929/1.233, allocations: 6.997 MB / 0.7751 GB, free: 199.3 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002347/1.235, allocations: 1.948 MB / 0.777 GB, free: 198.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00429/1.24, allocations: 3.164 MB / 0.7801 GB, free: 197.4 MB / 0.5762 GB Notification: Performance of Backend: time 4.81e-07/1.24, allocations: 2.062 kB / 0.7801 GB, free: 197.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009384/1.249, allocations: 5.117 MB / 0.7851 GB, free: 195.2 MB / 0.5762 GB Notification: Performance of SimCode: time 0.02635/1.275, allocations: 18.24 MB / 0.8029 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.1245/1.4, allocations: 93.08 MB / 0.8938 GB, free: 88.64 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.895772240997758] Failed to read output from testmodel.py, exit status != 0: ['time', 'constantSpeed.phi', 'constantSpeedQS.phi', 'smee.excitation.electroMagneticConverter.Phi.re', 'smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smee.stator.stray.port_p.Phi.im', 'smee.stator.stray.port_p.Phi.re', 'smee.stator.zeroInductor.i0', 'smeeQS.short.port_p.reference.gamma'] 1.4074107670021476 1.41612857 0.8089135670000001 Calling exit ...