Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 117.7 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 225.6 MB / 245.5 MB, free: 14.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 193 kB / 300.5 MB, free: 9.828 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04433/0.04433, allocations: 8.927 MB / 364.3 MB, free: 10.18 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002388/0.002388, allocations: 82.19 kB / 487.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09351/0.0959, allocations: 54.4 MB / 0.529 GB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve3): time 0.03048/0.1264, allocations: 25.55 MB / 0.5539 GB, free: 7.133 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01639/0.1428, allocations: 7.979 MB / 0.5617 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004017/0.1468, allocations: 171.5 kB / 0.5619 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01962/0.1664, allocations: 7.721 MB / 0.5694 GB, free: 7.215 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01016/0.1766, allocations: 3.108 MB / 0.5725 GB, free: 4.098 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005548/0.1821, allocations: 2.017 MB / 0.5744 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01317/0.1953, allocations: 9.225 MB / 0.5835 GB, free: 8.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01982/0.2151, allocations: 12.82 MB / 0.596 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007342/0.2224, allocations: 4.769 MB / 0.6006 GB, free: 7.098 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009122/0.2316, allocations: 5.299 MB / 0.6058 GB, free: 1.781 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002705/0.2343, allocations: 1.352 MB / 0.6071 GB, free: 440 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004084/0.2384, allocations: 1.726 MB / 0.6088 GB, free: 14.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002763/0.2411, allocations: 2.677 MB / 0.6114 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007328/0.2484, allocations: 5.09 MB / 0.6164 GB, free: 6.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02068/0.2691, allocations: 18.19 MB / 0.6342 GB, free: 4.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.2691, allocations: 0 / 0.6342 GB, free: 4.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.2691, allocations: 0 / 0.6342 GB, free: 4.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004074/0.2695, allocations: 0 / 0.6342 GB, free: 4.66 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.4082/0.6778, allocations: 10.95 MB / 0.6448 GB, free: 84.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.6778, allocations: 9.625 kB / 0.6449 GB, free: 84.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03198/0.7098, allocations: 5.722 MB / 0.6504 GB, free: 82.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009942/0.7197, allocations: 5.815 MB / 0.6561 GB, free: 78.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002875/0.72, allocations: 0.5742 MB / 0.6567 GB, free: 78.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001485/0.7215, allocations: 0.7588 MB / 0.6574 GB, free: 78.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0199/0.7414, allocations: 12.77 MB / 0.6699 GB, free: 66.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001759/0.7416, allocations: 11.95 kB / 0.6699 GB, free: 66.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008628/0.7425, allocations: 327.2 kB / 0.6702 GB, free: 66.24 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003771/0.7428, allocations: 0.498 MB / 0.6707 GB, free: 65.74 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01722/0.7601, allocations: 12.25 MB / 0.6827 GB, free: 53.47 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04792/0.808, allocations: 43.36 MB / 0.725 GB, free: 9.406 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02243/0.8304, allocations: 24.81 MB / 0.7492 GB, free: 13.72 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004928/0.8353, allocations: 2.725 MB / 0.7519 GB, free: 10.99 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003764/0.8357, allocations: 244 kB / 0.7521 GB, free: 10.73 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004174/0.8399, allocations: 2.575 MB / 0.7546 GB, free: 8.082 MB / 478.1 MB Notification: Performance of pre-optimization done (n=391): time 5.239e-06/0.8399, allocations: 4 kB / 0.7546 GB, free: 8.078 MB / 478.1 MB Notification: Performance of matching and sorting (n=397): time 0.03967/0.8796, allocations: 18.39 MB / 0.7726 GB, free: 5.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002329/0.8798, allocations: 355.5 kB / 0.7729 GB, free: 5.238 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005429/0.8852, allocations: 3.527 MB / 0.7764 GB, free: 1.707 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002696/0.8855, allocations: 93.7 kB / 0.7765 GB, free: 1.609 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002691/0.8882, allocations: 3.485 MB / 0.7799 GB, free: 14.12 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001414/0.8896, allocations: 1.419 MB / 0.7813 GB, free: 12.7 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001844/0.8914, allocations: 1.089 MB / 0.7823 GB, free: 11.6 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.8916, allocations: 305.1 kB / 0.7826 GB, free: 11.3 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004218/0.8958, allocations: 2.549 MB / 0.7851 GB, free: 8.742 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005977/0.9018, allocations: 4.512 MB / 0.7895 GB, free: 3.348 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01063/0.9124, allocations: 7.451 MB / 0.7968 GB, free: 11.02 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-05/0.9124, allocations: 20 kB / 0.7968 GB, free: 11 MB / 0.5138 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01501/0.9274, allocations: 8.263 MB / 0.8049 GB, free: 2.719 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.219e-05/0.9275, allocations: 57.7 kB / 0.8049 GB, free: 2.656 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-05/0.9276, allocations: 60 kB / 0.805 GB, free: 2.598 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00302/0.9306, allocations: 1.002 MB / 0.806 GB, free: 1.594 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004579/0.9352, allocations: 1.26 MB / 0.8072 GB, free: 340 kB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01455/0.9497, allocations: 8.819 MB / 0.8158 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004126/0.9539, allocations: 359.5 kB / 0.8161 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005238/0.9544, allocations: 268 kB / 0.8164 GB, free: 6.746 MB / 0.5294 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.004947/0.9593, allocations: 2.902 MB / 0.8192 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008641/0.9602, allocations: 409.4 kB / 0.8196 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01189/0.9721, allocations: 6.156 MB / 0.8256 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.383e-05/0.9721, allocations: 40 kB / 0.8257 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.186e-05/0.9722, allocations: 8 kB / 0.8257 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.973e-05/0.9722, allocations: 23.92 kB / 0.8257 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0255/0.9977, allocations: 14.61 MB / 0.84 GB, free: 14.36 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/0.9977, allocations: 4 kB / 0.84 GB, free: 14.35 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002905/1.001, allocations: 0.6904 MB / 0.8407 GB, free: 13.66 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002716/1.003, allocations: 0.8732 MB / 0.8415 GB, free: 12.79 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002439/1.004, allocations: 87.97 kB / 0.8416 GB, free: 12.7 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01258/1.016, allocations: 7.753 MB / 0.8492 GB, free: 4.797 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/1.016, allocations: 8.094 kB / 0.8492 GB, free: 4.789 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2259/1.242, allocations: 8.762 MB / 0.8577 GB, free: 193.6 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002194/1.244, allocations: 0.9304 MB / 0.8586 GB, free: 193.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005167/1.245, allocations: 77.88 kB / 0.8587 GB, free: 193.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0021/1.247, allocations: 195.4 kB / 0.8589 GB, free: 193.5 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005526/1.247, allocations: 274.7 kB / 0.8592 GB, free: 193.5 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002848/1.248, allocations: 117.1 kB / 0.8593 GB, free: 193.5 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.003132/1.251, allocations: 2.362 MB / 0.8616 GB, free: 192.7 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.1e-07/1.251, allocations: 0 / 0.8616 GB, free: 192.7 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.004154/1.255, allocations: 1.453 MB / 0.863 GB, free: 192.6 MB / 0.5607 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.0004303/1.255, allocations: 248.9 kB / 0.8632 GB, free: 192.4 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.008455/1.264, allocations: 6.216 MB / 0.8693 GB, free: 190 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.264, allocations: 0 / 0.8693 GB, free: 190 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.004089/1.268, allocations: 2.873 MB / 0.8721 GB, free: 188.8 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003362/1.271, allocations: 0.8276 MB / 0.8729 GB, free: 188.5 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01845/1.29, allocations: 13.75 MB / 0.8863 GB, free: 182.2 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003629/1.293, allocations: 4.859 MB / 0.8911 GB, free: 179.6 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001447/1.295, allocations: 378.5 kB / 0.8915 GB, free: 179.3 MB / 0.5607 GB Notification: Performance of SimCode: time 1.323e-06/1.295, allocations: 0 / 0.8915 GB, free: 179.3 MB / 0.5607 GB Notification: Performance of Templates: time 0.1188/1.414, allocations: 132.9 MB / 1.021 GB, free: 48.54 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.697275604121387] Failed to read output from testmodel.py, exit status != 0: 1.5682363819796592 1.430491204 1.159050042 Calling exit ...