Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.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.001319/0.001319, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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 1.46/1.46, allocations: 230.6 MB / 253.4 MB, free: 8.293 MB / 206.1 MB " [Timeout remaining time 178] 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.001686/0.001686, allocations: 212.7 kB / 310 MB, free: 3.125 MB / 238.1 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.04068/0.04068, allocations: 8.922 MB / 375.3 MB, free: 1.887 MB / 302.1 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_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002453/0.002453, allocations: 79.88 kB / 0.4905 GB, free: 6.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3303, allocations: 55.6 MB / 0.5448 GB, free: 27.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve4): time 0.02112/0.3514, allocations: 25.67 MB / 0.5698 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01703/0.3685, allocations: 8.08 MB / 0.5777 GB, free: 2.777 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006656/0.3751, allocations: 205.2 kB / 0.5779 GB, free: 2.715 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01989/0.395, allocations: 7.763 MB / 0.5855 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01369/0.4087, allocations: 3.174 MB / 0.5886 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007948/0.4166, allocations: 2.096 MB / 0.5907 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01862/0.4353, allocations: 9.399 MB / 0.5998 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02943/0.4647, allocations: 11.36 MB / 0.6109 GB, free: 9.074 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01128/0.476, allocations: 4.874 MB / 0.6157 GB, free: 4.188 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01202/0.488, allocations: 5.373 MB / 0.6209 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005582/0.4936, allocations: 1.355 MB / 0.6223 GB, free: 13.44 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007928/0.5015, allocations: 1.738 MB / 0.624 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006027/0.5075, allocations: 2.689 MB / 0.6266 GB, free: 9.008 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01368/0.5212, allocations: 5.086 MB / 0.6316 GB, free: 3.902 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03135/0.5525, allocations: 18.22 MB / 0.6493 GB, free: 1.621 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.5525, allocations: 4 kB / 0.6494 GB, free: 1.617 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5526, allocations: 0 / 0.6494 GB, free: 1.617 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005683/0.5531, allocations: 3.938 kB / 0.6494 GB, free: 1.613 MB / 446.1 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.03991/0.593, allocations: 10.88 MB / 0.66 GB, free: 6.637 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.974e-05/0.5931, allocations: 15.97 kB / 0.66 GB, free: 6.621 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03322/0.6263, allocations: 5.668 MB / 0.6655 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01675/0.6431, allocations: 5.848 MB / 0.6712 GB, free: 11.03 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008454/0.6439, allocations: 0.578 MB / 0.6718 GB, free: 10.45 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00376/0.6477, allocations: 0.7577 MB / 0.6725 GB, free: 9.695 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04029/0.688, allocations: 12.8 MB / 0.685 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005333/0.6885, allocations: 11.95 kB / 0.6851 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003797/0.6923, allocations: 320 kB / 0.6854 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007345/0.693, allocations: 0.4967 MB / 0.6859 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5491/1.242, allocations: 12.29 MB / 0.6979 GB, free: 106.1 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08226/1.324, allocations: 41.4 MB / 0.7383 GB, free: 83.85 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02017/1.345, allocations: 9.012 MB / 0.7471 GB, free: 79.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005655/1.35, allocations: 2.714 MB / 0.7497 GB, free: 78.49 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005851/1.351, allocations: 125 kB / 0.7499 GB, free: 78.45 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005148/1.356, allocations: 2.583 MB / 0.7524 GB, free: 76.83 MB / 494.1 MB Notification: Performance of pre-optimization done (n=391): time 8.716e-06/1.356, allocations: 0 / 0.7524 GB, free: 76.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=397): time 0.04403/1.4, allocations: 18.28 MB / 0.7702 GB, free: 65.29 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/1.4, allocations: 351.5 kB / 0.7706 GB, free: 64.87 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006588/1.407, allocations: 3.545 MB / 0.774 GB, free: 61.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007145/1.407, allocations: 89.7 kB / 0.7741 GB, free: 61.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00193/1.409, allocations: 3.496 MB / 0.7775 GB, free: 57.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001521/1.411, allocations: 1.419 MB / 0.7789 GB, free: 56.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003504/1.414, allocations: 1.093 MB / 0.78 GB, free: 55.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.583e-05/1.414, allocations: 309.1 kB / 0.7803 GB, free: 55.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004157/1.419, allocations: 2.552 MB / 0.7828 GB, free: 52.55 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005219/1.424, allocations: 4.52 MB / 0.7872 GB, free: 47.15 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009546/1.433, allocations: 7.467 MB / 0.7945 GB, free: 38.81 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.779e-05/1.433, allocations: 16 kB / 0.7945 GB, free: 38.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01689/1.45, allocations: 8.298 MB / 0.8026 GB, free: 30.47 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001275/1.45, allocations: 55.27 kB / 0.8026 GB, free: 30.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001229/1.451, allocations: 64 kB / 0.8027 GB, free: 30.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002736/1.453, allocations: 0.9927 MB / 0.8037 GB, free: 29.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004826/1.458, allocations: 1.267 MB / 0.8049 GB, free: 28.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01195/1.47, allocations: 8.73 MB / 0.8134 GB, free: 19.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00495/1.475, allocations: 351.5 kB / 0.8138 GB, free: 18.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001281/1.476, allocations: 271.9 kB / 0.814 GB, free: 18.64 MB / 494.1 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.006196/1.483, allocations: 2.902 MB / 0.8169 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001535/1.484, allocations: 405.4 kB / 0.8173 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/1.496, allocations: 6.152 MB / 0.8233 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.083e-05/1.496, allocations: 40 kB / 0.8233 GB, free: 9.078 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.263e-05/1.496, allocations: 11.94 kB / 0.8233 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.351e-05/1.496, allocations: 23.92 kB / 0.8233 GB, free: 9.043 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03234/1.528, allocations: 14.64 MB / 0.8376 GB, free: 10.34 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.893e-05/1.528, allocations: 4 kB / 0.8376 GB, free: 10.33 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003252/1.532, allocations: 0.691 MB / 0.8383 GB, free: 9.641 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002884/1.535, allocations: 0.8716 MB / 0.8392 GB, free: 8.766 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007307/1.535, allocations: 91.97 kB / 0.8392 GB, free: 8.676 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01312/1.548, allocations: 7.652 MB / 0.8467 GB, free: 0.9102 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.115e-05/1.548, allocations: 11.97 kB / 0.8467 GB, free: 0.8984 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01826/1.567, allocations: 8.796 MB / 0.8553 GB, free: 7.977 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003341/1.57, allocations: 0.8564 MB / 0.8562 GB, free: 7.117 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00143/1.572, allocations: 79.98 kB / 0.8562 GB, free: 7.039 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003123/1.575, allocations: 191.8 kB / 0.8564 GB, free: 6.852 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001024/1.576, allocations: 291 kB / 0.8567 GB, free: 6.566 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005636/1.576, allocations: 120 kB / 0.8568 GB, free: 6.449 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005491/1.582, allocations: 2.371 MB / 0.8591 GB, free: 4.086 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.7e-07/1.582, allocations: 0 / 0.8591 GB, free: 4.086 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.007715/1.589, allocations: 1.453 MB / 0.8605 GB, free: 2.633 MB / 0.5138 GB 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.001111/1.591, allocations: 258.4 kB / 0.8608 GB, free: 2.375 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01439/1.605, allocations: 6.232 MB / 0.8669 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/1.605, allocations: 0 / 0.8669 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006729/1.612, allocations: 2.879 MB / 0.8697 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006374/1.618, allocations: 0.8233 MB / 0.8705 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0343/1.652, allocations: 13.8 MB / 0.884 GB, free: 10.51 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009171/1.662, allocations: 4.854 MB / 0.8887 GB, free: 5.613 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002207/1.664, allocations: 411.2 kB / 0.8891 GB, free: 5.211 MB / 0.545 GB Notification: Performance of SimCode: time 1.603e-06/1.664, allocations: 0 / 0.8891 GB, free: 5.211 MB / 0.545 GB Notification: Performance of Templates: time 0.4345/2.098, allocations: 134.8 MB / 1.021 GB, free: 87.91 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 17.400091029005125] Failed to read output from testmodel.py, exit status != 0: 2.108795179054141 2.118352443 1.563095399 Calling exit ...