Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.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.00128/0.00128, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.425/1.425, allocations: 177.2 MB / 200.1 MB, free: 9.289 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.00161/0.00161, allocations: 161.4 kB / 256.6 MB, free: 0.7578 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.06048/0.06048, allocations: 6.67 MB / 319.6 MB, free: 12.08 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_VCurve2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2") [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: 87.81 kB / 446.5 MB, free: 2.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2946, allocations: 55.57 MB / 0.4903 GB, free: 76.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve2): time 0.0179/0.3125, allocations: 22 MB / 0.5118 GB, free: 61.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01324/0.3257, allocations: 7.695 MB / 0.5193 GB, free: 56.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004994/0.3307, allocations: 205.3 kB / 0.5195 GB, free: 56.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01493/0.3456, allocations: 7.531 MB / 0.5268 GB, free: 51.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008638/0.3543, allocations: 3.096 MB / 0.5299 GB, free: 50.08 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005029/0.3593, allocations: 2.019 MB / 0.5318 GB, free: 48.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01135/0.3706, allocations: 9.399 MB / 0.541 GB, free: 44.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01868/0.3893, allocations: 11.18 MB / 0.5519 GB, free: 37.69 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009847/0.3992, allocations: 4.883 MB / 0.5567 GB, free: 35.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01017/0.4093, allocations: 5.043 MB / 0.5616 GB, free: 32.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004416/0.4138, allocations: 1.352 MB / 0.5629 GB, free: 32.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006906/0.4207, allocations: 1.724 MB / 0.5646 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004939/0.4256, allocations: 2.677 MB / 0.5672 GB, free: 30.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009853/0.4355, allocations: 3.958 MB / 0.5711 GB, free: 26.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02096/0.4564, allocations: 18.29 MB / 0.589 GB, free: 8.496 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.4564, allocations: 0 / 0.589 GB, free: 8.496 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.4564, allocations: 4 kB / 0.589 GB, free: 8.492 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004498/0.4569, allocations: 0 / 0.589 GB, free: 8.492 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.03094/0.4878, allocations: 10.88 MB / 0.5996 GB, free: 13.53 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.4879, allocations: 8.031 kB / 0.5996 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03471/0.5226, allocations: 5.672 MB / 0.6051 GB, free: 7.836 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01378/0.5364, allocations: 5.84 MB / 0.6108 GB, free: 1.934 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006614/0.537, allocations: 0.578 MB / 0.6114 GB, free: 1.355 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003085/0.5401, allocations: 0.7577 MB / 0.6122 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03198/0.5721, allocations: 12.98 MB / 0.6248 GB, free: 3.516 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002385/0.5723, allocations: 11.91 kB / 0.6248 GB, free: 3.504 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001463/0.5738, allocations: 323.9 kB / 0.6252 GB, free: 3.188 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006274/0.5744, allocations: 0.5006 MB / 0.6256 GB, free: 2.684 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02831/0.6027, allocations: 12.23 MB / 0.6376 GB, free: 6.43 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5118/1.115, allocations: 36.7 MB / 0.6734 GB, free: 89.64 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0164/1.131, allocations: 8.913 MB / 0.6821 GB, free: 88.91 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003935/1.135, allocations: 2.718 MB / 0.6848 GB, free: 87.88 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003041/1.135, allocations: 98.45 kB / 0.6849 GB, free: 87.86 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003239/1.138, allocations: 2.778 MB / 0.6876 GB, free: 86.52 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=391): time 6.792e-06/1.138, allocations: 7.094 kB / 0.6876 GB, free: 86.52 MB / 0.4982 GB Notification: Performance of matching and sorting (n=397): time 0.03463/1.173, allocations: 18.32 MB / 0.7055 GB, free: 78.24 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/1.173, allocations: 353.2 kB / 0.7058 GB, free: 77.86 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006156/1.179, allocations: 3.363 MB / 0.7091 GB, free: 76.61 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0007563/1.18, allocations: 91.64 kB / 0.7092 GB, free: 76.52 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.00245/1.183, allocations: 3.512 MB / 0.7126 GB, free: 74.29 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001697/1.184, allocations: 1.425 MB / 0.714 GB, free: 73.19 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002036/1.186, allocations: 1.099 MB / 0.7151 GB, free: 72.67 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 5.348e-05/1.186, allocations: 307.4 kB / 0.7154 GB, free: 72.37 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004846/1.191, allocations: 2.578 MB / 0.7179 GB, free: 71.36 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005763/1.197, allocations: 4.723 MB / 0.7225 GB, free: 67.67 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/1.207, allocations: 7.464 MB / 0.7298 GB, free: 62.66 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001317/1.207, allocations: 17.5 kB / 0.7298 GB, free: 62.66 MB / 0.4982 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01812/1.225, allocations: 8.296 MB / 0.7379 GB, free: 59.28 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001146/1.226, allocations: 60.89 kB / 0.738 GB, free: 59.25 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001705/1.226, allocations: 62.09 kB / 0.738 GB, free: 59.25 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002646/1.228, allocations: 0.9923 MB / 0.739 GB, free: 59.04 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00486/1.233, allocations: 1.267 MB / 0.7402 GB, free: 58.91 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/1.245, allocations: 8.525 MB / 0.7486 GB, free: 54.17 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005432/1.25, allocations: 350.3 kB / 0.7489 GB, free: 54.05 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001191/1.251, allocations: 269.7 kB / 0.7492 GB, free: 54.01 MB / 0.4982 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.005946/1.257, allocations: 2.898 MB / 0.752 GB, free: 52.46 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001154/1.258, allocations: 395.2 kB / 0.7524 GB, free: 52.25 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00907/1.268, allocations: 6.16 MB / 0.7584 GB, free: 49.66 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.93e-05/1.268, allocations: 43.44 kB / 0.7584 GB, free: 49.66 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-05/1.268, allocations: 15.19 kB / 0.7584 GB, free: 49.66 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-05/1.268, allocations: 20.86 kB / 0.7585 GB, free: 49.66 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0229/1.291, allocations: 12.75 MB / 0.7709 GB, free: 38.15 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/1.291, allocations: 4 kB / 0.7709 GB, free: 38.15 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002594/1.293, allocations: 0.6865 MB / 0.7716 GB, free: 37.46 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002289/1.295, allocations: 0.8759 MB / 0.7724 GB, free: 36.58 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003925/1.296, allocations: 95.91 kB / 0.7725 GB, free: 36.48 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009032/1.305, allocations: 7.467 MB / 0.7798 GB, free: 28.93 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/1.305, allocations: 8.109 kB / 0.7798 GB, free: 28.92 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01154/1.316, allocations: 8.822 MB / 0.7884 GB, free: 19.95 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002335/1.319, allocations: 0.8214 MB / 0.7892 GB, free: 19.12 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007027/1.319, allocations: 79.98 kB / 0.7893 GB, free: 19.05 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00191/1.321, allocations: 191.8 kB / 0.7895 GB, free: 18.86 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004855/1.322, allocations: 295 kB / 0.7898 GB, free: 18.57 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000212/1.322, allocations: 116 kB / 0.7899 GB, free: 18.46 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.002545/1.325, allocations: 2.165 MB / 0.792 GB, free: 16.29 MB / 0.4982 GB Notification: Performance of sort global known variables: time 1.3e-07/1.325, allocations: 0 / 0.792 GB, free: 16.29 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.004884/1.329, allocations: 1.453 MB / 0.7934 GB, free: 14.84 MB / 0.4982 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.0005009/1.33, allocations: 258.1 kB / 0.7937 GB, free: 14.58 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.008568/1.339, allocations: 6.281 MB / 0.7998 GB, free: 8.273 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/1.339, allocations: 0 / 0.7998 GB, free: 8.273 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.004157/1.343, allocations: 2.921 MB / 0.8027 GB, free: 5.324 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003292/1.346, allocations: 0.7043 MB / 0.8034 GB, free: 4.637 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0243/1.37, allocations: 14 MB / 0.817 GB, free: 6.527 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006901/1.377, allocations: 4.53 MB / 0.8214 GB, free: 1.945 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.004921/1.382, allocations: 1.561 MB / 0.823 GB, free: 388 kB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001237/1.383, allocations: 344.4 kB / 0.8233 GB, free: 44 kB / 0.5138 GB Notification: Performance of SimCode: time 1.032e-06/1.383, allocations: 0 / 0.8233 GB, free: 44 kB / 0.5138 GB Notification: Performance of Templates: time 0.112/1.495, allocations: 54.19 MB / 0.8762 GB, free: 10.44 MB / 0.5763 GB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.111506663030013] Failed to read output from testmodel.py, exit status != 0: 1.5053683790611103 1.717052984 1.25713559 Calling exit ...