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.00148/0.00148, allocations: 105.1 kB / 18.99 MB, free: 2.605 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.503/1.503, allocations: 230.6 MB / 252.7 MB, free: 14.25 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.001668/0.001668, allocations: 208.2 kB / 309.3 MB, free: 3.098 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.04108/0.04108, allocations: 8.926 MB / 374.7 MB, free: 6.527 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.002819/0.002819, allocations: 85.91 kB / 0.4898 GB, free: 44.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1121, allocations: 55.61 MB / 0.5441 GB, free: 4.434 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve4): time 0.2623/0.3744, allocations: 21.99 MB / 0.5656 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01335/0.3877, allocations: 7.712 MB / 0.5731 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004479/0.3922, allocations: 203.6 kB / 0.5733 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01782/0.41, allocations: 7.166 MB / 0.5803 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01214/0.4222, allocations: 3.087 MB / 0.5833 GB, free: 6.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00661/0.4288, allocations: 2.017 MB / 0.5853 GB, free: 5.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01452/0.4433, allocations: 9.4 MB / 0.5944 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.024/0.4673, allocations: 11.2 MB / 0.6054 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01014/0.4775, allocations: 4.876 MB / 0.6101 GB, free: 7.305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01113/0.4886, allocations: 5.051 MB / 0.6151 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004071/0.4926, allocations: 1.35 MB / 0.6164 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007132/0.4998, allocations: 1.722 MB / 0.6181 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004815/0.5046, allocations: 2.677 MB / 0.6207 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01083/0.5154, allocations: 3.954 MB / 0.6245 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02544/0.5409, allocations: 18.3 MB / 0.6424 GB, free: 8.559 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.5409, allocations: 0 / 0.6424 GB, free: 8.559 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5409, allocations: 0 / 0.6424 GB, free: 8.559 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004655/0.5413, allocations: 0 / 0.6424 GB, free: 8.559 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.03345/0.5748, allocations: 10.88 MB / 0.653 GB, free: 13.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.5748, allocations: 11.98 kB / 0.653 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03373/0.6086, allocations: 5.679 MB / 0.6586 GB, free: 7.891 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01363/0.6222, allocations: 5.829 MB / 0.6643 GB, free: 2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005638/0.6228, allocations: 0.5897 MB / 0.6649 GB, free: 1.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002568/0.6253, allocations: 0.7577 MB / 0.6656 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02609/0.6514, allocations: 12.97 MB / 0.6783 GB, free: 3.578 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001861/0.6516, allocations: 15.89 kB / 0.6783 GB, free: 3.562 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009386/0.6525, allocations: 324 kB / 0.6786 GB, free: 3.246 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005348/0.6531, allocations: 0.4967 MB / 0.6791 GB, free: 2.746 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02464/0.6777, allocations: 12.23 MB / 0.691 GB, free: 6.492 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06906/0.7468, allocations: 36.69 MB / 0.7269 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01895/0.7657, allocations: 8.916 MB / 0.7356 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0048/0.7705, allocations: 2.726 MB / 0.7382 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000416/0.7709, allocations: 94.98 kB / 0.7383 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004543/0.7755, allocations: 2.787 MB / 0.741 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=391): time 8.055e-06/0.7755, allocations: 0 / 0.741 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of matching and sorting (n=397): time 0.04388/0.8194, allocations: 18.32 MB / 0.7589 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002289/0.8196, allocations: 351.5 kB / 0.7593 GB, free: 336 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006349/0.826, allocations: 3.365 MB / 0.7626 GB, free: 12.95 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005597/0.8265, allocations: 93.7 kB / 0.7626 GB, free: 12.85 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002716/0.8292, allocations: 3.509 MB / 0.7661 GB, free: 9.309 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001603/0.8308, allocations: 1.414 MB / 0.7674 GB, free: 7.883 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001868/0.8327, allocations: 1.097 MB / 0.7685 GB, free: 6.777 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.8328, allocations: 313.1 kB / 0.7688 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00423/0.8371, allocations: 2.578 MB / 0.7713 GB, free: 3.879 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4538/1.291, allocations: 4.721 MB / 0.7759 GB, free: 162.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009565/1.3, allocations: 7.467 MB / 0.7832 GB, free: 160.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001236/1.301, allocations: 20.11 kB / 0.7833 GB, free: 160.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01524/1.316, allocations: 8.286 MB / 0.7913 GB, free: 157.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.214e-05/1.316, allocations: 58.48 kB / 0.7914 GB, free: 157.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001264/1.316, allocations: 60.47 kB / 0.7915 GB, free: 157.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00281/1.319, allocations: 0.9994 MB / 0.7924 GB, free: 156.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004814/1.324, allocations: 1.261 MB / 0.7937 GB, free: 156.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01238/1.336, allocations: 8.514 MB / 0.802 GB, free: 152.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004609/1.341, allocations: 358.5 kB / 0.8023 GB, free: 152.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001183/1.342, allocations: 268.7 kB / 0.8026 GB, free: 152 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.006588/1.348, allocations: 2.907 MB / 0.8054 GB, free: 150.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001368/1.35, allocations: 383 kB / 0.8058 GB, free: 150.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01031/1.36, allocations: 6.158 MB / 0.8118 GB, free: 148 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.669e-05/1.36, allocations: 41.91 kB / 0.8118 GB, free: 148 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/1.36, allocations: 15.31 kB / 0.8119 GB, free: 148 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.398e-05/1.36, allocations: 19.92 kB / 0.8119 GB, free: 148 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01912/1.379, allocations: 12.75 MB / 0.8243 GB, free: 142.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-05/1.379, allocations: 8.25 kB / 0.8243 GB, free: 142.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002549/1.382, allocations: 0.6906 MB / 0.825 GB, free: 142.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002258/1.384, allocations: 0.874 MB / 0.8259 GB, free: 142.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002456/1.384, allocations: 92.47 kB / 0.826 GB, free: 142.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008955/1.393, allocations: 7.465 MB / 0.8332 GB, free: 137.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/1.393, allocations: 8.031 kB / 0.8332 GB, free: 137.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01135/1.405, allocations: 8.824 MB / 0.8419 GB, free: 129.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001888/1.407, allocations: 0.8255 MB / 0.8427 GB, free: 128.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005184/1.407, allocations: 87.92 kB / 0.8428 GB, free: 128.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001856/1.409, allocations: 191.4 kB / 0.8429 GB, free: 128 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005604/1.409, allocations: 288.1 kB / 0.8432 GB, free: 127.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002005/1.41, allocations: 120 kB / 0.8433 GB, free: 127.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002513/1.412, allocations: 2.169 MB / 0.8454 GB, free: 125.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/1.412, allocations: 0 / 0.8454 GB, free: 125.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004424/1.417, allocations: 1.449 MB / 0.8469 GB, free: 124 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.0004474/1.417, allocations: 252.6 kB / 0.8471 GB, free: 123.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008641/1.426, allocations: 6.285 MB / 0.8532 GB, free: 117.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/1.426, allocations: 0 / 0.8532 GB, free: 117.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004032/1.43, allocations: 2.908 MB / 0.8561 GB, free: 114.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003276/1.433, allocations: 0.7109 MB / 0.8568 GB, free: 113.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02159/1.455, allocations: 14 MB / 0.8704 GB, free: 99.76 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003939/1.459, allocations: 4.534 MB / 0.8749 GB, free: 95.18 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003806/1.462, allocations: 1.561 MB / 0.8764 GB, free: 93.61 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009139/1.463, allocations: 340.4 kB / 0.8767 GB, free: 93.28 MB / 0.545 GB Notification: Performance of SimCode: time 9.72e-07/1.463, allocations: 0 / 0.8767 GB, free: 93.28 MB / 0.545 GB Notification: Performance of Templates: time 0.08365/1.547, allocations: 54.19 MB / 0.9296 GB, free: 39.68 MB / 0.545 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.135569525882602] Failed to read output from testmodel.py, exit status != 0: 1.5553529895842075 1.565979398 1.022633075 Calling exit ...