Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 116 kB / 20.89 MB, free: 1.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002046/0.002046, allocations: 192.3 kB / 24.12 MB, free: 4.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 207.6 MB / 234.8 MB, free: 11.04 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeedE.phi|constantSpeedM.phi|smeeE.is.1.|smeeE.is.2.|smeeE.idq_dr.1.|smeeE.idq_rr.2.|smeeE.idq_sr.1.|smeeE.idq_sr.2.|smeeM.is.1.|smeeM.is.2.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.strayReluctance.port_p.Phi.im|smeeM.stator.strayReluctance.port_p.Phi.re",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeedE.phi|constantSpeedM.phi|smeeE.is.1.|smeeE.is.2.|smeeE.idq_dr.1.|smeeE.idq_rr.2.|smeeE.idq_sr.1.|smeeE.idq_sr.2.|smeeM.is.1.|smeeM.is.2.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.strayReluctance.port_p.Phi.im|smeeM.stator.strayReluctance.port_p.Phi.re",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 63.91 kB / 347 MB, free: 10.06 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2177, allocations: 49.12 MB / 396.1 MB, free: 9.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator): time 0.02306/0.2407, allocations: 24.2 MB / 420.3 MB, free: 8.293 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01469/0.2554, allocations: 7.141 MB / 427.4 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003416/0.2588, allocations: 130.4 kB / 427.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003829/0.2627, allocations: 1.628 MB / 429.2 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0065/0.2692, allocations: 2.358 MB / 431.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003343/0.2725, allocations: 1.491 MB / 433 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008976/0.2815, allocations: 7.209 MB / 440.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004476/0.286, allocations: 3.119 MB / 443.4 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004382/0.2903, allocations: 3.201 MB / 446.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005167/0.2955, allocations: 3.892 MB / 450.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001273/0.2968, allocations: 0.8711 MB / 451.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002524/0.2993, allocations: 1.327 MB / 452.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00221/0.3015, allocations: 2.142 MB / 454.8 MB, free: 8.918 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004317/0.3058, allocations: 3.781 MB / 458.6 MB, free: 5.121 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01275/0.3186, allocations: 11.5 MB / 470.1 MB, free: 9.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3186, allocations: 0 / 470.1 MB, free: 9.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3186, allocations: 0 / 470.1 MB, free: 9.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002058/0.3188, allocations: 0 / 470.1 MB, free: 9.582 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.01724/0.336, allocations: 7.591 MB / 477.7 MB, free: 1.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.3361, allocations: 12.03 kB / 477.7 MB, free: 1.887 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006011/0.3421, allocations: 1.254 MB / 478.9 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008592/0.3507, allocations: 3.945 MB / 482.9 MB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003703/0.351, allocations: 427.8 kB / 483.3 MB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009609/0.352, allocations: 0.5547 MB / 483.9 MB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01287/0.3649, allocations: 7.272 MB / 491.1 MB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001268/0.365, allocations: 15.94 kB / 491.1 MB, free: 4.297 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005561/0.3656, allocations: 232 kB / 491.4 MB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002793/0.3658, allocations: 255.3 kB / 491.6 MB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01125/0.3771, allocations: 6.111 MB / 497.7 MB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03763/0.4147, allocations: 23.47 MB / 0.509 GB, free: 5.594 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009755/0.4245, allocations: 8.482 MB / 0.5173 GB, free: 12.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003946/0.4284, allocations: 2.187 MB / 0.5194 GB, free: 9.984 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01329/0.4417, allocations: 6.939 MB / 0.5262 GB, free: 2.824 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.508e-05/0.4418, allocations: 60.56 kB / 0.5262 GB, free: 2.754 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 4.809e-06/0.4418, allocations: 0 / 0.5262 GB, free: 2.754 MB / 446.1 MB Notification: Performance of matching and sorting (n=282): time 0.03455/0.4763, allocations: 13.79 MB / 0.5397 GB, free: 4.754 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.4764, allocations: 77.59 kB / 0.5398 GB, free: 4.664 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005354/0.4817, allocations: 3.44 MB / 0.5431 GB, free: 1.238 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002686/0.482, allocations: 73.69 kB / 0.5432 GB, free: 1.16 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002182/0.4842, allocations: 2.749 MB / 0.5459 GB, free: 14.38 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000993/0.4852, allocations: 1.011 MB / 0.5469 GB, free: 13.36 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001086/0.4863, allocations: 0.6414 MB / 0.5475 GB, free: 12.71 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4864, allocations: 305.1 kB / 0.5478 GB, free: 12.41 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00297/0.4894, allocations: 1.545 MB / 0.5493 GB, free: 10.87 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004068/0.4935, allocations: 2.763 MB / 0.552 GB, free: 7.57 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007195/0.5006, allocations: 4.602 MB / 0.5565 GB, free: 2.395 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.561e-05/0.5007, allocations: 12 kB / 0.5565 GB, free: 2.383 MB / 478.1 MB Notification: Performance of matching and sorting (n=472) (initialization): time 0.1712/0.6719, allocations: 5.476 MB / 0.5619 GB, free: 141.1 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.672, allocations: 21.88 kB / 0.5619 GB, free: 141.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-05/0.672, allocations: 38.56 kB / 0.5619 GB, free: 141.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0016/0.6736, allocations: 0.6693 MB / 0.5626 GB, free: 141 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003099/0.6767, allocations: 0.8644 MB / 0.5634 GB, free: 141 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00849/0.6852, allocations: 10.35 MB / 0.5735 GB, free: 133.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00292/0.6881, allocations: 224.7 kB / 0.5737 GB, free: 133.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002589/0.6884, allocations: 164.8 kB / 0.5739 GB, free: 133.1 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 175 * 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 (430): * Single equations (assignments): 420 * Array equations: 4 * 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 {(3,12,100.0%), (1,3,100.0%), (2,13,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00245/0.6908, allocations: 1.627 MB / 0.5755 GB, free: 132.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005796/0.6914, allocations: 413.6 kB / 0.5759 GB, free: 132.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007149/0.6985, allocations: 4.482 MB / 0.5803 GB, free: 130.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-05/0.6986, allocations: 13.97 kB / 0.5803 GB, free: 130.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.6986, allocations: 1.531 kB / 0.5803 GB, free: 130.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001464/0.7, allocations: 0.7838 MB / 0.581 GB, free: 129.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004412/0.7005, allocations: 58.86 kB / 0.5811 GB, free: 129.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001838/0.7023, allocations: 167.8 kB / 0.5813 GB, free: 129.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003535/0.7027, allocations: 213.2 kB / 0.5815 GB, free: 129.8 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008315/0.711, allocations: 4.341 MB / 0.5857 GB, free: 128.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007138/0.7181, allocations: 5.637 MB / 0.5912 GB, free: 126 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001911/0.72, allocations: 1.51 MB / 0.5927 GB, free: 125.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002626/0.7227, allocations: 2.306 MB / 0.5949 GB, free: 124.5 MB / 478.1 MB Notification: Performance of Backend: time 2.81e-07/0.7227, allocations: 4 kB / 0.5949 GB, free: 124.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005637/0.7283, allocations: 3.434 MB / 0.5983 GB, free: 121.7 MB / 478.1 MB Notification: Performance of SimCode: time 0.0127/0.741, allocations: 10.71 MB / 0.6087 GB, free: 111 MB / 478.1 MB Notification: Performance of Templates: time 0.08097/0.822, allocations: 61.27 MB / 0.6686 GB, free: 49.75 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.356225230032578] Failed to read output from testmodel.py, exit status != 0: ['time', 'constantSpeedE.phi', 'constantSpeedM.phi', 'smeeE.is[1]', 'smeeE.is[2]', 'smeeE.idq_dr[1]', 'smeeE.idq_rr[2]', 'smeeE.idq_sr[1]', 'smeeE.idq_sr[2]', 'smeeM.is[1]', 'smeeM.is[2]', 'smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smeeM.stator.strayReluctance.port_p.Phi.im', 'smeeM.stator.strayReluctance.port_p.Phi.re'] 0.8292201840085909 0.837451653 0.516621604 Calling exit ...