Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.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.0009072/0.0009072, allocations: 77.09 kB / 20.65 MB, free: 3.852 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.9094/0.9094, allocations: 177.2 MB / 201 MB, free: 5.434 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.00113/0.00113, allocations: 159.3 kB / 257.7 MB, free: 12.84 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.02472/0.02472, allocations: 6.67 MB / 320.9 MB, free: 26.36 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.SMEE_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 392.9 MB, free: 2.25 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.298e-05/1.402e-05, allocations: 6.25 kB / 392.9 MB, free: 2.242 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.1236/0.1236, allocations: 23.97 MB / 416.9 MB, free: 69.5 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01231/0.136, allocations: 7.958 MB / 424.8 MB, free: 67.62 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002755/0.1387, allocations: 200.9 kB / 425 MB, free: 67.57 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006158/0.1449, allocations: 6.311 MB / 431.3 MB, free: 64.36 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005399/0.1503, allocations: 2.835 MB / 434.2 MB, free: 62.18 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002582/0.1529, allocations: 1.62 MB / 435.8 MB, free: 60.93 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00525/0.1581, allocations: 7.643 MB / 443.4 MB, free: 56.15 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007314/0.1654, allocations: 9.025 MB / 452.5 MB, free: 47.06 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004415/0.1698, allocations: 5.76 MB / 458.2 MB, free: 41.29 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002934/0.1728, allocations: 4.058 MB / 462.3 MB, free: 37.22 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000835/0.1736, allocations: 1.066 MB / 463.3 MB, free: 36.16 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/0.1751, allocations: 1.448 MB / 464.8 MB, free: 34.71 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008559/0.1759, allocations: 2.225 MB / 467 MB, free: 32.48 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001572/0.1775, allocations: 2.784 MB / 469.8 MB, free: 29.69 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004247/0.1817, allocations: 6.984 MB / 476.8 MB, free: 22.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1818, allocations: 0 / 476.8 MB, free: 22.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1818, allocations: 0 / 476.8 MB, free: 22.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.88e-05/0.1818, allocations: 0 / 476.8 MB, free: 22.68 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: 1800 * Number of variables: 1800 Notification: Performance of Generate backend data structure: time 0.01032/0.1921, allocations: 8.893 MB / 485.7 MB, free: 13.71 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.1922, allocations: 8.031 kB / 485.7 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0116/0.2038, allocations: 4.305 MB / 490 MB, free: 9.387 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004264/0.208, allocations: 4.183 MB / 494.2 MB, free: 5.145 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001762/0.2082, allocations: 485.1 kB / 494.7 MB, free: 4.668 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000646/0.2088, allocations: 0.6249 MB / 495.3 MB, free: 4.043 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005655/0.2145, allocations: 5.172 MB / 0.4887 GB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-05/0.2146, allocations: 11.89 kB / 0.4887 GB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004337/0.215, allocations: 272 kB / 0.489 GB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002654/0.2153, allocations: 417.7 kB / 0.4894 GB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003757/0.2191, allocations: 2.607 MB / 0.4919 GB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02492/0.244, allocations: 27 MB / 0.5183 GB, free: 15.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005837/0.2498, allocations: 4.856 MB / 0.523 GB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/0.2508, allocations: 0.9013 MB / 0.5239 GB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001616/0.251, allocations: 102.2 kB / 0.524 GB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/0.251, allocations: 63.66 kB / 0.5241 GB, free: 10.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=295): time 4.228e-06/0.251, allocations: 0 / 0.5241 GB, free: 10.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=301): time 0.01012/0.2612, allocations: 5.232 MB / 0.5292 GB, free: 5.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.2612, allocations: 85.78 kB / 0.5293 GB, free: 4.992 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002592/0.2638, allocations: 2.525 MB / 0.5317 GB, free: 2.445 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001289/0.2639, allocations: 69.7 kB / 0.5318 GB, free: 2.371 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001568/0.2655, allocations: 3.145 MB / 0.5349 GB, free: 15.19 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006204/0.2661, allocations: 1.108 MB / 0.536 GB, free: 14.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001007/0.2671, allocations: 1.001 MB / 0.5369 GB, free: 13.05 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.2672, allocations: 484.5 kB / 0.5374 GB, free: 12.58 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007037/0.268, allocations: 0.5204 MB / 0.5379 GB, free: 12.05 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001994/0.2699, allocations: 3.079 MB / 0.5409 GB, free: 7.887 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003163/0.2731, allocations: 4.004 MB / 0.5448 GB, free: 2.797 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-05/0.2731, allocations: 12 kB / 0.5448 GB, free: 2.785 MB / 394.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.15/0.4231, allocations: 3.684 MB / 0.5484 GB, free: 93.21 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.558e-05/0.4232, allocations: 29.06 kB / 0.5485 GB, free: 93.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.218e-05/0.4233, allocations: 55.78 kB / 0.5485 GB, free: 93.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001446/0.4247, allocations: 0.5982 MB / 0.5491 GB, free: 93.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002466/0.4272, allocations: 0.9962 MB / 0.5501 GB, free: 93.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003698/0.4309, allocations: 4.188 MB / 0.5542 GB, free: 91.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002031/0.4329, allocations: 175.5 kB / 0.5543 GB, free: 91.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002185/0.4331, allocations: 191.3 kB / 0.5545 GB, free: 91.21 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 251 * 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 (560): * Single equations (assignments): 559 * 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,28,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001379/0.4345, allocations: 462.5 kB / 0.555 GB, free: 91.05 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004587/0.435, allocations: 410.2 kB / 0.5553 GB, free: 91.05 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002927/0.4379, allocations: 2.501 MB / 0.5578 GB, free: 90.83 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/0.4379, allocations: 30.5 kB / 0.5578 GB, free: 90.83 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.4379, allocations: 9.906 kB / 0.5578 GB, free: 90.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/0.4379, allocations: 15.83 kB / 0.5578 GB, free: 90.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008/0.4459, allocations: 6.141 MB / 0.5638 GB, free: 90.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.4459, allocations: 4.906 kB / 0.5638 GB, free: 90.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009743/0.4469, allocations: 492.8 kB / 0.5643 GB, free: 90.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009189/0.4478, allocations: 0.5033 MB / 0.5648 GB, free: 90.08 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001296/0.448, allocations: 70.59 kB / 0.5649 GB, free: 90.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002841/0.4508, allocations: 3.825 MB / 0.5686 GB, free: 88.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.4508, allocations: 13.84 kB / 0.5686 GB, free: 88.08 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003346/0.4542, allocations: 2.983 MB / 0.5715 GB, free: 87.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006891/0.4548, allocations: 0.5414 MB / 0.5721 GB, free: 87.06 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002478/0.4551, allocations: 60.72 kB / 0.5721 GB, free: 87.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006765/0.4558, allocations: 76.08 kB / 0.5722 GB, free: 87.06 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002368/0.456, allocations: 219.5 kB / 0.5724 GB, free: 87.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.4561, allocations: 76.66 kB / 0.5725 GB, free: 87.05 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001045/0.4572, allocations: 1.139 MB / 0.5736 GB, free: 86.86 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4572, allocations: 0 / 0.5736 GB, free: 86.86 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002671/0.4598, allocations: 1.163 MB / 0.5747 GB, free: 86.86 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (smee.short.port_p.reference.gamma,mechanicalPowerSensor.relSpeedSensor.phi_rel) * 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 (291): * Single equations (assignments): 290 * 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,26,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003083/0.4601, allocations: 237.5 kB / 0.5749 GB, free: 86.76 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002852/0.463, allocations: 2.728 MB / 0.5776 GB, free: 86.39 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.463, allocations: 0 / 0.5776 GB, free: 86.39 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001302/0.4643, allocations: 1.357 MB / 0.5789 GB, free: 86.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/0.4658, allocations: 0.6033 MB / 0.5795 GB, free: 86.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00926/0.475, allocations: 9.34 MB / 0.5886 GB, free: 79.36 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009771/0.476, allocations: 1.637 MB / 0.5902 GB, free: 78.47 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00114/0.4771, allocations: 0.5345 MB / 0.5908 GB, free: 78.05 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/0.4781, allocations: 0.7377 MB / 0.5915 GB, free: 77.4 MB / 394.7 MB Notification: Performance of SimCode: time 1.413e-06/0.4781, allocations: 0 / 0.5915 GB, free: 77.4 MB / 394.7 MB Notification: Performance of Templates: time 0.05314/0.5313, allocations: 47.45 MB / 0.6378 GB, free: 31.26 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.430945097934455]