Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.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.001294/0.001294, allocations: 77.86 kB / 19.76 MB, free: 2.031 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.4/1.4, allocations: 177.2 MB / 200.1 MB, free: 8.34 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.001582/0.001582, allocations: 157.4 kB / 256.6 MB, free: 4.285 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.03932/0.03932, allocations: 6.659 MB / 319.6 MB, free: 5.359 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_VCurve1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1") [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.002873/0.002873, allocations: 87.84 kB / 446.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1067, allocations: 55.58 MB / 0.4903 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve1): time 0.2343/0.341, allocations: 21.97 MB / 0.5117 GB, free: 41.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01544/0.3564, allocations: 7.696 MB / 0.5192 GB, free: 40 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005227/0.3617, allocations: 202.7 kB / 0.5194 GB, free: 39.94 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01585/0.3775, allocations: 7.533 MB / 0.5268 GB, free: 36.94 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009569/0.3871, allocations: 3.096 MB / 0.5298 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005191/0.3923, allocations: 2.01 MB / 0.5318 GB, free: 33.85 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.011/0.4033, allocations: 9.411 MB / 0.541 GB, free: 29.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01693/0.4202, allocations: 11.18 MB / 0.5519 GB, free: 22.7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007378/0.4276, allocations: 4.878 MB / 0.5567 GB, free: 20.3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008072/0.4356, allocations: 5.047 MB / 0.5616 GB, free: 17.92 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003573/0.4392, allocations: 1.353 MB / 0.5629 GB, free: 17.92 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005401/0.4446, allocations: 1.726 MB / 0.5646 GB, free: 17.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003526/0.4481, allocations: 2.67 MB / 0.5672 GB, free: 15.94 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00861/0.4568, allocations: 3.963 MB / 0.5711 GB, free: 13.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02305/0.4798, allocations: 18.29 MB / 0.5889 GB, free: 2.887 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4798, allocations: 0 / 0.5889 GB, free: 2.887 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4798, allocations: 0 / 0.5889 GB, free: 2.887 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000596/0.4804, allocations: 1.312 kB / 0.5889 GB, free: 2.887 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.04338/0.5238, allocations: 10.88 MB / 0.5996 GB, free: 11.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.5238, allocations: 12.33 kB / 0.5996 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03516/0.559, allocations: 5.678 MB / 0.6051 GB, free: 7.043 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01611/0.5751, allocations: 5.84 MB / 0.6108 GB, free: 1.141 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007255/0.5758, allocations: 0.5819 MB / 0.6114 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003467/0.5793, allocations: 0.7655 MB / 0.6121 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03748/0.6168, allocations: 12.97 MB / 0.6248 GB, free: 2.727 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004775/0.6172, allocations: 19.89 kB / 0.6248 GB, free: 2.707 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003493/0.6207, allocations: 324 kB / 0.6251 GB, free: 2.391 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000749/0.6215, allocations: 0.4928 MB / 0.6256 GB, free: 1.895 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03117/0.6527, allocations: 12.23 MB / 0.6375 GB, free: 5.637 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08615/0.7388, allocations: 36.69 MB / 0.6734 GB, free: 8 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02058/0.7594, allocations: 8.917 MB / 0.6821 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005749/0.7651, allocations: 2.722 MB / 0.6847 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005074/0.7656, allocations: 102.8 kB / 0.6848 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00557/0.7712, allocations: 2.787 MB / 0.6876 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=391): time 8.816e-06/0.7712, allocations: 0 / 0.6876 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of matching and sorting (n=397): time 0.05254/0.8238, allocations: 18.32 MB / 0.7055 GB, free: 15.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002733/0.824, allocations: 351.5 kB / 0.7058 GB, free: 15.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007636/0.8317, allocations: 3.361 MB / 0.7091 GB, free: 12.11 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007219/0.8324, allocations: 89.7 kB / 0.7092 GB, free: 12.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003235/0.8356, allocations: 3.51 MB / 0.7126 GB, free: 8.477 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002071/0.8377, allocations: 1.414 MB / 0.714 GB, free: 7.051 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003592/0.8413, allocations: 1.101 MB / 0.715 GB, free: 5.941 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.8414, allocations: 305.1 kB / 0.7153 GB, free: 5.641 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00538/0.8468, allocations: 2.589 MB / 0.7179 GB, free: 3.039 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2741/1.121, allocations: 4.714 MB / 0.7225 GB, free: 152.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01199/1.133, allocations: 7.467 MB / 0.7298 GB, free: 148.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001769/1.133, allocations: 23 kB / 0.7298 GB, free: 148.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01619/1.149, allocations: 8.288 MB / 0.7379 GB, free: 145.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001044/1.149, allocations: 62.84 kB / 0.7379 GB, free: 145.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000137/1.149, allocations: 59.17 kB / 0.738 GB, free: 145.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002735/1.152, allocations: 0.9957 MB / 0.739 GB, free: 145.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004894/1.157, allocations: 1.268 MB / 0.7402 GB, free: 145.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01134/1.168, allocations: 8.514 MB / 0.7485 GB, free: 140.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00521/1.174, allocations: 351.7 kB / 0.7488 GB, free: 140.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001221/1.175, allocations: 275.3 kB / 0.7491 GB, free: 140.5 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.006719/1.182, allocations: 2.894 MB / 0.7519 GB, free: 139 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001644/1.183, allocations: 390.5 kB / 0.7523 GB, free: 139 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01259/1.196, allocations: 6.164 MB / 0.7583 GB, free: 136.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-05/1.196, allocations: 41.5 kB / 0.7584 GB, free: 136.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.083e-05/1.196, allocations: 12.78 kB / 0.7584 GB, free: 136.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.083e-05/1.196, allocations: 19.83 kB / 0.7584 GB, free: 136.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02778/1.224, allocations: 12.75 MB / 0.7709 GB, free: 131 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-05/1.224, allocations: 8.594 kB / 0.7709 GB, free: 131 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003249/1.227, allocations: 0.6837 MB / 0.7715 GB, free: 130.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002889/1.23, allocations: 0.8685 MB / 0.7724 GB, free: 130.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006432/1.231, allocations: 100.7 kB / 0.7725 GB, free: 130.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01136/1.242, allocations: 7.468 MB / 0.7798 GB, free: 126.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/1.242, allocations: 4.469 kB / 0.7798 GB, free: 126.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01737/1.259, allocations: 8.821 MB / 0.7884 GB, free: 122.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00341/1.263, allocations: 0.831 MB / 0.7892 GB, free: 122.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002183/1.265, allocations: 79.19 kB / 0.7893 GB, free: 122.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003835/1.269, allocations: 193.9 kB / 0.7895 GB, free: 122.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001104/1.27, allocations: 287.5 kB / 0.7897 GB, free: 122.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000605/1.27, allocations: 121.8 kB / 0.7898 GB, free: 122 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004941/1.275, allocations: 2.17 MB / 0.792 GB, free: 121.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/1.275, allocations: 0 / 0.792 GB, free: 121.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007888/1.283, allocations: 1.453 MB / 0.7934 GB, free: 121 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.001063/1.284, allocations: 262.5 kB / 0.7936 GB, free: 120.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0129/1.297, allocations: 6.271 MB / 0.7998 GB, free: 116.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.93e-05/1.297, allocations: 4.125 kB / 0.7998 GB, free: 116.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006027/1.303, allocations: 2.914 MB / 0.8026 GB, free: 114.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005621/1.309, allocations: 0.7113 MB / 0.8033 GB, free: 113.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02907/1.338, allocations: 14 MB / 0.817 GB, free: 100.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00884/1.347, allocations: 4.524 MB / 0.8214 GB, free: 97.37 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005031/1.352, allocations: 1.563 MB / 0.8229 GB, free: 95.84 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001562/1.353, allocations: 340.4 kB / 0.8232 GB, free: 95.51 MB / 0.545 GB Notification: Performance of SimCode: time 1.463e-06/1.353, allocations: 0 / 0.8232 GB, free: 95.51 MB / 0.545 GB Notification: Performance of Templates: time 0.08732/1.441, allocations: 54.18 MB / 0.8762 GB, free: 41.96 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.809879711014219] Failed to read output from testmodel.py, exit status != 0: 1.4501936779124662 1.459047744 0.976768444 Calling exit ...