Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_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.001515/0.001515, allocations: 116 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.001356/0.001356, allocations: 213.7 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.392/1.392, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.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-beta.om_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-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_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.001919/0.001919, allocations: 71.83 kB / 378.8 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2159, allocations: 53.31 MB / 432.1 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.0128/0.2287, allocations: 10.46 MB / 442.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006143/0.2349, allocations: 3.486 MB / 446 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007638/0.2356, allocations: 59.75 kB / 446.1 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001694/0.2373, allocations: 0.8387 MB / 446.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001887/0.2392, allocations: 0.8814 MB / 447.8 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008312/0.2401, allocations: 431.3 kB / 448.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002925/0.243, allocations: 2.759 MB / 451 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001847/0.2448, allocations: 1.359 MB / 452.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001601/0.2464, allocations: 1.273 MB / 453.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002282/0.2487, allocations: 1.619 MB / 455.2 MB, free: 96 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005039/0.2492, allocations: 336 kB / 455.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008072/0.25, allocations: 447.8 kB / 456 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009965/0.251, allocations: 0.9543 MB / 456.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001577/0.2526, allocations: 1.513 MB / 458.5 MB, free: 12.85 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004945/0.2575, allocations: 4.398 MB / 462.9 MB, free: 8.438 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2575, allocations: 4 kB / 462.9 MB, free: 8.434 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2575, allocations: 4 kB / 462.9 MB, free: 8.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.911e-05/0.2576, allocations: 0 / 462.9 MB, free: 8.43 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.006251/0.2639, allocations: 3.136 MB / 466 MB, free: 5.227 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.2639, allocations: 8.031 kB / 466 MB, free: 5.219 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008434/0.2647, allocations: 331 kB / 466.3 MB, free: 4.895 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002972/0.2677, allocations: 1.635 MB / 468 MB, free: 3.203 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.2679, allocations: 172.3 kB / 468.1 MB, free: 3.031 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003393/0.2682, allocations: 220 kB / 468.3 MB, free: 2.816 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004915/0.2731, allocations: 2.921 MB / 471.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.69e-05/0.2732, allocations: 3.938 kB / 471.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002121/0.2734, allocations: 95.88 kB / 471.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001368/0.2735, allocations: 120.3 kB / 471.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004435/0.278, allocations: 2.43 MB / 473.9 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01473/0.2927, allocations: 9.05 MB / 483 MB, free: 3.816 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00249/0.2952, allocations: 1.631 MB / 484.6 MB, free: 2.066 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001824/0.297, allocations: 0.9213 MB / 485.5 MB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003087/0.2973, allocations: 211.2 kB / 485.7 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.2974, allocations: 43.56 kB / 485.8 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of pre-optimization done (n=105): time 3.406e-06/0.2974, allocations: 0 / 485.8 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.01479/0.3121, allocations: 6.596 MB / 492.4 MB, free: 10.1 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.3122, allocations: 72.33 kB / 492.4 MB, free: 10.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002411/0.3146, allocations: 1.566 MB / 494 MB, free: 8.445 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.638e-05/0.3147, allocations: 45.7 kB / 494 MB, free: 8.395 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008885/0.3156, allocations: 1.138 MB / 495.2 MB, free: 7.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000368/0.316, allocations: 444.2 kB / 495.6 MB, free: 6.805 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004363/0.3164, allocations: 283.4 kB / 495.9 MB, free: 6.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.3165, allocations: 301.1 kB / 496.2 MB, free: 6.223 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.3178, allocations: 0.7105 MB / 496.9 MB, free: 5.512 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001598/0.3194, allocations: 1.138 MB / 498 MB, free: 4.188 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00295/0.3223, allocations: 1.967 MB / 500 MB, free: 2.039 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.3223, allocations: 4 kB / 0.4883 GB, free: 2.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.00453/0.3269, allocations: 2.519 MB / 0.4907 GB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.3269, allocations: 19.88 kB / 0.4908 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/0.3269, allocations: 12 kB / 0.4908 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.3279, allocations: 423.4 kB / 0.4912 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.3292, allocations: 347.4 kB / 0.4915 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007865/0.3371, allocations: 7.139 MB / 0.4985 GB, free: 7.133 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.3384, allocations: 103.9 kB / 0.4986 GB, free: 7.031 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.3385, allocations: 67.98 kB / 0.4986 GB, free: 6.965 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.001226/0.3397, allocations: 0.7198 MB / 0.4993 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003004/0.34, allocations: 178.9 kB / 0.4995 GB, free: 6.059 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004035/0.3441, allocations: 2.186 MB / 0.5017 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/0.3441, allocations: 7.969 kB / 0.5017 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.3441, allocations: 0 / 0.5017 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008339/0.3449, allocations: 411.7 kB / 0.5021 GB, free: 3.395 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002332/0.3452, allocations: 27.98 kB / 0.5021 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009131/0.3461, allocations: 87.89 kB / 0.5022 GB, free: 3.281 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002119/0.3463, allocations: 101 kB / 0.5023 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004727/0.351, allocations: 2.198 MB / 0.5044 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004317/0.3553, allocations: 2.729 MB / 0.5071 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001181/0.3565, allocations: 0.7207 MB / 0.5078 GB, free: 13.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001648/0.3582, allocations: 1.074 MB / 0.5088 GB, free: 12.43 MB / 430.1 MB Notification: Performance of Backend: time 3.71e-07/0.3582, allocations: 0 / 0.5088 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00375/0.3619, allocations: 1.751 MB / 0.5105 GB, free: 10.61 MB / 430.1 MB Notification: Performance of SimCode: time 0.008252/0.3702, allocations: 5.09 MB / 0.5155 GB, free: 5.469 MB / 430.1 MB Notification: Performance of Templates: time 0.2141/0.5843, allocations: 29.59 MB / 0.5444 GB, free: 95.28 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.1409740429371595] 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.5916483267210424 0.600030299 0.340350841 Calling exit ...