Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_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.00185/0.00185, 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.00232/0.00232, allocations: 215.5 kB / 24.49 MB, free: 3.938 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.506/1.506, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 39.94 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2141, allocations: 53.38 MB / 432.4 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.0114/0.2255, allocations: 8.56 MB / 440.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00556/0.2311, allocations: 2.98 MB / 443.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000768/0.2319, allocations: 67.56 kB / 444 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.2334, allocations: 0.6676 MB / 444.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001958/0.2354, allocations: 0.8194 MB / 445.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007933/0.2362, allocations: 399.4 kB / 445.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00271/0.2389, allocations: 2.564 MB / 448.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001778/0.2406, allocations: 1.302 MB / 449.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001527/0.2422, allocations: 1.227 MB / 450.9 MB, free: 4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002042/0.2442, allocations: 1.537 MB / 452.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004452/0.2447, allocations: 320 kB / 452.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008273/0.2455, allocations: 419.8 kB / 453.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009755/0.2465, allocations: 0.9115 MB / 454.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001336/0.2478, allocations: 1.151 MB / 455.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00457/0.2524, allocations: 4.204 MB / 459.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2524, allocations: 0 / 459.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2524, allocations: 0 / 459.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.783e-05/0.2524, allocations: 0 / 459.5 MB, free: 11.45 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.006003/0.2584, allocations: 2.904 MB / 462.4 MB, free: 8.492 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.2585, allocations: 8.031 kB / 462.4 MB, free: 8.484 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008359/0.2593, allocations: 307.2 kB / 462.7 MB, free: 8.184 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002978/0.2623, allocations: 1.471 MB / 464.1 MB, free: 6.672 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.2624, allocations: 164.3 kB / 464.3 MB, free: 6.508 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003526/0.2628, allocations: 215.9 kB / 464.5 MB, free: 6.297 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004977/0.2678, allocations: 2.904 MB / 467.4 MB, free: 3.281 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.858e-05/0.2678, allocations: 3.938 kB / 467.4 MB, free: 3.277 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002107/0.268, allocations: 88 kB / 467.5 MB, free: 3.191 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001267/0.2682, allocations: 104.2 kB / 467.6 MB, free: 3.086 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004221/0.2724, allocations: 2.339 MB / 470 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01335/0.2857, allocations: 7.374 MB / 477.3 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002463/0.2882, allocations: 1.19 MB / 478.5 MB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001862/0.2901, allocations: 0.886 MB / 479.4 MB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002323/0.2903, allocations: 60.88 kB / 479.5 MB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.2903, allocations: 47.56 kB / 479.5 MB, free: 6.922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 3.086e-06/0.2903, allocations: 0 / 479.5 MB, free: 6.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=116): time 0.01406/0.3044, allocations: 5.708 MB / 485.2 MB, free: 1.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.3044, allocations: 76.33 kB / 485.3 MB, free: 1.094 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002032/0.3065, allocations: 1.301 MB / 486.6 MB, free: 15.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001136/0.3066, allocations: 45.7 kB / 486.6 MB, free: 15.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008338/0.3074, allocations: 1.07 MB / 487.7 MB, free: 14.65 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000437/0.3078, allocations: 424.5 kB / 488.1 MB, free: 14.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004467/0.3083, allocations: 259.5 kB / 488.4 MB, free: 13.97 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.3085, allocations: 357.9 kB / 488.7 MB, free: 13.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.3097, allocations: 0.6948 MB / 489.4 MB, free: 12.92 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001582/0.3113, allocations: 1.07 MB / 490.5 MB, free: 11.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002967/0.3143, allocations: 1.868 MB / 492.4 MB, free: 9.668 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.3143, allocations: 0 / 492.4 MB, free: 9.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004615/0.3189, allocations: 2.335 MB / 494.7 MB, free: 7.312 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.3189, allocations: 8 kB / 494.7 MB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.614e-05/0.319, allocations: 12 kB / 494.7 MB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/0.3201, allocations: 407.4 kB / 495.1 MB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.3214, allocations: 327.5 kB / 495.4 MB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007933/0.3293, allocations: 6.635 MB / 0.4903 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/0.3307, allocations: 111.7 kB / 0.4904 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.3308, allocations: 56 kB / 0.4905 GB, free: 15.46 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (157): * Single equations (assignments): 153 * 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,11,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.001288/0.3321, allocations: 0.6889 MB / 0.4911 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003177/0.3324, allocations: 155.1 kB / 0.4913 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004069/0.3365, allocations: 2.038 MB / 0.4933 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.3365, allocations: 3.984 kB / 0.4933 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3365, allocations: 0 / 0.4933 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007608/0.3373, allocations: 298.9 kB / 0.4936 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002017/0.3375, allocations: 31.98 kB / 0.4936 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008851/0.3383, allocations: 83.89 kB / 0.4937 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002085/0.3386, allocations: 96.78 kB / 0.4938 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004734/0.3433, allocations: 2.129 MB / 0.4958 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004287/0.3476, allocations: 2.62 MB / 0.4984 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001173/0.3487, allocations: 0.7104 MB / 0.4991 GB, free: 6.539 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00134/0.3501, allocations: 0.8759 MB / 0.4999 GB, free: 5.66 MB / 414.1 MB Notification: Performance of Backend: time 3.51e-07/0.3501, allocations: 0 / 0.4999 GB, free: 5.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003434/0.3535, allocations: 1.613 MB / 0.5015 GB, free: 4 MB / 414.1 MB Notification: Performance of SimCode: time 0.007303/0.3608, allocations: 4.727 MB / 0.5061 GB, free: 15.21 MB / 430.1 MB Notification: Performance of Templates: time 0.04706/0.4079, allocations: 28.79 MB / 0.5343 GB, free: 2.805 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.292104349995498] Failed to read output from testmodel.py, exit status != 0: ['time', 'loadInertia.phi', 'loadInertia.w', 'smr.is[1]', 'smr.is[2]', 'smr.idq_rr[1]', 'smr.idq_rr[2]', 'smr.idq_sr[1]', 'smr.idq_sr[2]', 'vfController.x'] 0.416280495999672 0.570024172 0.315282801 Calling exit ...