Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.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.001871/0.001871, allocations: 110.8 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.002217/0.002217, allocations: 211.6 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.508/1.508, allocations: 230.6 MB / 258.3 MB, free: 7.812 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.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|loadInductor.inductor.2..i|loadInductor.inductor.3..i|smee.is.1.|smee.is.2.|smee.excitation.electroMagneticConverter.Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|loadInductor.inductor.2..i|loadInductor.inductor.3..i|smee.is.1.|smee.is.2.|smee.excitation.electroMagneticConverter.Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002253/0.002253, allocations: 59.84 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2263, allocations: 53.35 MB / 432.4 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump): time 0.02009/0.2464, allocations: 15.5 MB / 447.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01114/0.2575, allocations: 5.721 MB / 453.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002201/0.2597, allocations: 135.2 kB / 453.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002993/0.2627, allocations: 1.285 MB / 455 MB, free: 4 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004107/0.2668, allocations: 1.716 MB / 456.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002623/0.2695, allocations: 1.223 MB / 457.9 MB, free: 13.06 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005603/0.2751, allocations: 5.46 MB / 463.4 MB, free: 7.582 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003197/0.2783, allocations: 2.349 MB / 465.8 MB, free: 5.152 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002942/0.2812, allocations: 2.555 MB / 468.3 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003487/0.2847, allocations: 2.9 MB / 471.2 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00083/0.2855, allocations: 0.6328 MB / 471.8 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001482/0.287, allocations: 0.8669 MB / 472.7 MB, free: 14.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001366/0.2884, allocations: 1.5 MB / 474.2 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002319/0.2907, allocations: 2.198 MB / 476.4 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008376/0.2991, allocations: 8.475 MB / 484.9 MB, free: 1.965 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.2991, allocations: 4 kB / 484.9 MB, free: 1.961 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2991, allocations: 0 / 484.9 MB, free: 1.961 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.116e-05/0.2991, allocations: 0 / 484.9 MB, free: 1.961 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: 1076 * Number of variables: 1076 Notification: Performance of Generate backend data structure: time 0.01269/0.3118, allocations: 5.739 MB / 490.6 MB, free: 12.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.3119, allocations: 8.031 kB / 490.6 MB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005253/0.3171, allocations: 1.009 MB / 491.6 MB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00681/0.3239, allocations: 3.018 MB / 494.7 MB, free: 8.027 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005139/0.3244, allocations: 0.6255 MB / 495.3 MB, free: 7.328 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000892/0.3253, allocations: 412 kB / 495.7 MB, free: 6.926 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0105/0.3358, allocations: 5.7 MB / 0.4896 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.489e-05/0.3359, allocations: 7.938 kB / 0.4896 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004324/0.3364, allocations: 172 kB / 0.4898 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001741/0.3365, allocations: 172.1 kB / 0.49 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00812/0.3447, allocations: 4.564 MB / 0.4944 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02605/0.3707, allocations: 15.2 MB / 0.5093 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006311/0.377, allocations: 3.51 MB / 0.5127 GB, free: 9.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004238/0.3813, allocations: 2.158 MB / 0.5148 GB, free: 7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009873/0.3911, allocations: 4.692 MB / 0.5194 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002225/0.3934, allocations: 1.472 MB / 0.5208 GB, free: 0.707 MB / 430.1 MB Notification: Performance of pre-optimization done (n=181): time 4.198e-06/0.3934, allocations: 0 / 0.5208 GB, free: 0.707 MB / 430.1 MB Notification: Performance of matching and sorting (n=213): time 0.01982/0.4132, allocations: 8.564 MB / 0.5292 GB, free: 8.113 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001949/0.4134, allocations: 342.4 kB / 0.5295 GB, free: 7.707 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003218/0.4166, allocations: 2.248 MB / 0.5317 GB, free: 5.434 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001565/0.4167, allocations: 69.69 kB / 0.5318 GB, free: 5.359 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001794/0.4185, allocations: 2.011 MB / 0.5337 GB, free: 3.328 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000674/0.4192, allocations: 0.7515 MB / 0.5345 GB, free: 2.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008023/0.42, allocations: 477.4 kB / 0.5349 GB, free: 2.098 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.4201, allocations: 305.1 kB / 0.5352 GB, free: 1.797 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001939/0.4221, allocations: 1.129 MB / 0.5363 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2121/0.6341, allocations: 2.201 MB / 0.5385 GB, free: 97.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003928/0.6381, allocations: 3.056 MB / 0.5415 GB, free: 96.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/0.6381, allocations: 8.406 kB / 0.5415 GB, free: 96.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=333) (initialization): time 0.006378/0.6445, allocations: 3.981 MB / 0.5454 GB, free: 94.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.6445, allocations: 18.2 kB / 0.5454 GB, free: 94.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-05/0.6445, allocations: 20.31 kB / 0.5454 GB, free: 94.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002406/0.6469, allocations: 0.9953 MB / 0.5464 GB, free: 94.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001735/0.6487, allocations: 492 kB / 0.5468 GB, free: 94.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0118/0.6605, allocations: 15.59 MB / 0.5621 GB, free: 82.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/0.6623, allocations: 155.8 kB / 0.5622 GB, free: 82.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/0.6625, allocations: 119.5 kB / 0.5623 GB, free: 81.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002766/0.6653, allocations: 2.228 MB / 0.5645 GB, free: 80 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001717/0.667, allocations: 2.187 MB / 0.5666 GB, free: 77.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003101/0.6701, allocations: 3.037 MB / 0.5696 GB, free: 74.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.011e-05/0.6701, allocations: 8 kB / 0.5696 GB, free: 74.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=333) (initialization_lambda0): time 0.005256/0.6753, allocations: 3.963 MB / 0.5735 GB, free: 71.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.6754, allocations: 15.94 kB / 0.5735 GB, free: 71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.6754, allocations: 24 kB / 0.5735 GB, free: 70.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002041/0.6774, allocations: 0.9943 MB / 0.5745 GB, free: 69.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.6791, allocations: 495 kB / 0.575 GB, free: 69.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01145/0.6905, allocations: 15.58 MB / 0.5902 GB, free: 53.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/0.6925, allocations: 185.8 kB / 0.5904 GB, free: 53.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001559/0.6926, allocations: 112 kB / 0.5905 GB, free: 53.03 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition4,switch.closerWithArc[3].tSwitch,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].off,loadControl.pulseStart,$PRE.loadControl.pulseStart,$whenCondition1,$whenCondition2,$whenCondition3,voltageController.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (279): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * 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): 4 systems {(2,22,100.0%), (1,12,100.0%), (2,6,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005148/0.6932, allocations: 360.8 kB / 0.5908 GB, free: 52.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003145/0.6935, allocations: 279.1 kB / 0.5911 GB, free: 52.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00553/0.699, allocations: 3.349 MB / 0.5943 GB, free: 49.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/0.699, allocations: 11.95 kB / 0.5944 GB, free: 49.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.699, allocations: 0 / 0.5944 GB, free: 49.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/0.7001, allocations: 0.5059 MB / 0.5948 GB, free: 48.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003573/0.7005, allocations: 59.97 kB / 0.5949 GB, free: 48.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/0.7018, allocations: 107.9 kB / 0.595 GB, free: 48.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000298/0.702, allocations: 205.6 kB / 0.5952 GB, free: 48.28 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006121/0.7082, allocations: 3.39 MB / 0.5985 GB, free: 44.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004865/0.713, allocations: 4.132 MB / 0.6025 GB, free: 40.77 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001316/0.7144, allocations: 1.112 MB / 0.6036 GB, free: 39.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001775/0.7161, allocations: 1.494 MB / 0.6051 GB, free: 38.15 MB / 446.1 MB Notification: Performance of Backend: time 4.61e-07/0.7161, allocations: 0 / 0.6051 GB, free: 38.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008451/0.7246, allocations: 5.731 MB / 0.6107 GB, free: 32.29 MB / 446.1 MB Notification: Performance of SimCode: time 0.009738/0.7343, allocations: 8.223 MB / 0.6187 GB, free: 24.04 MB / 446.1 MB Notification: Performance of Templates: time 0.09446/0.8288, allocations: 66.24 MB / 0.6834 GB, free: 6.535 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.078334264995647] Failed to read output from testmodel.py, exit status != 0: ['time', 'loadInductor.inductor[2].i', 'loadInductor.inductor[3].i', 'smee.is[1]', 'smee.is[2]', 'smee.excitation.electroMagneticConverter.Phi.re', 'smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'speed.phi', 'speed.w', 'voltageController.I.y'] 0.8383364049950615 0.8572897530000001 0.553752148 Calling exit ...