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.0009636/0.0009636, allocations: 92.22 kB / 19.65 MB, free: 276 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.9636/0.9636, allocations: 177.1 MB / 200 MB, free: 5.551 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.001299/0.001299, allocations: 160.4 kB / 256.6 MB, free: 13.01 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.02371/0.02371, allocations: 6.655 MB / 319.8 MB, free: 26.54 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_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.703e-06/1.703e-06, allocations: 0 / 391.7 MB, free: 2.547 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.253e-05, allocations: 9.969 kB / 391.7 MB, free: 2.539 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve2): time 0.143/0.1431, allocations: 24.77 MB / 416.5 MB, free: 69.39 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0169/0.16, allocations: 7.933 MB / 424.4 MB, free: 67.46 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006413/0.1664, allocations: 204.3 kB / 424.6 MB, free: 67.4 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01105/0.1774, allocations: 8.111 MB / 432.7 MB, free: 62.82 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01032/0.1877, allocations: 3.188 MB / 435.9 MB, free: 60.3 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004676/0.1924, allocations: 2.056 MB / 438 MB, free: 58.72 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009722/0.2021, allocations: 9.703 MB / 447.7 MB, free: 51.28 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01369/0.2158, allocations: 11.24 MB / 458.9 MB, free: 39.92 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01055/0.2264, allocations: 7.262 MB / 466.2 MB, free: 32.64 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007913/0.2343, allocations: 5.064 MB / 471.2 MB, free: 27.57 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003382/0.2377, allocations: 1.348 MB / 472.6 MB, free: 26.22 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00517/0.2429, allocations: 1.734 MB / 474.3 MB, free: 24.49 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002529/0.2454, allocations: 2.766 MB / 477.1 MB, free: 21.71 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00643/0.2518, allocations: 3.443 MB / 480.5 MB, free: 18.27 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01165/0.2635, allocations: 8.601 MB / 489.1 MB, free: 9.641 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.2635, allocations: 0 / 489.1 MB, free: 9.641 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2635, allocations: 0 / 489.1 MB, free: 9.641 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003575/0.2638, allocations: 4 kB / 489.1 MB, free: 9.637 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: 2183 * Number of variables: 2183 Notification: Performance of Generate backend data structure: time 0.04901/0.3128, allocations: 11.45 MB / 0.4888 GB, free: 14.1 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.3129, allocations: 12.03 kB / 0.4888 GB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03006/0.3429, allocations: 7.046 MB / 0.4957 GB, free: 7.027 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00892/0.3519, allocations: 5.617 MB / 0.5012 GB, free: 1.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004552/0.3523, allocations: 0.5819 MB / 0.5018 GB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002686/0.355, allocations: 0.7617 MB / 0.5025 GB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01637/0.3714, allocations: 6.903 MB / 0.5093 GB, free: 8.988 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001677/0.3715, allocations: 15.89 kB / 0.5093 GB, free: 8.973 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007559/0.3723, allocations: 320 kB / 0.5096 GB, free: 8.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003562/0.3727, allocations: 0.4889 MB / 0.5101 GB, free: 8.168 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0112/0.3838, allocations: 4.037 MB / 0.514 GB, free: 4.109 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04503/0.4289, allocations: 33.58 MB / 0.5468 GB, free: 1.594 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2809/0.7098, allocations: 7.876 MB / 0.5545 GB, free: 90.89 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002591/0.7124, allocations: 1.303 MB / 0.5558 GB, free: 90.85 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002626/0.7126, allocations: 122.2 kB / 0.5559 GB, free: 90.84 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002134/0.7148, allocations: 1.69 MB / 0.5575 GB, free: 90.31 MB / 394.8 MB Notification: Performance of pre-optimization done (n=391): time 7.143e-06/0.7148, allocations: 1.188 kB / 0.5575 GB, free: 90.31 MB / 394.8 MB Notification: Performance of matching and sorting (n=397): time 0.02433/0.7391, allocations: 12.43 MB / 0.5697 GB, free: 86.72 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.7392, allocations: 356.1 kB / 0.57 GB, free: 86.34 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003537/0.7428, allocations: 2.966 MB / 0.5729 GB, free: 85.92 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005786/0.7433, allocations: 88.05 kB / 0.573 GB, free: 85.89 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001729/0.7451, allocations: 3.68 MB / 0.5766 GB, free: 84.38 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001169/0.7462, allocations: 1.445 MB / 0.578 GB, free: 83.57 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001127/0.7474, allocations: 1.173 MB / 0.5791 GB, free: 83.48 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 6.807e-05/0.7474, allocations: 480.5 kB / 0.5796 GB, free: 83.01 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/0.7488, allocations: 0.8777 MB / 0.5805 GB, free: 82.96 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002462/0.7512, allocations: 3.894 MB / 0.5843 GB, free: 79.32 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004974/0.7562, allocations: 4.992 MB / 0.5891 GB, free: 75.86 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.455e-05/0.7563, allocations: 20.88 kB / 0.5891 GB, free: 75.86 MB / 394.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.007648/0.7639, allocations: 5.004 MB / 0.594 GB, free: 73.63 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.126e-05/0.764, allocations: 57.7 kB / 0.5941 GB, free: 73.57 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.689e-05/0.7641, allocations: 63.12 kB / 0.5942 GB, free: 73.51 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001899/0.766, allocations: 0.9329 MB / 0.5951 GB, free: 72.88 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00231/0.7683, allocations: 1.262 MB / 0.5963 GB, free: 71.93 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006476/0.7747, allocations: 5.766 MB / 0.6019 GB, free: 68.08 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003377/0.7781, allocations: 345.5 kB / 0.6023 GB, free: 67.89 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009579/0.7791, allocations: 271.5 kB / 0.6025 GB, free: 67.69 MB / 394.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.00239/0.7815, allocations: 0.535 MB / 0.603 GB, free: 67.38 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009233/0.7824, allocations: 0.4997 MB / 0.6035 GB, free: 66.93 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005066/0.7875, allocations: 3.64 MB / 0.6071 GB, free: 63.92 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.74e-05/0.7875, allocations: 40 kB / 0.6071 GB, free: 63.88 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/0.7875, allocations: 16 kB / 0.6071 GB, free: 63.87 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.382e-05/0.7875, allocations: 22.39 kB / 0.6072 GB, free: 63.87 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01587/0.8034, allocations: 10.21 MB / 0.6171 GB, free: 54.3 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/0.8034, allocations: 4 kB / 0.6171 GB, free: 54.3 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001579/0.805, allocations: 0.6856 MB / 0.6178 GB, free: 53.65 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001805/0.8068, allocations: 0.8238 MB / 0.6186 GB, free: 52.83 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002992/0.8071, allocations: 91.09 kB / 0.6187 GB, free: 52.74 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004876/0.812, allocations: 5.215 MB / 0.6238 GB, free: 47.43 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.812, allocations: 11.98 kB / 0.6238 GB, free: 47.42 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006177/0.8181, allocations: 4.426 MB / 0.6281 GB, free: 42.87 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/0.8196, allocations: 0.7589 MB / 0.6289 GB, free: 42.11 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005611/0.8202, allocations: 84.75 kB / 0.6289 GB, free: 42.02 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.8213, allocations: 179.8 kB / 0.6291 GB, free: 41.85 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004211/0.8217, allocations: 294.9 kB / 0.6294 GB, free: 41.56 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/0.8219, allocations: 124 kB / 0.6295 GB, free: 41.44 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.001796/0.8237, allocations: 1.428 MB / 0.6309 GB, free: 40.01 MB / 394.8 MB Notification: Performance of sort global known variables: time 2.5e-07/0.8237, allocations: 0 / 0.6309 GB, free: 40.01 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.004834/0.8285, allocations: 1.445 MB / 0.6323 GB, free: 38.57 MB / 394.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.0006653/0.8292, allocations: 264.1 kB / 0.6326 GB, free: 38.34 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.007089/0.8363, allocations: 3.859 MB / 0.6363 GB, free: 34.64 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.8363, allocations: 5 kB / 0.6363 GB, free: 34.63 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003142/0.8394, allocations: 2.024 MB / 0.6383 GB, free: 32.64 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003555/0.843, allocations: 0.7525 MB / 0.639 GB, free: 31.93 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01865/0.8616, allocations: 11.68 MB / 0.6505 GB, free: 20.1 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002012/0.8636, allocations: 2.052 MB / 0.6525 GB, free: 18.01 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.003615/0.8672, allocations: 1.323 MB / 0.6537 GB, free: 16.68 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008666/0.8681, allocations: 340.4 kB / 0.6541 GB, free: 16.35 MB / 394.8 MB Notification: Performance of SimCode: time 2.034e-06/0.8681, allocations: 0 / 0.6541 GB, free: 16.35 MB / 394.8 MB Notification: Performance of Templates: time 0.2014/1.07, allocations: 56.49 MB / 0.7092 GB, free: 120.8 MB / 426.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 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.075975486077368]