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.0009937/0.0009937, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001361/0.002355, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.011/1.011, allocations: 177.2 MB / 188.4 MB, free: 4.41 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1937/1.204, allocations: 53.66 MB / 242 MB, free: 2.617 MB / 234.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.0008369/0.0008369, allocations: 159.2 kB / 242.9 MB, free: 1.734 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001105/0.001942, allocations: 474.8 kB / 243.4 MB, free: 1.285 MB / 234.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.02385/0.02385, allocations: 6.653 MB / 250.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007485/0.03133, allocations: 2.664 MB / 253.5 MB, free: 7.422 MB / 250.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.363e-06/1.363e-06, allocations: 0 / 254.8 MB, free: 6.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.346e-05, allocations: 2.312 kB / 254.8 MB, free: 6.086 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_MTPA): time 0.0201/0.02013, allocations: 26.22 MB / 281 MB, free: 11.75 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01651/0.03664, allocations: 8.482 MB / 289.5 MB, free: 3.242 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005549/0.04218, allocations: 250.8 kB / 289.7 MB, free: 2.996 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01139/0.05357, allocations: 8.403 MB / 298.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00847/0.06204, allocations: 2.784 MB / 300.9 MB, free: 7.754 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004306/0.06635, allocations: 1.843 MB / 302.8 MB, free: 5.906 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01138/0.07772, allocations: 10.21 MB / 313 MB, free: 11.66 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1706/0.2484, allocations: 13.83 MB / 326.8 MB, free: 11.26 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01795/0.2663, allocations: 8.377 MB / 335.2 MB, free: 11.19 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01134/0.2776, allocations: 5.885 MB / 341.1 MB, free: 11.19 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005236/0.2829, allocations: 1.513 MB / 342.6 MB, free: 11.19 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00749/0.2904, allocations: 1.909 MB / 344.5 MB, free: 11.19 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005261/0.2956, allocations: 2.419 MB / 346.9 MB, free: 11.19 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009957/0.3056, allocations: 3.241 MB / 350.1 MB, free: 11.19 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01665/0.3222, allocations: 9.188 MB / 359.3 MB, free: 8.074 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.267e-05/0.3223, allocations: 0 / 359.3 MB, free: 8.074 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3223, allocations: 0 / 359.3 MB, free: 8.074 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0005448/0.3228, allocations: 0 / 359.3 MB, free: 8.074 MB / 314.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.02622/0.349, allocations: 13.14 MB / 372.5 MB, free: 12.92 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.3491, allocations: 8.031 kB / 372.5 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01765/0.3667, allocations: 5.556 MB / 378 MB, free: 7.582 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009712/0.3764, allocations: 3.26 MB / 381.3 MB, free: 4.523 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005631/0.377, allocations: 0.688 MB / 382 MB, free: 3.844 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003281/0.3803, allocations: 0.9086 MB / 382.9 MB, free: 2.949 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02424/0.4045, allocations: 7.526 MB / 390.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003385/0.4049, allocations: 19.03 kB / 390.4 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002712/0.4076, allocations: 385.2 kB / 390.8 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004208/0.408, allocations: 0.4918 MB / 391.3 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01475/0.4227, allocations: 3.791 MB / 395.1 MB, free: 7.105 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0557/0.4784, allocations: 28.82 MB / 423.9 MB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006158/0.4846, allocations: 4.463 MB / 428.4 MB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001895/0.4865, allocations: 1.03 MB / 429.4 MB, free: 5.875 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003001/0.4868, allocations: 122 kB / 429.5 MB, free: 5.758 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.707e-05/0.4869, allocations: 73.52 kB / 429.6 MB, free: 5.676 MB / 378.7 MB Notification: Performance of pre-optimization done (n=375): time 6.903e-06/0.4869, allocations: 0 / 429.6 MB, free: 5.676 MB / 378.7 MB Notification: Performance of matching and sorting (n=382): time 0.01549/0.5024, allocations: 7.54 MB / 437.1 MB, free: 14.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003197/0.5027, allocations: 90.41 kB / 437.2 MB, free: 14.12 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002356/0.505, allocations: 2.361 MB / 439.6 MB, free: 12.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003522/0.5054, allocations: 89.7 kB / 439.7 MB, free: 12.14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001539/0.5069, allocations: 3.779 MB / 443.4 MB, free: 8.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009765/0.5079, allocations: 1.357 MB / 444.8 MB, free: 7.199 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001321/0.5092, allocations: 1.066 MB / 445.9 MB, free: 6.238 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.494e-05/0.5093, allocations: 301.1 kB / 446.2 MB, free: 5.941 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008181/0.5101, allocations: 0.5464 MB / 446.7 MB, free: 5.391 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001953/0.5121, allocations: 3.063 MB / 449.8 MB, free: 1.355 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004376/0.5164, allocations: 4.612 MB / 454.4 MB, free: 12.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.27e-05/0.5165, allocations: 24 kB / 454.4 MB, free: 12.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.005425/0.5219, allocations: 3.806 MB / 458.2 MB, free: 8.738 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.396e-05/0.522, allocations: 40 kB / 458.2 MB, free: 8.699 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.973e-05/0.5221, allocations: 84 kB / 458.3 MB, free: 8.617 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001886/0.524, allocations: 0.7374 MB / 459.1 MB, free: 7.891 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003134/0.5271, allocations: 1.416 MB / 460.5 MB, free: 6.574 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004285/0.5314, allocations: 3.733 MB / 464.2 MB, free: 2.867 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00317/0.5345, allocations: 235.7 kB / 464.4 MB, free: 2.637 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008788/0.5354, allocations: 240 kB / 464.7 MB, free: 2.402 MB / 410.7 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.002651/0.5381, allocations: 0.5207 MB / 465.2 MB, free: 1.969 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007223/0.5388, allocations: 355.6 kB / 465.5 MB, free: 1.621 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003819/0.5426, allocations: 2.428 MB / 468 MB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-05/0.5426, allocations: 40 kB / 468 MB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.5427, allocations: 12 kB / 468 MB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-05/0.5427, allocations: 23.92 kB / 468.1 MB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01333/0.556, allocations: 6.556 MB / 474.6 MB, free: 9.148 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.556, allocations: 11.98 kB / 474.6 MB, free: 9.137 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001572/0.5576, allocations: 0.6818 MB / 475.3 MB, free: 8.492 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001424/0.559, allocations: 489.1 kB / 475.8 MB, free: 8.016 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001305/0.5603, allocations: 0.6024 MB / 476.4 MB, free: 7.422 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001947/0.5605, allocations: 79.92 kB / 476.5 MB, free: 7.344 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003461/0.564, allocations: 3.31 MB / 479.8 MB, free: 4.027 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/0.564, allocations: 15.69 kB / 479.8 MB, free: 4.016 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00455/0.5685, allocations: 3.003 MB / 482.8 MB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006032/0.5691, allocations: 71.98 kB / 482.9 MB, free: 0.9141 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.5701, allocations: 95.95 kB / 483 MB, free: 0.8203 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000381/0.5705, allocations: 270.3 kB / 483.2 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000144/0.5707, allocations: 79.97 kB / 483.3 MB, free: 492 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.1956/0.7662, allocations: 1.051 MB / 484.3 MB, free: 102.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.7662, allocations: 0.5 kB / 484.3 MB, free: 102.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006671/0.7729, allocations: 1.51 MB / 485.9 MB, free: 102.6 MB / 426.7 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.000668/0.7736, allocations: 232 kB / 486.1 MB, free: 102.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005078/0.7786, allocations: 3.095 MB / 489.2 MB, free: 102.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002565/0.7789, allocations: 89.83 kB / 489.3 MB, free: 102.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002268/0.7812, allocations: 1.682 MB / 490.9 MB, free: 102 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004927/0.7861, allocations: 6.883 MB / 497.8 MB, free: 95.76 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0558/0.8419, allocations: 13.11 MB / 0.499 GB, free: 90.92 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003705/0.8456, allocations: 1.761 MB / 0.5007 GB, free: 90.65 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002526/0.8481, allocations: 0.6414 MB / 0.5013 GB, free: 90.56 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001684/0.8498, allocations: 0.8583 MB / 0.5021 GB, free: 90.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.353e-06/0.8498, allocations: 0.5625 kB / 0.5021 GB, free: 90.5 MB / 426.7 MB Notification: Performance of Templates: time 0.08674/0.9365, allocations: 60.38 MB / 0.5611 GB, free: 48.2 MB / 426.7 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.614840499125421]