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.001271/0.001271, allocations: 113 kB / 17.6 MB, free: 4.684 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.429/1.429, allocations: 225.6 MB / 246.2 MB, free: 13.57 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.001462/0.001462, allocations: 194.9 kB / 301.4 MB, free: 9.113 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.04026/0.04026, allocations: 8.932 MB / 365.5 MB, free: 9.242 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.002422/0.002422, allocations: 85.28 kB / 489.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1208, allocations: 54.41 MB / 0.531 GB, free: 14.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_MTPA): time 0.03351/0.1543, allocations: 27.84 MB / 0.5582 GB, free: 2.723 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02006/0.1744, allocations: 8.061 MB / 0.5661 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007839/0.1822, allocations: 207.4 kB / 0.5663 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0218/0.204, allocations: 8.01 MB / 0.5741 GB, free: 2.406 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01171/0.2157, allocations: 2.747 MB / 0.5768 GB, free: 15.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006785/0.2225, allocations: 1.844 MB / 0.5786 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01656/0.2391, allocations: 9.697 MB / 0.5881 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03391/0.273, allocations: 13.05 MB / 0.6008 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01147/0.2844, allocations: 5.279 MB / 0.606 GB, free: 1.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01228/0.2967, allocations: 5.984 MB / 0.6118 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005415/0.3021, allocations: 1.516 MB / 0.6133 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007258/0.3094, allocations: 1.878 MB / 0.6151 GB, free: 8.191 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006302/0.3157, allocations: 2.954 MB / 0.618 GB, free: 5.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01499/0.3307, allocations: 5.72 MB / 0.6236 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2775/0.6082, allocations: 20.32 MB / 0.6435 GB, free: 36.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.6082, allocations: 0.9688 kB / 0.6435 GB, free: 36.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.6082, allocations: 0 / 0.6435 GB, free: 36.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006901/0.6089, allocations: 0 / 0.6435 GB, free: 36.93 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.03913/0.648, allocations: 11.8 MB / 0.655 GB, free: 33.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.6481, allocations: 9.219 kB / 0.655 GB, free: 33.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03002/0.6781, allocations: 5.626 MB / 0.6605 GB, free: 33.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01384/0.6919, allocations: 6.203 MB / 0.6665 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009034/0.6928, allocations: 0.6936 MB / 0.6672 GB, free: 31.49 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005399/0.6982, allocations: 0.9143 MB / 0.6681 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03922/0.7374, allocations: 14.86 MB / 0.6826 GB, free: 22.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003281/0.7378, allocations: 11.94 kB / 0.6826 GB, free: 22.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003641/0.7414, allocations: 387.1 kB / 0.683 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000409/0.7418, allocations: 0.5074 MB / 0.6835 GB, free: 21.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0277/0.7695, allocations: 13.58 MB / 0.6968 GB, free: 8.223 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1027/0.8722, allocations: 46.21 MB / 0.7419 GB, free: 9.805 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02792/0.9001, allocations: 27.93 MB / 0.7692 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005861/0.906, allocations: 2.752 MB / 0.7719 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000621/0.9066, allocations: 240.9 kB / 0.7721 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001124/0.9067, allocations: 73.52 kB / 0.7722 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=375): time 5.741e-06/0.9067, allocations: 0 / 0.7722 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of matching and sorting (n=382): time 0.04089/0.9476, allocations: 14.73 MB / 0.7865 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.9477, allocations: 90.41 kB / 0.7866 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00898/0.9567, allocations: 3.483 MB / 0.79 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008472/0.9575, allocations: 85.7 kB / 0.7901 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003779/0.9613, allocations: 4.089 MB / 0.7941 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002069/0.9634, allocations: 1.376 MB / 0.7954 GB, free: 15.19 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003599/0.967, allocations: 1.148 MB / 0.7966 GB, free: 14.03 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.9672, allocations: 309.1 kB / 0.7969 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005385/0.9725, allocations: 2.556 MB / 0.7994 GB, free: 11.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007754/0.9803, allocations: 5.004 MB / 0.8042 GB, free: 5.039 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01402/0.9943, allocations: 8.218 MB / 0.8123 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.208e-05/0.9944, allocations: 28 kB / 0.8123 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01949/1.014, allocations: 8.491 MB / 0.8206 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/1.014, allocations: 42.66 kB / 0.8206 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001984/1.014, allocations: 80.84 kB / 0.8207 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002702/1.017, allocations: 0.8563 MB / 0.8215 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005212/1.022, allocations: 1.348 MB / 0.8229 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01323/1.035, allocations: 7.672 MB / 0.8303 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005783/1.041, allocations: 327.5 kB / 0.8307 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00175/1.043, allocations: 300 kB / 0.8309 GB, free: 9.363 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.009728/1.053, allocations: 3.477 MB / 0.8343 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001682/1.054, allocations: 405.4 kB / 0.8347 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01397/1.068, allocations: 5.835 MB / 0.8404 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.61e-05/1.068, allocations: 43.98 kB / 0.8405 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.772e-05/1.068, allocations: 8 kB / 0.8405 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.335e-05/1.068, allocations: 15.94 kB / 0.8405 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03262/1.101, allocations: 14.48 MB / 0.8546 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/1.101, allocations: 4 kB / 0.8546 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002656/1.104, allocations: 0.6676 MB / 0.8553 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3437/1.447, allocations: 0.7038 MB / 0.856 GB, free: 222.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001207/1.449, allocations: 83.5 kB / 0.8561 GB, free: 222.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01043/1.459, allocations: 6.709 MB / 0.8626 GB, free: 220.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.577e-06/1.459, allocations: 5.438 kB / 0.8626 GB, free: 220.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0126/1.472, allocations: 8.565 MB / 0.871 GB, free: 217.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002622/1.474, allocations: 0.8722 MB / 0.8718 GB, free: 217 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009447/1.475, allocations: 69.94 kB / 0.8719 GB, free: 216.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002054/1.477, allocations: 180.7 kB / 0.8721 GB, free: 216.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005916/1.478, allocations: 265 kB / 0.8723 GB, free: 216.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002142/1.478, allocations: 109.9 kB / 0.8724 GB, free: 216.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003596/1.482, allocations: 2.34 MB / 0.8747 GB, free: 215.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/1.482, allocations: 0 / 0.8747 GB, free: 215.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009259/1.491, allocations: 1.509 MB / 0.8762 GB, free: 215.8 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.00118/1.492, allocations: 244.5 kB / 0.8764 GB, free: 215.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01104/1.503, allocations: 6.175 MB / 0.8824 GB, free: 213.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-05/1.503, allocations: 0 / 0.8824 GB, free: 213.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005187/1.508, allocations: 2.665 MB / 0.885 GB, free: 212.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004739/1.513, allocations: 0.8997 MB / 0.8859 GB, free: 211.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03219/1.545, allocations: 15.73 MB / 0.9013 GB, free: 199.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008687/1.554, allocations: 5.89 MB / 0.907 GB, free: 195.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005164/1.559, allocations: 1.856 MB / 0.9089 GB, free: 194 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001214/1.56, allocations: 332.9 kB / 0.9092 GB, free: 193.7 MB / 0.5919 GB Notification: Performance of SimCode: time 2.635e-06/1.56, allocations: 0.5469 kB / 0.9092 GB, free: 193.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.1009/1.661, allocations: 60.15 MB / 0.9679 GB, free: 134.8 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: 8.137729001231492]