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.0009561/0.0009561, allocations: 92.22 kB / 19.65 MB, free: 280 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 0.964/0.964, allocations: 177.1 MB / 200 MB, free: 5.812 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.001433/0.001433, allocations: 156.7 kB / 256.6 MB, free: 13.12 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.02538/0.02538, allocations: 6.65 MB / 319.8 MB, free: 11.62 MB / 298.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.273e-06/1.273e-06, allocations: 0 / 391.7 MB, free: 3.633 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.311e-05, allocations: 2.312 kB / 391.7 MB, free: 3.629 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_MTPA): time 0.01955/0.01957, allocations: 26.75 MB / 418.4 MB, free: 8.758 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01322/0.03279, allocations: 8.03 MB / 426.5 MB, free: 0.7031 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00447/0.03726, allocations: 254.7 kB / 426.7 MB, free: 464 kB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01066/0.04792, allocations: 8.396 MB / 435.1 MB, free: 8.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0078/0.05572, allocations: 2.824 MB / 437.9 MB, free: 5.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004622/0.06034, allocations: 1.865 MB / 439.8 MB, free: 3.312 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1448/0.2051, allocations: 10.14 MB / 449.9 MB, free: 116.9 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01859/0.2237, allocations: 13.78 MB / 463.7 MB, free: 113.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01081/0.2345, allocations: 8.086 MB / 471.8 MB, free: 109.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007409/0.2419, allocations: 5.812 MB / 477.6 MB, free: 107.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003277/0.2452, allocations: 1.513 MB / 479.1 MB, free: 107.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004568/0.2497, allocations: 1.89 MB / 481 MB, free: 107.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002601/0.2524, allocations: 3.033 MB / 484 MB, free: 104.7 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005902/0.2583, allocations: 3.875 MB / 487.9 MB, free: 101.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01087/0.2691, allocations: 9.744 MB / 497.7 MB, free: 93.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.2691, allocations: 0 / 497.7 MB, free: 93.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2691, allocations: 0 / 497.7 MB, free: 93.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003687/0.2695, allocations: 0 / 497.7 MB, free: 93.03 MB / 410.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.01894/0.2884, allocations: 12.51 MB / 0.4982 GB, free: 80.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.2885, allocations: 8.031 kB / 0.4982 GB, free: 80.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01592/0.3044, allocations: 6.984 MB / 0.505 GB, free: 73.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01179/0.3162, allocations: 5.929 MB / 0.5108 GB, free: 67.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005982/0.3168, allocations: 0.6962 MB / 0.5115 GB, free: 67.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003345/0.3201, allocations: 0.908 MB / 0.5124 GB, free: 66.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01903/0.3392, allocations: 8.009 MB / 0.5202 GB, free: 58.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002545/0.3394, allocations: 15.56 kB / 0.5202 GB, free: 58.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001154/0.3406, allocations: 389.7 kB / 0.5206 GB, free: 57.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003007/0.3409, allocations: 0.5113 MB / 0.5211 GB, free: 57.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01256/0.3534, allocations: 4.315 MB / 0.5253 GB, free: 53.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04004/0.3935, allocations: 37.59 MB / 0.562 GB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006154/0.3996, allocations: 6.758 MB / 0.5686 GB, free: 9.832 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001582/0.4012, allocations: 1.354 MB / 0.57 GB, free: 8.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001983/0.4014, allocations: 110.9 kB / 0.5701 GB, free: 8.371 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.4014, allocations: 79.62 kB / 0.5701 GB, free: 8.285 MB / 410.7 MB Notification: Performance of pre-optimization done (n=375): time 4.909e-06/0.4014, allocations: 0 / 0.5701 GB, free: 8.285 MB / 410.7 MB Notification: Performance of matching and sorting (n=382): time 0.01388/0.4153, allocations: 8.755 MB / 0.5787 GB, free: 15.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.4154, allocations: 94.34 kB / 0.5788 GB, free: 15.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003405/0.4188, allocations: 3.283 MB / 0.582 GB, free: 12.13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001623/0.4189, allocations: 93.7 kB / 0.5821 GB, free: 12.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002031/0.421, allocations: 4.312 MB / 0.5863 GB, free: 7.711 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008627/0.4218, allocations: 1.405 MB / 0.5877 GB, free: 6.324 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00119/0.423, allocations: 1.284 MB / 0.5889 GB, free: 5.023 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.675e-05/0.4231, allocations: 476.8 kB / 0.5894 GB, free: 4.555 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/0.4244, allocations: 0.8235 MB / 0.5902 GB, free: 3.727 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2822/0.7067, allocations: 4.52 MB / 0.5946 GB, free: 93.84 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006996/0.7137, allocations: 5.93 MB / 0.6004 GB, free: 89.36 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001325/0.7138, allocations: 23.03 kB / 0.6004 GB, free: 89.36 MB / 426.8 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.008577/0.7224, allocations: 5.179 MB / 0.6055 GB, free: 89.15 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.667e-05/0.7224, allocations: 38.22 kB / 0.6055 GB, free: 89.15 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.639e-05/0.7225, allocations: 81.84 kB / 0.6056 GB, free: 89.15 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001697/0.7242, allocations: 0.8065 MB / 0.6064 GB, free: 89.11 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002842/0.7271, allocations: 1.34 MB / 0.6077 GB, free: 89.1 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005041/0.7321, allocations: 5.062 MB / 0.6126 GB, free: 87.05 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00303/0.7352, allocations: 320.6 kB / 0.6129 GB, free: 87.04 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009443/0.7361, allocations: 300.2 kB / 0.6132 GB, free: 87.04 MB / 426.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.00252/0.7386, allocations: 0.5659 MB / 0.6138 GB, free: 86.88 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008839/0.7395, allocations: 0.4997 MB / 0.6142 GB, free: 86.88 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004801/0.7443, allocations: 3.289 MB / 0.6175 GB, free: 86.64 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-05/0.7443, allocations: 46.41 kB / 0.6175 GB, free: 86.63 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.7443, allocations: 7.75 kB / 0.6175 GB, free: 86.63 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.173e-05/0.7444, allocations: 18.61 kB / 0.6175 GB, free: 86.63 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01711/0.7615, allocations: 10.54 MB / 0.6278 GB, free: 85.77 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/0.7615, allocations: 4.812 kB / 0.6278 GB, free: 85.77 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/0.7629, allocations: 0.6774 MB / 0.6285 GB, free: 85.77 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001404/0.7643, allocations: 0.6608 MB / 0.6291 GB, free: 85.73 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000248/0.7646, allocations: 88.25 kB / 0.6292 GB, free: 85.73 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004051/0.7686, allocations: 4.526 MB / 0.6336 GB, free: 83.72 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.7686, allocations: 3.469 kB / 0.6336 GB, free: 83.72 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006091/0.7747, allocations: 4.22 MB / 0.6377 GB, free: 83.02 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001422/0.7761, allocations: 0.736 MB / 0.6385 GB, free: 82.81 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003477/0.7765, allocations: 71.38 kB / 0.6385 GB, free: 82.81 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009206/0.7774, allocations: 178.5 kB / 0.6387 GB, free: 82.81 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004183/0.7778, allocations: 275.1 kB / 0.639 GB, free: 82.8 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001567/0.778, allocations: 113.7 kB / 0.6391 GB, free: 82.8 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.002191/0.7802, allocations: 1.478 MB / 0.6405 GB, free: 82.61 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.7802, allocations: 0 / 0.6405 GB, free: 82.61 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.004818/0.785, allocations: 1.507 MB / 0.642 GB, free: 82.61 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.0005062/0.7855, allocations: 251.8 kB / 0.6422 GB, free: 82.52 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.005366/0.7909, allocations: 3.81 MB / 0.646 GB, free: 82.12 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.7909, allocations: 5.688 kB / 0.646 GB, free: 82.12 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00206/0.7929, allocations: 1.822 MB / 0.6477 GB, free: 81.83 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/0.7954, allocations: 0.8627 MB / 0.6486 GB, free: 81.39 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0154/0.8108, allocations: 13.1 MB / 0.6614 GB, free: 69.3 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001744/0.8125, allocations: 2.449 MB / 0.6638 GB, free: 67.47 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.002646/0.8152, allocations: 1.574 MB / 0.6653 GB, free: 66.51 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006355/0.8158, allocations: 339.7 kB / 0.6656 GB, free: 66.2 MB / 426.8 MB Notification: Performance of SimCode: time 1.222e-06/0.8158, allocations: 0 / 0.6656 GB, free: 66.2 MB / 426.8 MB Notification: Performance of Templates: time 0.06379/0.8796, allocations: 54.85 MB / 0.7192 GB, free: 13.85 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: 4.972296246793121]