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.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.001703/0.001703, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.594/1.594, allocations: 230.6 MB / 252.7 MB, free: 14.27 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.001715/0.001715, allocations: 207.6 kB / 309.2 MB, free: 3.121 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.04375/0.04375, allocations: 8.929 MB / 374.6 MB, free: 6.586 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_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: 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.002568/0.002568, allocations: 91.88 kB / 0.4897 GB, free: 44.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0909/0.09347, allocations: 55.61 MB / 0.544 GB, free: 4.516 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve3): time 0.2473/0.3407, allocations: 21.98 MB / 0.5654 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01362/0.3544, allocations: 7.708 MB / 0.573 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004467/0.3588, allocations: 203.2 kB / 0.5732 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01772/0.3765, allocations: 7.159 MB / 0.5802 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01119/0.3877, allocations: 3.102 MB / 0.5832 GB, free: 6.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006782/0.3945, allocations: 2.008 MB / 0.5851 GB, free: 5.789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01585/0.4104, allocations: 9.402 MB / 0.5943 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02658/0.4369, allocations: 11.2 MB / 0.6053 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01042/0.4474, allocations: 4.873 MB / 0.61 GB, free: 7.414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01046/0.4578, allocations: 5.045 MB / 0.6149 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003988/0.4618, allocations: 1.362 MB / 0.6163 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006389/0.4682, allocations: 1.718 MB / 0.618 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004921/0.4731, allocations: 2.681 MB / 0.6206 GB, free: 15 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009656/0.4828, allocations: 3.954 MB / 0.6244 GB, free: 11.03 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02563/0.5084, allocations: 18.29 MB / 0.6423 GB, free: 8.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.5084, allocations: 4 kB / 0.6423 GB, free: 8.676 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.5084, allocations: 0 / 0.6423 GB, free: 8.676 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004781/0.5089, allocations: 3.938 kB / 0.6423 GB, free: 8.672 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.03463/0.5435, allocations: 10.88 MB / 0.6529 GB, free: 13.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.5436, allocations: 11.98 kB / 0.6529 GB, free: 13.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03418/0.5778, allocations: 5.667 MB / 0.6585 GB, free: 8.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01553/0.5933, allocations: 5.84 MB / 0.6642 GB, free: 2.117 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006629/0.5939, allocations: 0.5819 MB / 0.6647 GB, free: 1.535 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003403/0.5973, allocations: 0.7616 MB / 0.6655 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03559/0.6329, allocations: 12.98 MB / 0.6782 GB, free: 3.695 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003555/0.6333, allocations: 11.89 kB / 0.6782 GB, free: 3.684 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002717/0.636, allocations: 324 kB / 0.6785 GB, free: 3.367 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006498/0.6367, allocations: 0.5006 MB / 0.679 GB, free: 2.863 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02926/0.6659, allocations: 12.23 MB / 0.6909 GB, free: 6.617 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07901/0.7449, allocations: 36.66 MB / 0.7267 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02083/0.7658, allocations: 8.923 MB / 0.7354 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005697/0.7715, allocations: 2.714 MB / 0.7381 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000393/0.7719, allocations: 90.98 kB / 0.7382 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004805/0.7767, allocations: 2.791 MB / 0.7409 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=391): time 6.913e-06/0.7767, allocations: 0 / 0.7409 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of matching and sorting (n=397): time 0.04582/0.8225, allocations: 18.32 MB / 0.7588 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002648/0.8228, allocations: 355.5 kB / 0.7591 GB, free: 488 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006097/0.8289, allocations: 3.365 MB / 0.7624 GB, free: 13.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006589/0.8295, allocations: 85.7 kB / 0.7625 GB, free: 13 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002979/0.8325, allocations: 3.509 MB / 0.7659 GB, free: 9.465 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001787/0.8343, allocations: 1.422 MB / 0.7673 GB, free: 8.031 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001958/0.8362, allocations: 1.097 MB / 0.7684 GB, free: 6.926 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.8364, allocations: 305.1 kB / 0.7687 GB, free: 6.625 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004699/0.8411, allocations: 2.589 MB / 0.7712 GB, free: 4.023 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4537/1.295, allocations: 4.711 MB / 0.7758 GB, free: 162.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01089/1.306, allocations: 7.471 MB / 0.7831 GB, free: 160.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001039/1.306, allocations: 16.91 kB / 0.7831 GB, free: 160.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.0157/1.321, allocations: 8.292 MB / 0.7912 GB, free: 157.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.197e-05/1.322, allocations: 58.33 kB / 0.7913 GB, free: 157.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001458/1.322, allocations: 59.56 kB / 0.7913 GB, free: 157.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002998/1.325, allocations: 0.9954 MB / 0.7923 GB, free: 157 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005111/1.33, allocations: 1.269 MB / 0.7935 GB, free: 156.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01399/1.344, allocations: 8.513 MB / 0.8018 GB, free: 152.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006119/1.35, allocations: 358.5 kB / 0.8022 GB, free: 152.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001904/1.352, allocations: 269.9 kB / 0.8024 GB, free: 152.1 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.008103/1.36, allocations: 2.901 MB / 0.8053 GB, free: 150.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001196/1.361, allocations: 386.9 kB / 0.8056 GB, free: 150.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01/1.371, allocations: 6.165 MB / 0.8117 GB, free: 148 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.429e-05/1.371, allocations: 41.91 kB / 0.8117 GB, free: 148 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-05/1.371, allocations: 12.91 kB / 0.8117 GB, free: 148 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-05/1.371, allocations: 18.09 kB / 0.8117 GB, free: 148 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02045/1.392, allocations: 12.75 MB / 0.8242 GB, free: 142.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.656e-05/1.392, allocations: 8.469 kB / 0.8242 GB, free: 142.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002687/1.394, allocations: 0.6898 MB / 0.8249 GB, free: 142.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00236/1.397, allocations: 0.8698 MB / 0.8257 GB, free: 142.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003366/1.397, allocations: 85.56 kB / 0.8258 GB, free: 142.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009214/1.406, allocations: 7.473 MB / 0.8331 GB, free: 137.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.406, allocations: 12.03 kB / 0.8331 GB, free: 137.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01176/1.418, allocations: 8.816 MB / 0.8417 GB, free: 129.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002528/1.421, allocations: 0.8295 MB / 0.8425 GB, free: 128.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008845/1.421, allocations: 79.94 kB / 0.8426 GB, free: 128.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002225/1.424, allocations: 187.8 kB / 0.8428 GB, free: 128.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005244/1.424, allocations: 295 kB / 0.8431 GB, free: 127.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002008/1.424, allocations: 120 kB / 0.8432 GB, free: 127.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002845/1.427, allocations: 2.169 MB / 0.8453 GB, free: 125.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/1.427, allocations: 0 / 0.8453 GB, free: 125.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005779/1.433, allocations: 1.449 MB / 0.8467 GB, free: 124.1 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.0006697/1.434, allocations: 256.1 kB / 0.8469 GB, free: 123.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009993/1.444, allocations: 6.275 MB / 0.8531 GB, free: 117.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.427e-05/1.444, allocations: 2.969 kB / 0.8531 GB, free: 117.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004531/1.448, allocations: 2.916 MB / 0.8559 GB, free: 114.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003596/1.452, allocations: 0.7132 MB / 0.8566 GB, free: 113.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02747/1.479, allocations: 13.99 MB / 0.8703 GB, free: 99.83 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008423/1.488, allocations: 4.524 MB / 0.8747 GB, free: 95.26 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007675/1.495, allocations: 1.568 MB / 0.8762 GB, free: 93.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001934/1.497, allocations: 343.3 kB / 0.8766 GB, free: 93.35 MB / 0.545 GB Notification: Performance of SimCode: time 1.433e-06/1.497, allocations: 0 / 0.8766 GB, free: 93.35 MB / 0.545 GB Notification: Performance of Templates: time 0.1718/1.669, allocations: 62.16 MB / 0.9373 GB, free: 31.77 MB / 0.545 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: 8.482316354289651] Failed to read output from testmodel.py, exit status != 0: 1.6779817044734955 1.687687178 1.176671957 Calling exit ...