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.00134/0.00134, allocations: 79.28 kB / 19 MB, free: 2.867 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.493/1.493, allocations: 177.2 MB / 199.3 MB, free: 9.477 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.001633/0.001633, allocations: 161.4 kB / 255.8 MB, free: 0.918 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.03835/0.03835, allocations: 6.671 MB / 318.9 MB, free: 48.51 MB / 286.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.002704/0.002704, allocations: 87.88 kB / 445.7 MB, free: 1.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2868, allocations: 55.57 MB / 0.4895 GB, free: 26.15 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve2): time 0.0213/0.3081, allocations: 22 MB / 0.511 GB, free: 4.055 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0178/0.3259, allocations: 7.703 MB / 0.5185 GB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00656/0.3324, allocations: 207.1 kB / 0.5187 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02054/0.353, allocations: 7.528 MB / 0.5261 GB, free: 4.582 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01367/0.3667, allocations: 3.093 MB / 0.5291 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008765/0.3754, allocations: 2.034 MB / 0.5311 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01802/0.3934, allocations: 9.404 MB / 0.5403 GB, free: 6.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0262/0.4196, allocations: 11.18 MB / 0.5512 GB, free: 10.69 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01784/0.4375, allocations: 7.348 MB / 0.5584 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01242/0.4499, allocations: 5.01 MB / 0.5633 GB, free: 14.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00574/0.4556, allocations: 1.352 MB / 0.5646 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006643/0.4623, allocations: 1.722 MB / 0.5663 GB, free: 11.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005433/0.4677, allocations: 2.677 MB / 0.5689 GB, free: 8.539 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01038/0.4781, allocations: 3.957 MB / 0.5727 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0277/0.5058, allocations: 18.29 MB / 0.5906 GB, free: 2.203 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.084e-05/0.5058, allocations: 4 kB / 0.5906 GB, free: 2.199 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.5058, allocations: 0 / 0.5906 GB, free: 2.199 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006373/0.5064, allocations: 0 / 0.5906 GB, free: 2.199 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.03795/0.5444, allocations: 10.88 MB / 0.6012 GB, free: 7.238 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.5444, allocations: 11.97 kB / 0.6012 GB, free: 7.227 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03475/0.5792, allocations: 5.672 MB / 0.6068 GB, free: 1.543 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4724/1.052, allocations: 5.832 MB / 0.6125 GB, free: 92.78 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000738/1.052, allocations: 0.5847 MB / 0.613 GB, free: 92.52 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003699/1.056, allocations: 0.7588 MB / 0.6138 GB, free: 92.28 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02954/1.086, allocations: 12.97 MB / 0.6265 GB, free: 86.27 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002578/1.086, allocations: 12.97 kB / 0.6265 GB, free: 86.27 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002056/1.088, allocations: 327.1 kB / 0.6268 GB, free: 85.96 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003939/1.088, allocations: 0.4985 MB / 0.6273 GB, free: 85.51 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02206/1.11, allocations: 12.23 MB / 0.6392 GB, free: 73.56 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0608/1.171, allocations: 36.7 MB / 0.6751 GB, free: 36.7 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01606/1.187, allocations: 8.921 MB / 0.6838 GB, free: 28.78 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004215/1.191, allocations: 2.714 MB / 0.6864 GB, free: 26.07 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004271/1.192, allocations: 98.97 kB / 0.6865 GB, free: 25.97 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003806/1.196, allocations: 2.787 MB / 0.6892 GB, free: 23.07 MB / 462.1 MB Notification: Performance of pre-optimization done (n=391): time 8.236e-06/1.196, allocations: 0 / 0.6892 GB, free: 23.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=397): time 0.03755/1.233, allocations: 18.31 MB / 0.7071 GB, free: 4.844 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.212e-05/1.233, allocations: 351.5 kB / 0.7074 GB, free: 4.426 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00431/1.238, allocations: 3.369 MB / 0.7107 GB, free: 1.043 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007539/1.238, allocations: 85.7 kB / 0.7108 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002867/1.241, allocations: 3.51 MB / 0.7142 GB, free: 13.43 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001845/1.243, allocations: 1.427 MB / 0.7156 GB, free: 12.03 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001854/1.245, allocations: 1.097 MB / 0.7167 GB, free: 10.93 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/1.245, allocations: 304.9 kB / 0.717 GB, free: 10.63 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004273/1.249, allocations: 2.585 MB / 0.7195 GB, free: 8.031 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006336/1.256, allocations: 4.721 MB / 0.7241 GB, free: 2.379 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01135/1.267, allocations: 7.467 MB / 0.7314 GB, free: 10.04 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-05/1.267, allocations: 19.94 kB / 0.7314 GB, free: 10.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01764/1.285, allocations: 8.295 MB / 0.7395 GB, free: 1.695 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/1.285, allocations: 57.7 kB / 0.7396 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001264/1.285, allocations: 60 kB / 0.7397 GB, free: 1.574 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003175/1.288, allocations: 0.9929 MB / 0.7406 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005056/1.293, allocations: 1.264 MB / 0.7419 GB, free: 15.31 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01473/1.308, allocations: 8.528 MB / 0.7502 GB, free: 6.68 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00451/1.312, allocations: 355.4 kB / 0.7505 GB, free: 6.332 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009463/1.313, allocations: 268 kB / 0.7508 GB, free: 6.07 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.006018/1.319, allocations: 2.902 MB / 0.7536 GB, free: 3.148 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001269/1.321, allocations: 381.5 kB / 0.754 GB, free: 2.773 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0137/1.334, allocations: 6.168 MB / 0.76 GB, free: 12.55 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.644e-05/1.334, allocations: 44 kB / 0.7601 GB, free: 12.5 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.793e-05/1.334, allocations: 8 kB / 0.7601 GB, free: 12.5 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.993e-05/1.334, allocations: 20.11 kB / 0.7601 GB, free: 12.48 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0302/1.365, allocations: 12.76 MB / 0.7725 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.046e-05/1.365, allocations: 7.938 kB / 0.7725 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003242/1.368, allocations: 0.6865 MB / 0.7732 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002962/1.371, allocations: 0.8721 MB / 0.7741 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004926/1.371, allocations: 91.97 kB / 0.7742 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01377/1.385, allocations: 7.46 MB / 0.7814 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.091e-05/1.385, allocations: 12.03 kB / 0.7815 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01841/1.404, allocations: 8.812 MB / 0.7901 GB, free: 13.45 MB / 0.5451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002952/1.407, allocations: 0.841 MB / 0.7909 GB, free: 12.61 MB / 0.5451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001379/1.408, allocations: 72 kB / 0.791 GB, free: 12.54 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002693/1.411, allocations: 195.8 kB / 0.7911 GB, free: 12.35 MB / 0.5451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007404/1.411, allocations: 291 kB / 0.7914 GB, free: 12.06 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003174/1.412, allocations: 120 kB / 0.7915 GB, free: 11.95 MB / 0.5451 GB Notification: Performance of sorting global known variables: time 0.004615/1.416, allocations: 2.165 MB / 0.7936 GB, free: 9.781 MB / 0.5451 GB Notification: Performance of sort global known variables: time 1e-07/1.416, allocations: 0 / 0.7936 GB, free: 9.781 MB / 0.5451 GB Notification: Performance of remove unused functions: time 0.006398/1.423, allocations: 1.453 MB / 0.7951 GB, free: 8.328 MB / 0.5451 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.000814/1.423, allocations: 250.5 kB / 0.7953 GB, free: 8.074 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.01357/1.437, allocations: 6.28 MB / 0.8014 GB, free: 1.758 MB / 0.5451 GB Notification: Performance of simCode: created event and clocks part: time 1.251e-05/1.437, allocations: 6 kB / 0.8014 GB, free: 1.754 MB / 0.5451 GB Notification: Performance of simCode: created simulation system equations: time 0.006792/1.444, allocations: 2.908 MB / 0.8043 GB, free: 14.81 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006022/1.45, allocations: 0.7231 MB / 0.805 GB, free: 14.11 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03647/1.486, allocations: 13.99 MB / 0.8186 GB, free: 15.99 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009712/1.496, allocations: 4.522 MB / 0.8231 GB, free: 11.42 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.005781/1.502, allocations: 1.561 MB / 0.8246 GB, free: 9.852 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001615/1.503, allocations: 348.3 kB / 0.8249 GB, free: 9.512 MB / 0.5763 GB Notification: Performance of SimCode: time 8.72e-07/1.503, allocations: 0 / 0.8249 GB, free: 9.512 MB / 0.5763 GB Notification: Performance of Templates: time 0.3103/1.814, allocations: 54.21 MB / 0.8779 GB, free: 175.3 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 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.274389462545514] Failed to read output from testmodel.py, exit status != 0: 1.8230073656886816 1.833830891 1.325405467 Calling exit ...