Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001777/0.001777, allocations: 114.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002092/0.002092, allocations: 210.9 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.383/1.383, allocations: 230.4 MB / 258.1 MB, free: 8.145 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.is.1.|smrE.is.2.|smrE.idq_rr.1.|smrE.idq_rr.2.|smrE.idq_sr.1.|smrE.idq_sr.2.|smrM.is.1.|smrM.is.2.|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.is.1.|smrE.is.2.|smrE.idq_rr.1.|smrE.idq_rr.2.|smrE.idq_sr.1.|smrE.idq_sr.2.|smrM.is.1.|smrM.is.2.|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 63.84 kB / 378.8 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2076, allocations: 53.32 MB / 432.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter): time 0.02385/0.2315, allocations: 21.08 MB / 453.2 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01173/0.2432, allocations: 6.204 MB / 459.4 MB, free: 12 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002649/0.2459, allocations: 135.4 kB / 459.5 MB, free: 11.87 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003474/0.2493, allocations: 1.424 MB / 460.9 MB, free: 10.44 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005488/0.2548, allocations: 1.981 MB / 462.9 MB, free: 8.445 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003021/0.2578, allocations: 1.292 MB / 464.2 MB, free: 7.152 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007928/0.2658, allocations: 6.16 MB / 470.4 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004538/0.2703, allocations: 3.034 MB / 473.4 MB, free: 13.85 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004085/0.2744, allocations: 2.87 MB / 476.3 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005384/0.2798, allocations: 3.565 MB / 479.8 MB, free: 7.391 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001287/0.2811, allocations: 0.7812 MB / 480.6 MB, free: 6.609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002177/0.2832, allocations: 1.093 MB / 481.7 MB, free: 5.516 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001969/0.2852, allocations: 1.971 MB / 483.7 MB, free: 3.539 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004109/0.2893, allocations: 3.361 MB / 487 MB, free: 168 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01154/0.3009, allocations: 10.38 MB / 497.4 MB, free: 5.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3009, allocations: 0 / 497.4 MB, free: 5.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3009, allocations: 4 kB / 497.4 MB, free: 5.746 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001144/0.301, allocations: 0 / 497.4 MB, free: 5.746 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1347 * Number of variables: 1347 Notification: Performance of Generate backend data structure: time 0.01443/0.3154, allocations: 6.777 MB / 0.4924 GB, free: 14.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3154, allocations: 8.031 kB / 0.4924 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004615/0.3201, allocations: 1.028 MB / 0.4934 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007025/0.3271, allocations: 3.617 MB / 0.4969 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003198/0.3274, allocations: 390.6 kB / 0.4973 GB, free: 9.766 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008135/0.3282, allocations: 0.5078 MB / 0.4978 GB, free: 9.258 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01171/0.3399, allocations: 6.786 MB / 0.5044 GB, free: 2.402 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001197/0.34, allocations: 11.95 kB / 0.5044 GB, free: 2.391 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004959/0.3405, allocations: 212 kB / 0.5046 GB, free: 2.184 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002473/0.3408, allocations: 246.1 kB / 0.5049 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01007/0.3509, allocations: 5.756 MB / 0.5105 GB, free: 12.17 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03241/0.3833, allocations: 20.98 MB / 0.531 GB, free: 6.688 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1786/0.5618, allocations: 8.608 MB / 0.5394 GB, free: 92.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003804/0.5656, allocations: 2.04 MB / 0.5414 GB, free: 92.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009383/0.575, allocations: 6.213 MB / 0.5474 GB, free: 89.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.5751, allocations: 53.78 kB / 0.5475 GB, free: 89.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=205): time 3.406e-06/0.5751, allocations: 0 / 0.5475 GB, free: 89.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=222): time 0.01678/0.5918, allocations: 10.49 MB / 0.5577 GB, free: 84.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/0.5919, allocations: 75.44 kB / 0.5578 GB, free: 84.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002986/0.5948, allocations: 2.927 MB / 0.5607 GB, free: 83.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001239/0.595, allocations: 65.02 kB / 0.5607 GB, free: 83.74 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009354/0.5959, allocations: 2.429 MB / 0.5631 GB, free: 82.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003499/0.5963, allocations: 0.8122 MB / 0.5639 GB, free: 81.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006205/0.5969, allocations: 0.5212 MB / 0.5644 GB, free: 81.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 2.935e-05/0.5969, allocations: 305.1 kB / 0.5647 GB, free: 80.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001649/0.5986, allocations: 1.271 MB / 0.5659 GB, free: 80.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00188/0.6004, allocations: 2.176 MB / 0.5681 GB, free: 77.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003638/0.6041, allocations: 3.663 MB / 0.5716 GB, free: 73.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.6041, allocations: 8 kB / 0.5716 GB, free: 73.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.005437/0.6095, allocations: 4.472 MB / 0.576 GB, free: 69.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.6095, allocations: 22.95 kB / 0.576 GB, free: 69.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/0.6096, allocations: 28 kB / 0.5761 GB, free: 69.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009901/0.6106, allocations: 0.532 MB / 0.5766 GB, free: 68.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00223/0.6128, allocations: 0.6863 MB / 0.5772 GB, free: 67.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006143/0.6189, allocations: 10.35 MB / 0.5874 GB, free: 56.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001886/0.6208, allocations: 187.6 kB / 0.5875 GB, free: 56.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/0.621, allocations: 132 kB / 0.5877 GB, free: 56.62 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 129 * 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 (345): * Single equations (assignments): 338 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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): 5 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%), (1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001824/0.6228, allocations: 1.516 MB / 0.5891 GB, free: 55.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003736/0.6232, allocations: 337.9 kB / 0.5895 GB, free: 54.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005161/0.6283, allocations: 3.883 MB / 0.5933 GB, free: 50.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-05/0.6284, allocations: 11.95 kB / 0.5933 GB, free: 50.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.6284, allocations: 0 / 0.5933 GB, free: 50.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/0.6295, allocations: 0.6667 MB / 0.5939 GB, free: 50.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003887/0.6298, allocations: 51.98 kB / 0.594 GB, free: 50.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/0.6313, allocations: 135.8 kB / 0.5941 GB, free: 49.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002435/0.6315, allocations: 177.7 kB / 0.5943 GB, free: 49.73 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006188/0.6377, allocations: 3.669 MB / 0.5978 GB, free: 46.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00504/0.6427, allocations: 4.553 MB / 0.6023 GB, free: 41.51 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001367/0.6441, allocations: 1.218 MB / 0.6035 GB, free: 40.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002018/0.6461, allocations: 1.98 MB / 0.6054 GB, free: 38.32 MB / 446.1 MB Notification: Performance of Backend: time 1.8e-07/0.6461, allocations: 0 / 0.6054 GB, free: 38.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004291/0.6504, allocations: 3.038 MB / 0.6084 GB, free: 35.2 MB / 446.1 MB Notification: Performance of SimCode: time 0.01102/0.6614, allocations: 10.04 MB / 0.6182 GB, free: 25.13 MB / 446.1 MB Notification: Performance of Templates: time 0.07953/0.741, allocations: 53.24 MB / 0.6702 GB, free: 4.484 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.8928705858998] Failed to read output from testmodel.py, exit status != 0: ['time', 'loadInertiaE.phi', 'loadInertiaE.w', 'loadInertiaM.phi', 'loadInertiaM.w', 'smrE.is[1]', 'smrE.is[2]', 'smrE.idq_rr[1]', 'smrE.idq_rr[2]', 'smrE.idq_sr[1]', 'smrE.idq_sr[2]', 'smrM.is[1]', 'smrM.is[2]', 'smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'vfController.x'] 0.7490651598200202 0.7626018569999999 0.45866325100000005 Calling exit ...