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.001806/0.001806, allocations: 77.94 kB / 19.76 MB, free: 2.027 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.368/1.368, allocations: 177.2 MB / 200.1 MB, free: 8.328 MB / 190.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.00169/0.00169, allocations: 168.2 kB / 256.6 MB, free: 4.262 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.03921/0.03921, allocations: 6.667 MB / 319.6 MB, free: 5.344 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.002864/0.002864, allocations: 80.11 kB / 446.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1076, allocations: 55.59 MB / 0.4903 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve4): time 0.2343/0.3419, allocations: 21.99 MB / 0.5118 GB, free: 40.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0144/0.3563, allocations: 7.705 MB / 0.5193 GB, free: 39.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004542/0.3608, allocations: 199.6 kB / 0.5195 GB, free: 39.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01596/0.3768, allocations: 7.529 MB / 0.5268 GB, free: 36.74 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009214/0.386, allocations: 3.098 MB / 0.5299 GB, free: 34.85 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005131/0.3911, allocations: 2.013 MB / 0.5318 GB, free: 33.65 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01058/0.4017, allocations: 9.391 MB / 0.541 GB, free: 28.87 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01958/0.4213, allocations: 11.19 MB / 0.5519 GB, free: 22.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006895/0.4282, allocations: 4.88 MB / 0.5567 GB, free: 20.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009269/0.4374, allocations: 5.044 MB / 0.5616 GB, free: 17.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004941/0.4424, allocations: 1.352 MB / 0.5629 GB, free: 17.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007173/0.4495, allocations: 1.729 MB / 0.5646 GB, free: 17.6 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00469/0.4542, allocations: 2.675 MB / 0.5672 GB, free: 15.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01017/0.4644, allocations: 3.957 MB / 0.5711 GB, free: 13.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02995/0.4943, allocations: 18.29 MB / 0.589 GB, free: 2.691 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.4944, allocations: 4 kB / 0.589 GB, free: 2.688 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4944, allocations: 1 kB / 0.589 GB, free: 2.688 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006721/0.495, allocations: 0 / 0.589 GB, free: 2.688 MB / 430.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.042/0.537, allocations: 10.87 MB / 0.5996 GB, free: 11.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.5371, allocations: 13.77 kB / 0.5996 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03531/0.5724, allocations: 5.673 MB / 0.6051 GB, free: 6.863 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01611/0.5885, allocations: 5.852 MB / 0.6109 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006937/0.5892, allocations: 0.5819 MB / 0.6114 GB, free: 376 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004387/0.5936, allocations: 0.7616 MB / 0.6122 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0399/0.6335, allocations: 12.98 MB / 0.6248 GB, free: 2.527 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004599/0.6339, allocations: 11.91 kB / 0.6249 GB, free: 2.516 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003336/0.6373, allocations: 324 kB / 0.6252 GB, free: 2.199 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007461/0.638, allocations: 0.4928 MB / 0.6256 GB, free: 1.703 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03155/0.6696, allocations: 12.24 MB / 0.6376 GB, free: 5.441 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0876/0.7572, allocations: 36.68 MB / 0.6734 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.021/0.7782, allocations: 8.925 MB / 0.6821 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005789/0.784, allocations: 2.71 MB / 0.6848 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005421/0.7845, allocations: 102.9 kB / 0.6849 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005713/0.7902, allocations: 2.787 MB / 0.6876 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=391): time 9.468e-06/0.7902, allocations: 0 / 0.6876 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=397): time 0.05355/0.8438, allocations: 18.32 MB / 0.7055 GB, free: 15.72 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002577/0.844, allocations: 351.5 kB / 0.7058 GB, free: 15.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007464/0.8515, allocations: 3.369 MB / 0.7091 GB, free: 11.92 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009002/0.8524, allocations: 85.7 kB / 0.7092 GB, free: 11.83 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003202/0.8556, allocations: 3.506 MB / 0.7126 GB, free: 8.289 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002172/0.8578, allocations: 1.418 MB / 0.714 GB, free: 6.859 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003893/0.8617, allocations: 1.097 MB / 0.7151 GB, free: 5.754 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.8618, allocations: 305.1 kB / 0.7154 GB, free: 5.453 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005037/0.8668, allocations: 2.585 MB / 0.7179 GB, free: 2.855 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2691/1.136, allocations: 4.719 MB / 0.7225 GB, free: 151.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0122/1.148, allocations: 7.47 MB / 0.7298 GB, free: 148.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002086/1.148, allocations: 18.28 kB / 0.7298 GB, free: 148.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01637/1.165, allocations: 8.293 MB / 0.7379 GB, free: 145.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.873e-05/1.165, allocations: 59 kB / 0.738 GB, free: 145.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001338/1.165, allocations: 58.84 kB / 0.738 GB, free: 145.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002643/1.168, allocations: 0.9926 MB / 0.739 GB, free: 145.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004726/1.172, allocations: 1.268 MB / 0.7402 GB, free: 145.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0109/1.183, allocations: 8.521 MB / 0.7486 GB, free: 140.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004914/1.188, allocations: 349.9 kB / 0.7489 GB, free: 140.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001199/1.189, allocations: 278.1 kB / 0.7492 GB, free: 140.4 MB / 0.545 GB 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.004984/1.194, allocations: 2.894 MB / 0.752 GB, free: 138.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008458/1.195, allocations: 382.8 kB / 0.7523 GB, free: 138.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009/1.204, allocations: 6.168 MB / 0.7584 GB, free: 136.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.373e-05/1.204, allocations: 40.94 kB / 0.7584 GB, free: 136.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/1.204, allocations: 16.55 kB / 0.7584 GB, free: 136.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.391e-05/1.204, allocations: 20.58 kB / 0.7584 GB, free: 136.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02132/1.226, allocations: 12.75 MB / 0.7709 GB, free: 130.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/1.226, allocations: 10.8 kB / 0.7709 GB, free: 130.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002792/1.228, allocations: 0.6855 MB / 0.7716 GB, free: 130.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002492/1.231, allocations: 0.8725 MB / 0.7724 GB, free: 130.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004207/1.231, allocations: 90.67 kB / 0.7725 GB, free: 130.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01044/1.242, allocations: 7.466 MB / 0.7798 GB, free: 126.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.242, allocations: 8.031 kB / 0.7798 GB, free: 126.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01244/1.254, allocations: 8.815 MB / 0.7884 GB, free: 122.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002523/1.257, allocations: 0.8365 MB / 0.7892 GB, free: 122.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000916/1.258, allocations: 83.22 kB / 0.7893 GB, free: 122 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002362/1.26, allocations: 191.4 kB / 0.7895 GB, free: 122 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005415/1.261, allocations: 290.3 kB / 0.7898 GB, free: 121.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002298/1.261, allocations: 124.1 kB / 0.7899 GB, free: 121.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003153/1.264, allocations: 2.161 MB / 0.792 GB, free: 121.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.4e-07/1.264, allocations: 0 / 0.792 GB, free: 121.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007035/1.271, allocations: 1.454 MB / 0.7934 GB, free: 120.9 MB / 0.545 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.0008178/1.272, allocations: 251.7 kB / 0.7937 GB, free: 120.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01008/1.282, allocations: 6.281 MB / 0.7998 GB, free: 116.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/1.282, allocations: 0 / 0.7998 GB, free: 116.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005159/1.287, allocations: 2.91 MB / 0.8026 GB, free: 114 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004596/1.292, allocations: 0.7188 MB / 0.8033 GB, free: 113.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02785/1.319, allocations: 13.99 MB / 0.817 GB, free: 100.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005602/1.325, allocations: 4.532 MB / 0.8214 GB, free: 97.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004053/1.329, allocations: 1.562 MB / 0.823 GB, free: 95.64 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009973/1.33, allocations: 344.4 kB / 0.8233 GB, free: 95.31 MB / 0.545 GB Notification: Performance of SimCode: time 8.01e-07/1.33, allocations: 0 / 0.8233 GB, free: 95.31 MB / 0.545 GB Notification: Performance of Templates: time 0.08839/1.418, allocations: 54.2 MB / 0.8762 GB, free: 41.73 MB / 0.545 GB " [Timeout remaining time 659] 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 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.954842537990771] Failed to read output from testmodel.py, exit status != 0: 1.4286105340579525 1.439270706 0.942052193 Calling exit ...