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.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.001353/0.001353, allocations: 85.27 kB / 19.87 MB, free: 4.613 MB / 18.57 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 0.932/0.932, allocations: 177.2 MB / 200.3 MB, free: 5.668 MB / 186.7 MB " [Timeout remaining time 179] 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.001136/0.001136, allocations: 156.6 kB / 256.9 MB, free: 12.95 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02399/0.02399, allocations: 6.658 MB / 320.1 MB, free: 26.34 MB / 266.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(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 1.272e-06/1.272e-06, allocations: 0 / 392.1 MB, free: 2.23 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143e-05/1.27e-05, allocations: 6.312 kB / 392.1 MB, free: 2.223 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_MTPA): time 0.1486/0.1486, allocations: 25.96 MB / 418.1 MB, free: 69.59 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01458/0.1632, allocations: 7.99 MB / 426.1 MB, free: 66.63 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002853/0.166, allocations: 247.9 kB / 426.3 MB, free: 66.55 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007441/0.1735, allocations: 8.211 MB / 434.5 MB, free: 61.47 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004721/0.1782, allocations: 2.79 MB / 437.3 MB, free: 59.26 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002494/0.1807, allocations: 1.847 MB / 439.2 MB, free: 57.82 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007069/0.1877, allocations: 10.15 MB / 449.3 MB, free: 49.5 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01323/0.201, allocations: 13.8 MB / 463.1 MB, free: 35.57 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006339/0.2073, allocations: 8.085 MB / 471.2 MB, free: 27.48 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004094/0.2114, allocations: 5.829 MB / 477 MB, free: 21.64 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001512/0.2129, allocations: 1.512 MB / 478.5 MB, free: 20.12 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002038/0.215, allocations: 1.901 MB / 480.4 MB, free: 18.22 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00112/0.2161, allocations: 3.031 MB / 483.5 MB, free: 15.18 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002391/0.2185, allocations: 3.875 MB / 487.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007209/0.2257, allocations: 9.731 MB / 497.1 MB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2257, allocations: 0 / 497.1 MB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2257, allocations: 4 kB / 497.1 MB, free: 1.539 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002018/0.2259, allocations: 0 / 497.1 MB, free: 1.539 MB / 330.7 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.01633/0.2422, allocations: 12.01 MB / 0.4971 GB, free: 5.434 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.2423, allocations: 8.031 kB / 0.4972 GB, free: 5.426 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01362/0.2559, allocations: 5.346 MB / 0.5024 GB, free: 72 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006713/0.2626, allocations: 5.545 MB / 0.5078 GB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003519/0.2629, allocations: 0.6907 MB / 0.5085 GB, free: 9.766 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001138/0.2641, allocations: 0.9138 MB / 0.5094 GB, free: 8.852 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009591/0.2737, allocations: 7.348 MB / 0.5165 GB, free: 1.422 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001291/0.2738, allocations: 15.95 kB / 0.5165 GB, free: 1.406 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005967/0.2744, allocations: 387.9 kB / 0.5169 GB, free: 1.027 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003183/0.2747, allocations: 0.5074 MB / 0.5174 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004974/0.2797, allocations: 3.385 MB / 0.5207 GB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2806/0.5603, allocations: 37.16 MB / 0.557 GB, free: 78.47 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007686/0.568, allocations: 5.905 MB / 0.5628 GB, free: 78.25 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001929/0.5699, allocations: 1.172 MB / 0.5639 GB, free: 78.21 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002526/0.5702, allocations: 138.9 kB / 0.5641 GB, free: 78.2 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.769e-05/0.5703, allocations: 72.78 kB / 0.5641 GB, free: 78.15 MB / 394.8 MB Notification: Performance of pre-optimization done (n=375): time 5.531e-06/0.5703, allocations: 0 / 0.5641 GB, free: 78.15 MB / 394.8 MB Notification: Performance of matching and sorting (n=382): time 0.01331/0.5836, allocations: 7.185 MB / 0.5711 GB, free: 77.29 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.5836, allocations: 91.91 kB / 0.5712 GB, free: 77.22 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003747/0.5874, allocations: 3.255 MB / 0.5744 GB, free: 76.78 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003597/0.5877, allocations: 85.64 kB / 0.5745 GB, free: 76.75 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001833/0.5896, allocations: 4.342 MB / 0.5787 GB, free: 74.98 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009677/0.5905, allocations: 1.414 MB / 0.5801 GB, free: 74.12 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001118/0.5916, allocations: 1.305 MB / 0.5814 GB, free: 74.01 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 3.898e-05/0.5917, allocations: 483.8 kB / 0.5818 GB, free: 73.54 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008304/0.5925, allocations: 0.6339 MB / 0.5825 GB, free: 73.52 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001809/0.5943, allocations: 4.358 MB / 0.5867 GB, free: 69.02 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003489/0.5978, allocations: 5.628 MB / 0.5922 GB, free: 64.44 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.773e-05/0.5979, allocations: 24.41 kB / 0.5922 GB, free: 64.44 MB / 394.8 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.005623/0.6035, allocations: 4.72 MB / 0.5968 GB, free: 64.01 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/0.6035, allocations: 45.25 kB / 0.5969 GB, free: 64.01 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.693e-05/0.6036, allocations: 81.12 kB / 0.597 GB, free: 64.01 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001459/0.6051, allocations: 0.7686 MB / 0.5977 GB, free: 63.8 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00211/0.6072, allocations: 1.262 MB / 0.599 GB, free: 62.83 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003904/0.6111, allocations: 4.835 MB / 0.6037 GB, free: 59.41 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002427/0.6135, allocations: 241.8 kB / 0.6039 GB, free: 59.26 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003149/0.6138, allocations: 254.5 kB / 0.6041 GB, free: 59.07 MB / 394.8 MB 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.001682/0.6155, allocations: 0.555 MB / 0.6047 GB, free: 58.77 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00061/0.6161, allocations: 0.5059 MB / 0.6052 GB, free: 58.31 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003337/0.6195, allocations: 2.957 MB / 0.6081 GB, free: 56.55 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.6195, allocations: 44 kB / 0.6081 GB, free: 56.5 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.6195, allocations: 8 kB / 0.6081 GB, free: 56.5 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.095e-05/0.6195, allocations: 18.47 kB / 0.6081 GB, free: 56.5 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01072/0.6302, allocations: 8.134 MB / 0.6161 GB, free: 51.46 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.6302, allocations: 4.938 kB / 0.6161 GB, free: 51.46 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/0.6314, allocations: 0.6021 MB / 0.6167 GB, free: 50.92 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001175/0.6326, allocations: 0.632 MB / 0.6173 GB, free: 50.32 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001661/0.6328, allocations: 89.41 kB / 0.6174 GB, free: 50.29 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003295/0.6361, allocations: 4.331 MB / 0.6216 GB, free: 46.81 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.6361, allocations: 7.281 kB / 0.6216 GB, free: 46.8 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003881/0.6399, allocations: 3.725 MB / 0.6253 GB, free: 43.36 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/0.6411, allocations: 0.6722 MB / 0.6259 GB, free: 42.68 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002786/0.6414, allocations: 75.98 kB / 0.626 GB, free: 42.61 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007367/0.6421, allocations: 87.98 kB / 0.6261 GB, free: 42.52 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002736/0.6424, allocations: 278 kB / 0.6263 GB, free: 42.25 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/0.6425, allocations: 87.91 kB / 0.6264 GB, free: 42.17 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.001192/0.6437, allocations: 1.377 MB / 0.6278 GB, free: 40.93 MB / 394.8 MB Notification: Performance of sort global known variables: time 8e-08/0.6437, allocations: 4.031 kB / 0.6278 GB, free: 40.93 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.003959/0.6476, allocations: 1.508 MB / 0.6292 GB, free: 39.42 MB / 394.8 MB 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.0004218/0.6481, allocations: 255.7 kB / 0.6295 GB, free: 39.2 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.004051/0.6521, allocations: 3.463 MB / 0.6329 GB, free: 36.02 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.6521, allocations: 4 kB / 0.6329 GB, free: 36.02 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001841/0.654, allocations: 1.668 MB / 0.6345 GB, free: 34.44 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002972/0.6569, allocations: 0.8558 MB / 0.6353 GB, free: 33.64 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0187/0.6756, allocations: 12.98 MB / 0.648 GB, free: 20.57 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00201/0.6776, allocations: 2.445 MB / 0.6504 GB, free: 18.09 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.002232/0.6799, allocations: 0.6505 MB / 0.651 GB, free: 17.44 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0017/0.6816, allocations: 0.9548 MB / 0.652 GB, free: 16.48 MB / 394.8 MB Notification: Performance of SimCode: time 1.483e-06/0.6816, allocations: 0 / 0.652 GB, free: 16.48 MB / 394.8 MB Notification: Performance of Templates: time 0.0923/0.7739, allocations: 57.24 MB / 0.7079 GB, free: 8.133 MB / 442.8 MB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMR_MTPA.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.850088475737721]