Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 116.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.6 MB / 245.5 MB, free: 14.16 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 205.3 kB / 300.5 MB, free: 9.82 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04043/0.04043, allocations: 8.929 MB / 364.3 MB, free: 10.17 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.SynchronousMachines.SMR_MTPA,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA") translateModel(HanserModelica.SynchronousMachines.SMR_MTPA,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002406/0.002406, allocations: 87.06 kB / 487.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1117, allocations: 54.41 MB / 0.529 GB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_MTPA): time 0.03159/0.1433, allocations: 27.77 MB / 0.5561 GB, free: 4.926 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02059/0.1638, allocations: 8.049 MB / 0.5639 GB, free: 12.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006531/0.1704, allocations: 211.4 kB / 0.5641 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01937/0.1897, allocations: 8.008 MB / 0.572 GB, free: 4.617 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01053/0.2003, allocations: 2.747 MB / 0.5747 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006392/0.2067, allocations: 1.842 MB / 0.5764 GB, free: 20 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01429/0.221, allocations: 9.678 MB / 0.5859 GB, free: 6.305 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02864/0.2496, allocations: 16.22 MB / 0.6017 GB, free: 5.941 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009832/0.2594, allocations: 5.276 MB / 0.6069 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01086/0.2703, allocations: 5.973 MB / 0.6127 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004663/0.275, allocations: 1.52 MB / 0.6142 GB, free: 9.137 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007062/0.282, allocations: 1.878 MB / 0.616 GB, free: 7.262 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00581/0.2878, allocations: 2.942 MB / 0.6189 GB, free: 4.312 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01181/0.2996, allocations: 5.724 MB / 0.6245 GB, free: 14.56 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3162/0.6159, allocations: 20.32 MB / 0.6444 GB, free: 39.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.6159, allocations: 0 / 0.6444 GB, free: 39.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6159, allocations: 0 / 0.6444 GB, free: 39.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006371/0.6165, allocations: 1.031 kB / 0.6444 GB, free: 39.3 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2552 * Number of variables: 2552 Notification: Performance of Generate backend data structure: time 0.04007/0.6566, allocations: 11.8 MB / 0.6559 GB, free: 36.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.6566, allocations: 8.625 kB / 0.6559 GB, free: 36.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03142/0.688, allocations: 5.637 MB / 0.6614 GB, free: 34.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01591/0.704, allocations: 6.194 MB / 0.6674 GB, free: 33.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007102/0.7047, allocations: 0.6927 MB / 0.6681 GB, free: 33.19 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004899/0.7096, allocations: 0.9155 MB / 0.669 GB, free: 32.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03835/0.7479, allocations: 14.86 MB / 0.6835 GB, free: 22.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004308/0.7484, allocations: 15.94 kB / 0.6835 GB, free: 22.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004477/0.7528, allocations: 380.6 kB / 0.6839 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004286/0.7533, allocations: 0.5074 MB / 0.6844 GB, free: 22.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02773/0.781, allocations: 13.58 MB / 0.6977 GB, free: 8.516 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09396/0.8749, allocations: 46.21 MB / 0.7428 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0257/0.9006, allocations: 27.92 MB / 0.7701 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005262/0.9059, allocations: 2.764 MB / 0.7728 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004684/0.9064, allocations: 233.5 kB / 0.773 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.919e-05/0.9064, allocations: 73.52 kB / 0.7731 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=375): time 5.841e-06/0.9065, allocations: 2.734 kB / 0.7731 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of matching and sorting (n=382): time 0.03493/0.9414, allocations: 14.72 MB / 0.7874 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.874e-05/0.9415, allocations: 90.41 kB / 0.7875 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006323/0.9478, allocations: 3.483 MB / 0.7909 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007867/0.9486, allocations: 89.7 kB / 0.791 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003614/0.9522, allocations: 4.094 MB / 0.795 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002004/0.9542, allocations: 1.378 MB / 0.7964 GB, free: 15.48 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002029/0.9562, allocations: 1.152 MB / 0.7975 GB, free: 14.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.9564, allocations: 301.1 kB / 0.7978 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004375/0.9608, allocations: 2.549 MB / 0.8003 GB, free: 11.46 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007059/0.9678, allocations: 5.012 MB / 0.8051 GB, free: 5.332 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01277/0.9806, allocations: 8.215 MB / 0.8132 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-05/0.9807, allocations: 24 kB / 0.8132 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01769/0.9983, allocations: 8.493 MB / 0.8215 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.688e-05/0.9984, allocations: 44.16 kB / 0.8215 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001942/0.9986, allocations: 84 kB / 0.8216 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002634/1.001, allocations: 0.8459 MB / 0.8224 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005417/1.007, allocations: 1.336 MB / 0.8237 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0133/1.02, allocations: 7.679 MB / 0.8312 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004364/1.024, allocations: 331.5 kB / 0.8316 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001217/1.026, allocations: 296 kB / 0.8318 GB, free: 9.676 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 373 * 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 (708): * Single equations (assignments): 707 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(8,40,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007257/1.033, allocations: 3.476 MB / 0.8352 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001121/1.034, allocations: 413.3 kB / 0.8356 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/1.045, allocations: 5.837 MB / 0.8413 GB, free: 32 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-05/1.046, allocations: 44.05 kB / 0.8414 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.558e-05/1.046, allocations: 8 kB / 0.8414 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-05/1.046, allocations: 19.88 kB / 0.8414 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03224/1.078, allocations: 14.46 MB / 0.8555 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-05/1.078, allocations: 4.562 kB / 0.8555 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003063/1.081, allocations: 0.6795 MB / 0.8562 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002206/1.083, allocations: 0.7054 MB / 0.8569 GB, free: 200 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000518/1.084, allocations: 79.98 kB / 0.857 GB, free: 120 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2472/1.331, allocations: 6.708 MB / 0.8635 GB, free: 222.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/1.331, allocations: 7.094 kB / 0.8635 GB, free: 222.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01078/1.342, allocations: 8.548 MB / 0.8719 GB, free: 219.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002366/1.344, allocations: 0.8784 MB / 0.8727 GB, free: 218.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008151/1.345, allocations: 73.25 kB / 0.8728 GB, free: 218.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002031/1.347, allocations: 183 kB / 0.873 GB, free: 218.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004761/1.347, allocations: 260.4 kB / 0.8732 GB, free: 218.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002023/1.348, allocations: 111.9 kB / 0.8733 GB, free: 218.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003372/1.351, allocations: 2.34 MB / 0.8756 GB, free: 217.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/1.351, allocations: 1.219 kB / 0.8756 GB, free: 217.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006223/1.357, allocations: 1.513 MB / 0.8771 GB, free: 217.6 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 1 (smr.phiMechanical) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (365): * Single equations (assignments): 364 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(8,38,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007676/1.358, allocations: 253.8 kB / 0.8773 GB, free: 217.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.008762/1.367, allocations: 6.167 MB / 0.8833 GB, free: 215.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/1.367, allocations: 2.531 kB / 0.8833 GB, free: 215.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004015/1.371, allocations: 2.665 MB / 0.886 GB, free: 214.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004352/1.375, allocations: 0.8997 MB / 0.8868 GB, free: 213.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02313/1.398, allocations: 15.32 MB / 0.9018 GB, free: 201.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005062/1.403, allocations: 5.722 MB / 0.9074 GB, free: 196.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001393/1.405, allocations: 373.4 kB / 0.9077 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.343e-06/1.405, allocations: 0 / 0.9077 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.1375/1.542, allocations: 148.5 MB / 1.053 GB, free: 49.18 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 16.084271674000775] Failed to read output from testmodel.py, exit status != 0: 1.7494575449964032 1.558951082 0.940568551 Calling exit ...