Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.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.001852/0.001852, 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.002197/0.002197, 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.432/1.432, 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.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smpm.is.1.|smpm.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smpm.is.1.|smpm.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 43.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2537, allocations: 53.36 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.01275/0.2664, allocations: 9.159 MB / 441.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006664/0.2731, allocations: 3.276 MB / 444.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/0.2745, allocations: 75.5 kB / 444.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002116/0.2766, allocations: 0.7644 MB / 445.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002777/0.2793, allocations: 0.9009 MB / 446.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009923/0.2803, allocations: 427.4 kB / 446.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003047/0.2834, allocations: 2.755 MB / 449.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001919/0.2853, allocations: 1.352 MB / 451 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001553/0.2869, allocations: 1.308 MB / 452.4 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002198/0.2891, allocations: 1.615 MB / 454 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004987/0.2896, allocations: 336 kB / 454.3 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008342/0.2904, allocations: 447.8 kB / 454.7 MB, free: 200 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001002/0.2914, allocations: 0.9543 MB / 455.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001331/0.2927, allocations: 1.214 MB / 456.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004773/0.2975, allocations: 4.437 MB / 461.3 MB, free: 9.566 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2975, allocations: 0 / 461.3 MB, free: 9.566 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2975, allocations: 0 / 461.3 MB, free: 9.566 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.38e-05/0.2975, allocations: 0 / 461.3 MB, free: 9.566 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.006037/0.3036, allocations: 3.068 MB / 464.4 MB, free: 6.449 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.3036, allocations: 8.031 kB / 464.4 MB, free: 6.441 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008994/0.3045, allocations: 331 kB / 464.7 MB, free: 6.117 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003125/0.3076, allocations: 1.559 MB / 466.3 MB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/0.3078, allocations: 172.3 kB / 466.5 MB, free: 4.348 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003891/0.3082, allocations: 220 kB / 466.7 MB, free: 4.133 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005227/0.3134, allocations: 3.017 MB / 469.7 MB, free: 1.004 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.003e-05/0.3135, allocations: 7.938 kB / 469.7 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002358/0.3137, allocations: 95.92 kB / 469.8 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/0.3138, allocations: 116.3 kB / 469.9 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004438/0.3183, allocations: 2.422 MB / 472.3 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01353/0.3318, allocations: 7.831 MB / 480.2 MB, free: 6.258 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002291/0.3341, allocations: 1.171 MB / 481.3 MB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001842/0.3359, allocations: 0.9249 MB / 482.3 MB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002378/0.3362, allocations: 52.91 kB / 482.3 MB, free: 4.113 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/0.3362, allocations: 43.56 kB / 482.4 MB, free: 4.059 MB / 382.1 MB Notification: Performance of pre-optimization done (n=105): time 3.046e-06/0.3362, allocations: 0 / 482.4 MB, free: 4.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.01443/0.3507, allocations: 6.057 MB / 488.4 MB, free: 13.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.3507, allocations: 64.41 kB / 488.5 MB, free: 13.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/0.3528, allocations: 1.421 MB / 489.9 MB, free: 12.46 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.452e-05/0.3529, allocations: 45.7 kB / 489.9 MB, free: 12.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00093/0.3539, allocations: 1.149 MB / 491.1 MB, free: 11.26 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003999/0.3543, allocations: 464.1 kB / 491.5 MB, free: 10.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004805/0.3547, allocations: 271.5 kB / 491.8 MB, free: 10.53 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3549, allocations: 305.1 kB / 492.1 MB, free: 10.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/0.3562, allocations: 0.7066 MB / 492.8 MB, free: 9.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/0.3578, allocations: 1.138 MB / 494 MB, free: 8.195 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003057/0.3609, allocations: 1.967 MB / 495.9 MB, free: 6.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.938e-06/0.3609, allocations: 4 kB / 495.9 MB, free: 6.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004448/0.3653, allocations: 2.432 MB / 498.4 MB, free: 3.586 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.3654, allocations: 12 kB / 498.4 MB, free: 3.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.403e-05/0.3654, allocations: 15.94 kB / 498.4 MB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.3665, allocations: 425.8 kB / 498.8 MB, free: 3.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.3679, allocations: 347.5 kB / 499.1 MB, free: 2.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007806/0.3757, allocations: 6.711 MB / 0.494 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.3768, allocations: 107.8 kB / 0.4941 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.3769, allocations: 60 kB / 0.4942 GB, free: 11.62 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(3,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001213/0.3781, allocations: 0.7241 MB / 0.4949 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002807/0.3784, allocations: 162.9 kB / 0.495 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004091/0.3825, allocations: 2.11 MB / 0.4971 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.3825, allocations: 7.984 kB / 0.4971 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.3825, allocations: 0 / 0.4971 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000823/0.3833, allocations: 310.8 kB / 0.4974 GB, free: 8.277 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002135/0.3835, allocations: 24 kB / 0.4974 GB, free: 8.254 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008805/0.3844, allocations: 103.7 kB / 0.4975 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002154/0.3846, allocations: 105 kB / 0.4976 GB, free: 8.051 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004804/0.3894, allocations: 2.179 MB / 0.4997 GB, free: 5.848 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004353/0.3938, allocations: 2.705 MB / 0.5024 GB, free: 3.125 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001214/0.395, allocations: 0.7207 MB / 0.5031 GB, free: 2.406 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001484/0.3965, allocations: 0.9574 MB / 0.504 GB, free: 1.449 MB / 414.1 MB Notification: Performance of Backend: time 3.61e-07/0.3965, allocations: 0 / 0.504 GB, free: 1.449 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003565/0.4001, allocations: 1.671 MB / 0.5056 GB, free: 15.73 MB / 430.1 MB Notification: Performance of SimCode: time 0.007805/0.4079, allocations: 5.01 MB / 0.5105 GB, free: 10.67 MB / 430.1 MB Notification: Performance of Templates: time 0.2188/0.6267, allocations: 31.45 MB / 0.5412 GB, free: 104.6 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.428685414000938] Failed to read output from testmodel.py, exit status != 0: ['time', 'loadInertia.phi', 'loadInertia.w', 'smpm.is[1]', 'smpm.is[2]', 'smpm.idq_dr[1]', 'smpm.idq_rr[2]', 'smpm.idq_sr[1]', 'smpm.idq_sr[2]', 'vfController.x'] 0.6353087759998743 0.64453125 0.34477898300000004 Calling exit ...