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.0021/0.0021, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.545/1.545, allocations: 177.1 MB / 199.7 MB, free: 5.805 MB / 186.7 MB " [Timeout remaining time 178] 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.002054/0.002054, allocations: 164.6 kB / 256.3 MB, free: 13.16 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.0399/0.0399, allocations: 6.66 MB / 319.4 MB, free: 26.57 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.483e-06/1.483e-06, allocations: 0 / 390.9 MB, free: 2.934 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.695e-05, allocations: 2.312 kB / 391 MB, free: 2.93 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_MTPA): time 0.1573/0.1574, allocations: 26.53 MB / 417.5 MB, free: 69.07 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01511/0.1725, allocations: 8.037 MB / 425.5 MB, free: 66.43 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005562/0.178, allocations: 248.5 kB / 425.8 MB, free: 66.36 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01734/0.1954, allocations: 8.37 MB / 434.1 MB, free: 61.32 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009568/0.2049, allocations: 2.824 MB / 437 MB, free: 59.09 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005697/0.2106, allocations: 1.848 MB / 438.8 MB, free: 57.68 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01097/0.2216, allocations: 10.15 MB / 449 MB, free: 49.36 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02434/0.2459, allocations: 13.78 MB / 462.7 MB, free: 35.45 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01525/0.2612, allocations: 8.046 MB / 470.8 MB, free: 27.39 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00981/0.271, allocations: 5.731 MB / 476.5 MB, free: 21.65 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003998/0.275, allocations: 1.52 MB / 478 MB, free: 20.13 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005611/0.2806, allocations: 1.886 MB / 479.9 MB, free: 18.24 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003612/0.2842, allocations: 3.047 MB / 483 MB, free: 15.19 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007792/0.292, allocations: 3.883 MB / 486.8 MB, free: 11.3 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02401/0.316, allocations: 20.73 MB / 0.4957 GB, free: 6.516 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.316, allocations: 4 kB / 0.4957 GB, free: 6.512 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.316, allocations: 4 kB / 0.4957 GB, free: 6.508 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005504/0.3166, allocations: 0 / 0.4957 GB, free: 6.508 MB / 346.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.06069/0.3773, allocations: 13.55 MB / 0.5089 GB, free: 8.867 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.307e-05/0.3773, allocations: 8.031 kB / 0.5089 GB, free: 8.859 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05842/0.4358, allocations: 6.987 MB / 0.5157 GB, free: 1.859 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01739/0.4532, allocations: 5.955 MB / 0.5216 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008898/0.454, allocations: 0.6907 MB / 0.5222 GB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004096/0.4581, allocations: 0.9139 MB / 0.5231 GB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04439/0.5025, allocations: 15.32 MB / 0.5381 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004419/0.503, allocations: 11.94 kB / 0.5381 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003097/0.5061, allocations: 387.9 kB / 0.5385 GB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007456/0.5068, allocations: 0.5074 MB / 0.539 GB, free: 9.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2676/0.7744, allocations: 12.04 MB / 0.5507 GB, free: 110.6 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07968/0.8541, allocations: 70.34 MB / 0.6194 GB, free: 57.67 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01133/0.8654, allocations: 7.353 MB / 0.6266 GB, free: 51.53 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003009/0.8684, allocations: 2.365 MB / 0.6289 GB, free: 49.16 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00028/0.8687, allocations: 111.4 kB / 0.629 GB, free: 49.05 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.218e-05/0.8687, allocations: 88.27 kB / 0.6291 GB, free: 48.96 MB / 394.8 MB Notification: Performance of pre-optimization done (n=375): time 6.242e-06/0.8687, allocations: 0 / 0.6291 GB, free: 48.96 MB / 394.8 MB Notification: Performance of matching and sorting (n=382): time 0.02325/0.892, allocations: 12.71 MB / 0.6415 GB, free: 36.57 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.892, allocations: 90.41 kB / 0.6416 GB, free: 36.47 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005495/0.8975, allocations: 5.061 MB / 0.6465 GB, free: 31.49 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004694/0.898, allocations: 85.7 kB / 0.6466 GB, free: 31.4 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001905/0.8999, allocations: 4.574 MB / 0.6511 GB, free: 26.92 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001066/0.901, allocations: 1.492 MB / 0.6525 GB, free: 25.45 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001733/0.9027, allocations: 1.526 MB / 0.654 GB, free: 23.91 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 8.4e-05/0.9028, allocations: 480.7 kB / 0.6545 GB, free: 23.43 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002664/0.9054, allocations: 2.08 MB / 0.6565 GB, free: 21.35 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003882/0.9093, allocations: 6.008 MB / 0.6624 GB, free: 13.74 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007309/0.9166, allocations: 8.876 MB / 0.6711 GB, free: 3.27 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-05/0.9167, allocations: 24 kB / 0.6711 GB, free: 3.246 MB / 394.8 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01519/0.9319, allocations: 7.885 MB / 0.6788 GB, free: 11.33 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.932, allocations: 40 kB / 0.6788 GB, free: 11.29 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001759/0.9322, allocations: 83.94 kB / 0.6789 GB, free: 11.21 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003395/0.9356, allocations: 1.006 MB / 0.6799 GB, free: 10.2 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005066/0.9406, allocations: 1.341 MB / 0.6812 GB, free: 8.855 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01372/0.9544, allocations: 8.017 MB / 0.689 GB, free: 0.7227 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004509/0.9589, allocations: 323.5 kB / 0.6893 GB, free: 416 kB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001079/0.96, allocations: 304 kB / 0.6896 GB, free: 112 kB / 410.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.007204/0.9672, allocations: 3.223 MB / 0.6928 GB, free: 12.87 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001384/0.9685, allocations: 0.5053 MB / 0.6933 GB, free: 12.36 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01135/0.9799, allocations: 5.011 MB / 0.6982 GB, free: 7.312 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-05/0.9799, allocations: 40 kB / 0.6982 GB, free: 7.273 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.696e-05/0.98, allocations: 12 kB / 0.6982 GB, free: 7.262 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.452e-05/0.98, allocations: 19.92 kB / 0.6982 GB, free: 7.242 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1887/1.169, allocations: 16.03 MB / 0.7139 GB, free: 117.9 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/1.169, allocations: 3.688 kB / 0.7139 GB, free: 117.9 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002557/1.171, allocations: 0.6739 MB / 0.7145 GB, free: 117.9 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002685/1.174, allocations: 0.8553 MB / 0.7154 GB, free: 117.9 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003356/1.174, allocations: 85.31 kB / 0.7155 GB, free: 117.9 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009316/1.184, allocations: 7.015 MB / 0.7223 GB, free: 115.9 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/1.184, allocations: 8.5 kB / 0.7223 GB, free: 115.9 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01208/1.196, allocations: 7.18 MB / 0.7293 GB, free: 115.2 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00239/1.198, allocations: 0.7356 MB / 0.73 GB, free: 115.2 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007031/1.199, allocations: 72.92 kB / 0.7301 GB, free: 115.2 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001814/1.201, allocations: 184.5 kB / 0.7303 GB, free: 115.2 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000524/1.201, allocations: 277 kB / 0.7306 GB, free: 115.2 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002095/1.201, allocations: 115.1 kB / 0.7307 GB, free: 115.2 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.003144/1.204, allocations: 2.55 MB / 0.7332 GB, free: 114.4 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/1.204, allocations: 3.75 kB / 0.7332 GB, free: 114.4 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.005011/1.209, allocations: 1.507 MB / 0.7346 GB, free: 114.3 MB / 426.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.0005228/1.21, allocations: 261 kB / 0.7349 GB, free: 114.1 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.008409/1.218, allocations: 6.017 MB / 0.7408 GB, free: 111.9 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.218, allocations: 4.188 kB / 0.7408 GB, free: 111.9 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00362/1.222, allocations: 2.605 MB / 0.7433 GB, free: 110.9 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003874/1.226, allocations: 0.8664 MB / 0.7442 GB, free: 110.6 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02007/1.246, allocations: 14.61 MB / 0.7584 GB, free: 100.5 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004094/1.25, allocations: 4.95 MB / 0.7632 GB, free: 95.56 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.003657/1.254, allocations: 1.57 MB / 0.7648 GB, free: 93.99 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009293/1.255, allocations: 344.4 kB / 0.7651 GB, free: 93.66 MB / 426.8 MB Notification: Performance of SimCode: time 1.573e-06/1.255, allocations: 0 / 0.7651 GB, free: 93.66 MB / 426.8 MB Notification: Performance of Templates: time 0.08264/1.337, allocations: 52.72 MB / 0.8166 GB, free: 41.61 MB / 426.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: 7.806644230964594]