Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.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.001889/0.001889, allocations: 106.5 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.002301/0.002301, allocations: 217.1 kB / 24.49 MB, free: 3.93 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.428/1.428, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smpmE.is.1.|smpmE.is.2.|smpmE.idq_dr.1.|smpmE.idq_rr.2.|smpmE.idq_sr.1.|smpmE.idq_sr.2.|smpmM.is.1.|smpmM.is.2.|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smpmE.is.1.|smpmE.is.2.|smpmE.idq_dr.1.|smpmE.idq_rr.2.|smpmE.idq_sr.1.|smpmE.idq_sr.2.|smpmM.is.1.|smpmM.is.2.|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 55.91 kB / 379 MB, free: 2.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.218, allocations: 53.35 MB / 432.4 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter): time 0.02409/0.2421, allocations: 19.35 MB / 451.7 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01277/0.2549, allocations: 6.387 MB / 458.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003678/0.2585, allocations: 174.9 kB / 458.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004422/0.263, allocations: 1.505 MB / 459.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006425/0.2694, allocations: 2.139 MB / 461.9 MB, free: 9.023 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003022/0.2724, allocations: 1.308 MB / 463.2 MB, free: 7.715 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007352/0.2798, allocations: 6.592 MB / 469.8 MB, free: 1.098 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004278/0.284, allocations: 3.143 MB / 473 MB, free: 13.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00389/0.2879, allocations: 3.096 MB / 476.1 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004813/0.2927, allocations: 3.737 MB / 479.8 MB, free: 7.016 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00121/0.294, allocations: 0.8125 MB / 480.6 MB, free: 6.203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00207/0.296, allocations: 1.125 MB / 481.7 MB, free: 5.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002025/0.298, allocations: 2.041 MB / 483.8 MB, free: 3.031 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003149/0.3012, allocations: 2.824 MB / 486.6 MB, free: 200 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01126/0.3125, allocations: 10.92 MB / 497.5 MB, free: 5.238 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3125, allocations: 4 kB / 497.5 MB, free: 5.234 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.3125, allocations: 7.938 kB / 497.5 MB, free: 5.227 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001798/0.3126, allocations: 0 / 497.5 MB, free: 5.227 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.0168/0.3294, allocations: 7.027 MB / 0.4927 GB, free: 14.13 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.3295, allocations: 12.02 kB / 0.4927 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005108/0.3346, allocations: 1.078 MB / 0.4938 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007873/0.3425, allocations: 3.684 MB / 0.4974 GB, free: 9.285 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003387/0.3428, allocations: 399.1 kB / 0.4978 GB, free: 8.895 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008956/0.3437, allocations: 0.5272 MB / 0.4983 GB, free: 8.367 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0129/0.3566, allocations: 7.293 MB / 0.5054 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001302/0.3567, allocations: 11.94 kB / 0.5054 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005339/0.3573, allocations: 224 kB / 0.5056 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002814/0.3575, allocations: 258.6 kB / 0.5059 GB, free: 472 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01085/0.3684, allocations: 5.94 MB / 0.5117 GB, free: 10.51 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03496/0.4034, allocations: 19.17 MB / 0.5304 GB, free: 6.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006882/0.4102, allocations: 3.716 MB / 0.534 GB, free: 3.289 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003669/0.4139, allocations: 2.093 MB / 0.5361 GB, free: 1.184 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1914/0.6053, allocations: 5.201 MB / 0.5412 GB, free: 96.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.6053, allocations: 58.23 kB / 0.5412 GB, free: 96.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=220): time 5.791e-06/0.6053, allocations: 0 / 0.5412 GB, free: 96.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=240): time 0.01914/0.6245, allocations: 10.21 MB / 0.5512 GB, free: 93.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.6245, allocations: 76.59 kB / 0.5513 GB, free: 92.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002917/0.6274, allocations: 2.832 MB / 0.554 GB, free: 91.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000134/0.6275, allocations: 69.7 kB / 0.5541 GB, free: 91.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009297/0.6285, allocations: 2.598 MB / 0.5566 GB, free: 89.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004091/0.6289, allocations: 0.8732 MB / 0.5575 GB, free: 88.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007265/0.6296, allocations: 0.5619 MB / 0.558 GB, free: 88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.129e-05/0.6296, allocations: 307.8 kB / 0.5583 GB, free: 87.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001683/0.6313, allocations: 1.332 MB / 0.5596 GB, free: 86.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002021/0.6333, allocations: 2.37 MB / 0.5619 GB, free: 83.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003914/0.6373, allocations: 3.92 MB / 0.5658 GB, free: 79.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.354e-05/0.6373, allocations: 12 kB / 0.5658 GB, free: 79.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=406) (initialization): time 0.006041/0.6433, allocations: 4.553 MB / 0.5702 GB, free: 74.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.6433, allocations: 24.09 kB / 0.5702 GB, free: 74.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.792e-05/0.6434, allocations: 35.94 kB / 0.5703 GB, free: 74.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.6445, allocations: 0.5414 MB / 0.5708 GB, free: 74.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002513/0.647, allocations: 0.7332 MB / 0.5715 GB, free: 73.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006385/0.6534, allocations: 9.745 MB / 0.581 GB, free: 63.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002051/0.6554, allocations: 191.8 kB / 0.5812 GB, free: 63.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001922/0.6556, allocations: 140 kB / 0.5814 GB, free: 63.07 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 144 * 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 (377): * Single equations (assignments): 370 * 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,12,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.001977/0.6576, allocations: 1.578 MB / 0.5829 GB, free: 61.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003982/0.658, allocations: 329.9 kB / 0.5832 GB, free: 61.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005464/0.6634, allocations: 3.811 MB / 0.5869 GB, free: 57.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.882e-05/0.6635, allocations: 11.95 kB / 0.5869 GB, free: 57.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.6635, allocations: 0 / 0.5869 GB, free: 57.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/0.6647, allocations: 0.5914 MB / 0.5875 GB, free: 56.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003905/0.6651, allocations: 53.52 kB / 0.5876 GB, free: 56.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/0.6665, allocations: 147.8 kB / 0.5877 GB, free: 56.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002943/0.6668, allocations: 193.7 kB / 0.5879 GB, free: 56.31 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006628/0.6734, allocations: 3.811 MB / 0.5916 GB, free: 52.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005495/0.6789, allocations: 4.739 MB / 0.5962 GB, free: 47.76 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001491/0.6804, allocations: 1.276 MB / 0.5975 GB, free: 46.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002056/0.6825, allocations: 1.857 MB / 0.5993 GB, free: 44.63 MB / 446.1 MB Notification: Performance of Backend: time 3.41e-07/0.6825, allocations: 0 / 0.5993 GB, free: 44.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00472/0.6872, allocations: 3.015 MB / 0.6022 GB, free: 41.57 MB / 446.1 MB Notification: Performance of SimCode: time 0.01227/0.6995, allocations: 10.36 MB / 0.6124 GB, free: 31.16 MB / 446.1 MB Notification: Performance of Templates: time 0.08902/0.7885, allocations: 60.57 MB / 0.6715 GB, free: 3.348 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.413913038995815] Failed to read output from testmodel.py, exit status != 0: ['time', 'loadInertiaE.phi', 'loadInertiaE.w', 'loadInertiaM.phi', 'loadInertiaM.w', 'smpmE.is[1]', 'smpmE.is[2]', 'smpmE.idq_dr[1]', 'smpmE.idq_rr[2]', 'smpmE.idq_sr[1]', 'smpmE.idq_sr[2]', 'smpmM.is[1]', 'smpmM.is[2]', 'smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'vfController.x'] 0.7968710839995765 0.811087923 0.495498178 Calling exit ...