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.001338/0.001338, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.493/1.493, allocations: 230.6 MB / 252.6 MB, free: 8.297 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.00305/0.00305, allocations: 201 kB / 309.2 MB, free: 3.164 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.04286/0.04286, allocations: 8.91 MB / 374.6 MB, free: 1.918 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.002607/0.002607, allocations: 83.88 kB / 0.4897 GB, free: 6.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3293, allocations: 55.6 MB / 0.544 GB, free: 27.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve4): time 0.02201/0.3513, allocations: 25.66 MB / 0.5691 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01713/0.3685, allocations: 8.091 MB / 0.577 GB, free: 2.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008731/0.3772, allocations: 205.1 kB / 0.5772 GB, free: 2.754 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02685/0.4041, allocations: 7.756 MB / 0.5848 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01667/0.4207, allocations: 3.182 MB / 0.5879 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009512/0.4302, allocations: 2.095 MB / 0.5899 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02097/0.4512, allocations: 9.397 MB / 0.5991 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02956/0.4808, allocations: 11.36 MB / 0.6102 GB, free: 9.094 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01176/0.4925, allocations: 4.878 MB / 0.6149 GB, free: 4.203 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01061/0.5031, allocations: 5.373 MB / 0.6202 GB, free: 14.81 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004317/0.5075, allocations: 1.352 MB / 0.6215 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006513/0.514, allocations: 1.742 MB / 0.6232 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004688/0.5187, allocations: 2.685 MB / 0.6258 GB, free: 9.027 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01159/0.5303, allocations: 5.09 MB / 0.6308 GB, free: 3.918 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03128/0.5615, allocations: 18.22 MB / 0.6486 GB, free: 1.637 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/0.5615, allocations: 4 kB / 0.6486 GB, free: 1.633 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.5615, allocations: 0 / 0.6486 GB, free: 1.633 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005872/0.5621, allocations: 0 / 0.6486 GB, free: 1.633 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.03948/0.6016, allocations: 10.88 MB / 0.6592 GB, free: 6.656 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.6017, allocations: 11.97 kB / 0.6592 GB, free: 6.645 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03538/0.637, allocations: 5.665 MB / 0.6648 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01908/0.6561, allocations: 5.856 MB / 0.6705 GB, free: 11.05 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000875/0.657, allocations: 0.578 MB / 0.6711 GB, free: 10.47 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004768/0.6618, allocations: 0.7655 MB / 0.6718 GB, free: 9.707 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0413/0.7031, allocations: 12.79 MB / 0.6843 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004598/0.7035, allocations: 15.94 kB / 0.6843 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003255/0.7068, allocations: 323.9 kB / 0.6846 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007193/0.7075, allocations: 0.4928 MB / 0.6851 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5642/1.272, allocations: 12.29 MB / 0.6971 GB, free: 106.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06992/1.342, allocations: 41.4 MB / 0.7375 GB, free: 83.95 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01857/1.36, allocations: 9.015 MB / 0.7463 GB, free: 80 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005045/1.365, allocations: 2.715 MB / 0.749 GB, free: 78.58 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004846/1.366, allocations: 124.6 kB / 0.7491 GB, free: 78.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004066/1.37, allocations: 2.582 MB / 0.7516 GB, free: 76.93 MB / 494.1 MB Notification: Performance of pre-optimization done (n=391): time 6.081e-06/1.37, allocations: 2.688 kB / 0.7516 GB, free: 76.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=397): time 0.03479/1.405, allocations: 18.27 MB / 0.7695 GB, free: 65.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.011e-05/1.405, allocations: 363.5 kB / 0.7698 GB, free: 64.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003962/1.409, allocations: 3.537 MB / 0.7733 GB, free: 61.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003798/1.409, allocations: 85.7 kB / 0.7734 GB, free: 61.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001401/1.41, allocations: 3.501 MB / 0.7768 GB, free: 57.97 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008651/1.411, allocations: 1.415 MB / 0.7782 GB, free: 56.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001267/1.413, allocations: 1.097 MB / 0.7792 GB, free: 55.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.745e-05/1.413, allocations: 305.1 kB / 0.7795 GB, free: 55.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003069/1.416, allocations: 2.56 MB / 0.782 GB, free: 52.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003811/1.419, allocations: 4.516 MB / 0.7864 GB, free: 47.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007389/1.427, allocations: 7.455 MB / 0.7937 GB, free: 38.87 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.09e-05/1.427, allocations: 24 kB / 0.7937 GB, free: 38.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01216/1.439, allocations: 8.301 MB / 0.8018 GB, free: 30.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.014e-05/1.439, allocations: 53.7 kB / 0.8019 GB, free: 30.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.655e-05/1.439, allocations: 64.06 kB / 0.8019 GB, free: 30.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002421/1.442, allocations: 1.004 MB / 0.8029 GB, free: 29.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004898/1.446, allocations: 1.26 MB / 0.8042 GB, free: 28.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0108/1.457, allocations: 8.731 MB / 0.8127 GB, free: 19.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005238/1.463, allocations: 343.5 kB / 0.813 GB, free: 18.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007291/1.463, allocations: 272 kB / 0.8133 GB, free: 18.7 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.004518/1.468, allocations: 2.906 MB / 0.8161 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008987/1.469, allocations: 405.4 kB / 0.8165 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009116/1.478, allocations: 6.144 MB / 0.8225 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.44e-05/1.478, allocations: 44 kB / 0.8225 GB, free: 9.133 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/1.478, allocations: 15.88 kB / 0.8226 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.836e-05/1.478, allocations: 19.92 kB / 0.8226 GB, free: 9.098 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02516/1.503, allocations: 14.65 MB / 0.8369 GB, free: 10.38 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/1.503, allocations: 4 kB / 0.8369 GB, free: 10.38 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003128/1.506, allocations: 0.691 MB / 0.8376 GB, free: 9.684 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002944/1.509, allocations: 0.8716 MB / 0.8384 GB, free: 8.809 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007472/1.51, allocations: 87.97 kB / 0.8385 GB, free: 8.723 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01275/1.523, allocations: 7.645 MB / 0.846 GB, free: 0.9609 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.215e-05/1.523, allocations: 15.97 kB / 0.846 GB, free: 0.9453 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0157/1.538, allocations: 8.799 MB / 0.8546 GB, free: 8.023 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002869/1.541, allocations: 0.8603 MB / 0.8554 GB, free: 7.16 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008516/1.542, allocations: 76 kB / 0.8555 GB, free: 7.086 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002741/1.545, allocations: 191.8 kB / 0.8557 GB, free: 6.898 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007768/1.546, allocations: 295 kB / 0.8559 GB, free: 6.609 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002854/1.546, allocations: 116 kB / 0.8561 GB, free: 6.496 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005151/1.551, allocations: 2.367 MB / 0.8584 GB, free: 4.137 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.01e-07/1.551, allocations: 0 / 0.8584 GB, free: 4.137 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.006858/1.558, allocations: 1.457 MB / 0.8598 GB, free: 2.68 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.001044/1.559, allocations: 256.1 kB / 0.86 GB, free: 2.426 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01361/1.573, allocations: 6.231 MB / 0.8661 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/1.573, allocations: 0 / 0.8661 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006763/1.579, allocations: 2.883 MB / 0.8689 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006272/1.586, allocations: 0.8212 MB / 0.8697 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0361/1.622, allocations: 14 MB / 0.8834 GB, free: 10.37 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00754/1.629, allocations: 5.012 MB / 0.8883 GB, free: 5.312 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005015/1.634, allocations: 1.59 MB / 0.8899 GB, free: 3.719 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001261/1.635, allocations: 355.3 kB / 0.8902 GB, free: 3.371 MB / 0.545 GB Notification: Performance of SimCode: time 1.714e-06/1.635, allocations: 0 / 0.8902 GB, free: 3.371 MB / 0.545 GB Notification: Performance of Templates: time 0.3737/2.009, allocations: 64.56 MB / 0.9532 GB, free: 154.2 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: 8.882099854992703] Failed to read output from testmodel.py, exit status != 0: 2.0183441168628633 2.028017977 1.46380202 Calling exit ...