Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.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.001423/0.001423, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.9384/0.9384, allocations: 177.2 MB / 200.5 MB, free: 5.539 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.00118/0.00118, allocations: 172.3 kB / 257 MB, free: 13.05 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.02354/0.02354, allocations: 6.651 MB / 320.1 MB, free: 26.6 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_VCurve3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 391.7 MB, free: 2.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.323e-05/1.439e-05, allocations: 2.312 kB / 391.7 MB, free: 2.914 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve3): time 0.1429/0.143, allocations: 24.63 MB / 416.3 MB, free: 69.02 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01476/0.1577, allocations: 7.92 MB / 424.3 MB, free: 67.27 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005257/0.163, allocations: 200.9 kB / 424.5 MB, free: 67.21 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009946/0.1729, allocations: 8.085 MB / 432.5 MB, free: 63.07 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007865/0.1808, allocations: 3.178 MB / 435.7 MB, free: 60.55 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004218/0.185, allocations: 2.057 MB / 437.8 MB, free: 58.97 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0092/0.1942, allocations: 9.689 MB / 447.5 MB, free: 51.7 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01286/0.2071, allocations: 11.24 MB / 458.7 MB, free: 40.33 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008299/0.2154, allocations: 7.192 MB / 465.9 MB, free: 33.13 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005927/0.2213, allocations: 4.978 MB / 470.9 MB, free: 28.14 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002654/0.2239, allocations: 1.352 MB / 472.2 MB, free: 26.79 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003681/0.2276, allocations: 1.734 MB / 474 MB, free: 25.05 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001894/0.2295, allocations: 2.774 MB / 476.7 MB, free: 22.27 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005462/0.235, allocations: 3.458 MB / 480.2 MB, free: 18.81 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009118/0.2441, allocations: 8.624 MB / 488.8 MB, free: 10.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2441, allocations: 7.875 kB / 488.8 MB, free: 10.15 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2441, allocations: 0 / 488.8 MB, free: 10.15 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003479/0.2444, allocations: 0 / 488.8 MB, free: 10.15 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.01802/0.2625, allocations: 11.46 MB / 0.4886 GB, free: 14.6 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.2625, allocations: 12.03 kB / 0.4886 GB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02105/0.2836, allocations: 7.042 MB / 0.4955 GB, free: 7.531 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009738/0.2933, allocations: 5.62 MB / 0.5009 GB, free: 1.844 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000432/0.2937, allocations: 0.578 MB / 0.5015 GB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002091/0.2958, allocations: 0.7694 MB / 0.5023 GB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0145/0.3103, allocations: 6.907 MB / 0.509 GB, free: 9.484 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001589/0.3105, allocations: 15.91 kB / 0.509 GB, free: 9.469 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006801/0.3112, allocations: 324 kB / 0.5093 GB, free: 9.152 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003791/0.3116, allocations: 0.5005 MB / 0.5098 GB, free: 8.648 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01043/0.322, allocations: 4.04 MB / 0.5138 GB, free: 4.586 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04934/0.3713, allocations: 33.64 MB / 0.5466 GB, free: 2.008 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2399/0.6112, allocations: 7.877 MB / 0.5543 GB, free: 117.9 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002293/0.6135, allocations: 1.31 MB / 0.5556 GB, free: 117.9 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002253/0.6137, allocations: 121.6 kB / 0.5557 GB, free: 117.9 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001774/0.6155, allocations: 1.684 MB / 0.5573 GB, free: 117.4 MB / 394.8 MB Notification: Performance of pre-optimization done (n=391): time 5.51e-06/0.6155, allocations: 1.156 kB / 0.5573 GB, free: 117.4 MB / 394.8 MB Notification: Performance of matching and sorting (n=397): time 0.01986/0.6354, allocations: 12.44 MB / 0.5695 GB, free: 113.7 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.826e-05/0.6354, allocations: 354.2 kB / 0.5698 GB, free: 113.4 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00283/0.6383, allocations: 2.979 MB / 0.5727 GB, free: 112.9 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002182/0.6385, allocations: 94.36 kB / 0.5728 GB, free: 112.9 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001329/0.6398, allocations: 3.678 MB / 0.5764 GB, free: 111.3 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007658/0.6406, allocations: 1.441 MB / 0.5778 GB, free: 110.4 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001084/0.6417, allocations: 1.186 MB / 0.579 GB, free: 110.3 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 4.529e-05/0.6417, allocations: 480.8 kB / 0.5794 GB, free: 109.8 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/0.643, allocations: 0.8783 MB / 0.5803 GB, free: 109.8 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002124/0.6452, allocations: 3.895 MB / 0.5841 GB, free: 106.1 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003853/0.649, allocations: 4.995 MB / 0.589 GB, free: 101.1 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.044e-05/0.6491, allocations: 20 kB / 0.589 GB, free: 101.1 MB / 394.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.006453/0.6555, allocations: 5.013 MB / 0.5939 GB, free: 96.6 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.753e-05/0.6556, allocations: 65.34 kB / 0.594 GB, free: 96.54 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.32e-05/0.6556, allocations: 60 kB / 0.594 GB, free: 96.48 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00188/0.6575, allocations: 0.9297 MB / 0.5949 GB, free: 95.78 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002349/0.6598, allocations: 1.261 MB / 0.5962 GB, free: 94.7 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005725/0.6656, allocations: 5.77 MB / 0.6018 GB, free: 89.41 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003147/0.6687, allocations: 349.8 kB / 0.6021 GB, free: 89.13 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003655/0.6691, allocations: 267.6 kB / 0.6024 GB, free: 88.88 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.001757/0.6708, allocations: 0.5392 MB / 0.6029 GB, free: 88.33 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007648/0.6716, allocations: 0.4976 MB / 0.6034 GB, free: 87.83 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004486/0.6761, allocations: 3.641 MB / 0.6069 GB, free: 84.26 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.6761, allocations: 43.81 kB / 0.607 GB, free: 84.22 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.6761, allocations: 8 kB / 0.607 GB, free: 84.21 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.121e-05/0.6761, allocations: 23.92 kB / 0.607 GB, free: 84.19 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01247/0.6886, allocations: 10.22 MB / 0.617 GB, free: 73.87 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.6886, allocations: 8 kB / 0.617 GB, free: 73.86 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/0.69, allocations: 0.6787 MB / 0.6177 GB, free: 73.18 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001645/0.6916, allocations: 0.8249 MB / 0.6185 GB, free: 72.36 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001638/0.6918, allocations: 95.66 kB / 0.6186 GB, free: 72.27 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004755/0.6965, allocations: 5.217 MB / 0.6237 GB, free: 66.94 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.6965, allocations: 8 kB / 0.6237 GB, free: 66.93 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005872/0.7024, allocations: 4.421 MB / 0.628 GB, free: 62.34 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001383/0.7038, allocations: 0.7744 MB / 0.6287 GB, free: 61.56 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003828/0.7042, allocations: 72 kB / 0.6288 GB, free: 61.49 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000975/0.7051, allocations: 191.8 kB / 0.629 GB, free: 61.3 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003922/0.7055, allocations: 291 kB / 0.6293 GB, free: 61.02 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/0.7057, allocations: 120 kB / 0.6294 GB, free: 60.9 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.001529/0.7072, allocations: 1.435 MB / 0.6308 GB, free: 59.47 MB / 394.8 MB Notification: Performance of sort global known variables: time 3.2e-07/0.7072, allocations: 0 / 0.6308 GB, free: 59.47 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.00331/0.7105, allocations: 1.457 MB / 0.6322 GB, free: 58.01 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.0004142/0.7109, allocations: 257.9 kB / 0.6325 GB, free: 57.75 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.005018/0.7159, allocations: 3.876 MB / 0.6362 GB, free: 53.84 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.716, allocations: 0 / 0.6362 GB, free: 53.84 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002266/0.7182, allocations: 2.023 MB / 0.6382 GB, free: 51.77 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002386/0.7206, allocations: 0.762 MB / 0.639 GB, free: 51.05 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/0.7359, allocations: 11.66 MB / 0.6503 GB, free: 39.21 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001658/0.7376, allocations: 2.052 MB / 0.6524 GB, free: 37.13 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.003217/0.7408, allocations: 1.322 MB / 0.6536 GB, free: 35.8 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008009/0.7416, allocations: 340.4 kB / 0.654 GB, free: 35.47 MB / 394.8 MB Notification: Performance of SimCode: time 1.773e-06/0.7416, allocations: 0 / 0.654 GB, free: 35.47 MB / 394.8 MB Notification: Performance of Templates: time 0.1892/0.9308, allocations: 54.1 MB / 0.7068 GB, free: 131.2 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.815272066975012]