Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.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.0008887/0.0008887, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.9122/0.9122, allocations: 177.2 MB / 200.4 MB, free: 5.324 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.001252/0.001252, allocations: 175.1 kB / 257 MB, free: 12.79 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.02489/0.02489, allocations: 6.653 MB / 266.9 MB, free: 3.031 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.SMEE_VCurve2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 285.7 MB, free: 224 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.47e-05/1.613e-05, allocations: 6.312 kB / 285.7 MB, free: 216 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve2): time 0.1201/0.1201, allocations: 24.06 MB / 309.8 MB, free: 6.195 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0173/0.1374, allocations: 8.274 MB / 318.1 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003828/0.1412, allocations: 207 kB / 318.3 MB, free: 13.77 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00925/0.1505, allocations: 8.1 MB / 326.4 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006204/0.1567, allocations: 3.165 MB / 329.5 MB, free: 2.48 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002839/0.1595, allocations: 2.041 MB / 331.6 MB, free: 452 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.007602/0.1671, allocations: 9.718 MB / 341.3 MB, free: 6.695 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01102/0.1781, allocations: 11.56 MB / 352.9 MB, free: 10.94 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006098/0.1842, allocations: 7.281 MB / 360.1 MB, free: 3.648 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003905/0.1881, allocations: 5.119 MB / 365.3 MB, free: 14.52 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001157/0.1893, allocations: 1.348 MB / 366.6 MB, free: 13.17 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001869/0.1912, allocations: 1.737 MB / 368.4 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001375/0.1925, allocations: 2.77 MB / 371.1 MB, free: 8.656 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00412/0.1967, allocations: 3.446 MB / 374.6 MB, free: 5.203 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01606/0.2127, allocations: 8.597 MB / 383.2 MB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.2127, allocations: 8 kB / 383.2 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2127, allocations: 0 / 383.2 MB, free: 12.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000373/0.2131, allocations: 0 / 383.2 MB, free: 12.57 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: 2183 * Number of variables: 2183 Notification: Performance of Generate backend data structure: time 0.02433/0.2374, allocations: 10.16 MB / 393.3 MB, free: 2.328 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.2375, allocations: 8.031 kB / 393.3 MB, free: 2.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01786/0.2553, allocations: 5.803 MB / 399.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006141/0.2615, allocations: 3.132 MB / 402.3 MB, free: 9.301 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003559/0.2618, allocations: 0.5819 MB / 402.9 MB, free: 8.719 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00146/0.2633, allocations: 0.7772 MB / 403.6 MB, free: 7.941 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01018/0.2735, allocations: 6.443 MB / 410.1 MB, free: 1.398 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001808/0.2736, allocations: 19.86 kB / 410.1 MB, free: 1.379 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007358/0.2744, allocations: 320 kB / 410.4 MB, free: 1.066 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004123/0.2748, allocations: 0.4967 MB / 410.9 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006452/0.2812, allocations: 3.323 MB / 414.2 MB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.312/0.5932, allocations: 25.63 MB / 439.9 MB, free: 63 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00911/0.6024, allocations: 5.329 MB / 445.2 MB, free: 62.62 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001915/0.6043, allocations: 1.001 MB / 446.2 MB, free: 62.58 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002885/0.6046, allocations: 129.4 kB / 446.3 MB, free: 62.58 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00163/0.6062, allocations: 1.508 MB / 447.8 MB, free: 62.09 MB / 378.8 MB Notification: Performance of pre-optimization done (n=391): time 7.524e-06/0.6062, allocations: 0 / 447.8 MB, free: 62.09 MB / 378.8 MB Notification: Performance of matching and sorting (n=397): time 0.01635/0.6225, allocations: 7.192 MB / 455 MB, free: 61.08 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.64e-05/0.6226, allocations: 354.7 kB / 455.4 MB, free: 60.7 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002393/0.625, allocations: 2.247 MB / 457.6 MB, free: 60.38 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004835/0.6255, allocations: 86.02 kB / 457.7 MB, free: 60.34 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001187/0.6267, allocations: 3.19 MB / 460.9 MB, free: 58.88 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001009/0.6277, allocations: 1.41 MB / 462.3 MB, free: 58.07 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001209/0.6289, allocations: 1.006 MB / 463.3 MB, free: 57.98 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.101e-05/0.6289, allocations: 312.2 kB / 463.6 MB, free: 57.68 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.6301, allocations: 0.734 MB / 464.3 MB, free: 57.63 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00158/0.6316, allocations: 2.712 MB / 467.1 MB, free: 55.09 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003528/0.6352, allocations: 3.771 MB / 470.8 MB, free: 52.4 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.998e-05/0.6352, allocations: 20 kB / 470.8 MB, free: 52.38 MB / 378.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.006056/0.6413, allocations: 3.665 MB / 474.5 MB, free: 49.97 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.234e-05/0.6413, allocations: 63.56 kB / 474.6 MB, free: 49.91 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.181e-05/0.6414, allocations: 60.31 kB / 474.6 MB, free: 49.85 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002026/0.6434, allocations: 0.862 MB / 475.5 MB, free: 49.25 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003545/0.647, allocations: 1.223 MB / 476.7 MB, free: 48.3 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005435/0.6524, allocations: 4.288 MB / 481 MB, free: 44.9 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002652/0.6551, allocations: 241.6 kB / 481.2 MB, free: 44.75 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006338/0.6557, allocations: 209.3 kB / 481.4 MB, free: 44.59 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 275 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 662 * Array equations: 0 * Algorithm blocks: 1 * 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 {(10,48,52.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002009/0.6577, allocations: 0.4967 MB / 481.9 MB, free: 44.32 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000672/0.6584, allocations: 351.9 kB / 482.3 MB, free: 44.03 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003194/0.6616, allocations: 2.776 MB / 485.1 MB, free: 41.71 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.6616, allocations: 40 kB / 485.1 MB, free: 41.67 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.6616, allocations: 12 kB / 485.1 MB, free: 41.66 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.489e-05/0.6616, allocations: 23.91 kB / 485.1 MB, free: 41.63 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01071/0.6723, allocations: 7.548 MB / 492.7 MB, free: 35.9 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.6723, allocations: 7.938 kB / 492.7 MB, free: 35.89 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001524/0.6739, allocations: 0.6449 MB / 493.3 MB, free: 35.31 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001453/0.6753, allocations: 0.754 MB / 494.1 MB, free: 34.59 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004111/0.6757, allocations: 86.47 kB / 494.2 MB, free: 34.56 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003556/0.6793, allocations: 3.862 MB / 498 MB, free: 31.52 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.6793, allocations: 11.66 kB / 498 MB, free: 31.51 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004118/0.6834, allocations: 3.25 MB / 0.4895 GB, free: 28.4 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/0.6847, allocations: 488.4 kB / 0.49 GB, free: 27.99 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005231/0.6852, allocations: 78.81 kB / 0.4901 GB, free: 27.96 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.6863, allocations: 106.3 kB / 0.4902 GB, free: 27.91 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003958/0.6867, allocations: 280.7 kB / 0.4905 GB, free: 27.67 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/0.6868, allocations: 86.84 kB / 0.4905 GB, free: 27.61 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001023/0.6878, allocations: 1.042 MB / 0.4916 GB, free: 26.74 MB / 378.8 MB Notification: Performance of sort global known variables: time 8e-08/0.6878, allocations: 0 / 0.4916 GB, free: 26.74 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.003734/0.6915, allocations: 1.448 MB / 0.493 GB, free: 25.45 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 3 (smee.inertiaRotor.w,smee.rotorCage.port_p.reference.gamma,constantTorque.phi) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (371): * Single equations (assignments): 369 * Array equations: 0 * Algorithm blocks: 1 * 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 {(10,46,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005216/0.6921, allocations: 236.4 kB / 0.4932 GB, free: 25.31 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.003771/0.6958, allocations: 3.085 MB / 0.4962 GB, free: 22.68 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001098/0.6959, allocations: 59.94 kB / 0.4963 GB, free: 22.61 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001826/0.6978, allocations: 1.635 MB / 0.4979 GB, free: 21.23 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/0.7, allocations: 0.7484 MB / 0.4986 GB, free: 20.74 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01464/0.7147, allocations: 11.35 MB / 0.5097 GB, free: 10.19 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001654/0.7163, allocations: 1.508 MB / 0.5111 GB, free: 8.648 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.002097/0.7184, allocations: 0.6478 MB / 0.5118 GB, free: 7.996 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001456/0.7199, allocations: 0.8193 MB / 0.5126 GB, free: 7.172 MB / 378.8 MB Notification: Performance of SimCode: time 1.933e-06/0.7199, allocations: 4 kB / 0.5126 GB, free: 7.168 MB / 378.8 MB Notification: Performance of Templates: time 0.08142/0.8013, allocations: 59.2 MB / 0.5704 GB, free: 12.84 MB / 442.8 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.522741004824638]