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.001812/0.001812, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.506/1.506, allocations: 230.6 MB / 252.7 MB, free: 8.09 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.001691/0.001691, allocations: 209.1 kB / 309.2 MB, free: 2.953 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.04269/0.04269, allocations: 8.921 MB / 374.6 MB, free: 1.715 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.002715/0.002715, allocations: 90.2 kB / 0.4897 GB, free: 4.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1188, allocations: 55.6 MB / 0.544 GB, free: 4.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve2): time 0.03026/0.1491, allocations: 22 MB / 0.5654 GB, free: 14.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01705/0.1661, allocations: 7.711 MB / 0.573 GB, free: 6.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004352/0.1705, allocations: 203 kB / 0.5732 GB, free: 6.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01888/0.1894, allocations: 7.162 MB / 0.5802 GB, free: 15.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01092/0.2003, allocations: 3.096 MB / 0.5832 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007189/0.2075, allocations: 2.003 MB / 0.5851 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01477/0.2222, allocations: 9.399 MB / 0.5943 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02261/0.2448, allocations: 11.19 MB / 0.6053 GB, free: 5.234 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009746/0.2546, allocations: 4.878 MB / 0.61 GB, free: 352 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01012/0.2647, allocations: 5.049 MB / 0.6149 GB, free: 11.28 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004044/0.2688, allocations: 1.352 MB / 0.6163 GB, free: 9.926 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005512/0.2743, allocations: 1.726 MB / 0.618 GB, free: 8.199 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004627/0.2789, allocations: 2.677 MB / 0.6206 GB, free: 5.516 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008538/0.2874, allocations: 3.954 MB / 0.6244 GB, free: 1.547 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02468/0.3121, allocations: 18.29 MB / 0.6423 GB, free: 15.2 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3121, allocations: 0 / 0.6423 GB, free: 15.2 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3121, allocations: 0 / 0.6423 GB, free: 15.2 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004337/0.3126, allocations: 4 kB / 0.6423 GB, free: 15.2 MB / 462.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.03302/0.3456, allocations: 10.88 MB / 0.6529 GB, free: 4.227 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.3456, allocations: 8.031 kB / 0.6529 GB, free: 4.219 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4886/0.8343, allocations: 5.664 MB / 0.6585 GB, free: 91.98 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01517/0.8494, allocations: 5.84 MB / 0.6642 GB, free: 90.22 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006604/0.8501, allocations: 0.5778 MB / 0.6647 GB, free: 89.96 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003703/0.8538, allocations: 0.7639 MB / 0.6655 GB, free: 89.71 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03116/0.8849, allocations: 12.98 MB / 0.6781 GB, free: 84.25 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002606/0.8852, allocations: 11.91 kB / 0.6782 GB, free: 84.24 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001789/0.887, allocations: 326.2 kB / 0.6785 GB, free: 84 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003775/0.8874, allocations: 0.4936 MB / 0.6789 GB, free: 83.89 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02096/0.9083, allocations: 12.23 MB / 0.6909 GB, free: 72.04 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06141/0.9697, allocations: 36.68 MB / 0.7267 GB, free: 35.13 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01549/0.9852, allocations: 8.908 MB / 0.7354 GB, free: 27.22 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003914/0.9891, allocations: 2.718 MB / 0.7381 GB, free: 24.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003343/0.9895, allocations: 98.97 kB / 0.7382 GB, free: 24.4 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003222/0.9927, allocations: 2.795 MB / 0.7409 GB, free: 21.49 MB / 462.1 MB Notification: Performance of pre-optimization done (n=391): time 6.643e-06/0.9927, allocations: 0 / 0.7409 GB, free: 21.49 MB / 462.1 MB Notification: Performance of matching and sorting (n=397): time 0.03199/1.025, allocations: 18.3 MB / 0.7588 GB, free: 3.258 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/1.025, allocations: 363.5 kB / 0.7591 GB, free: 2.828 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004151/1.029, allocations: 3.361 MB / 0.7624 GB, free: 15.45 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004757/1.029, allocations: 93.7 kB / 0.7625 GB, free: 15.36 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002836/1.032, allocations: 3.508 MB / 0.7659 GB, free: 11.84 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001655/1.034, allocations: 1.411 MB / 0.7673 GB, free: 10.45 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001887/1.036, allocations: 1.104 MB / 0.7684 GB, free: 9.332 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/1.036, allocations: 301.1 kB / 0.7687 GB, free: 9.035 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004467/1.04, allocations: 2.578 MB / 0.7712 GB, free: 6.445 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006618/1.047, allocations: 4.721 MB / 0.7758 GB, free: 0.793 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01162/1.059, allocations: 7.467 MB / 0.7831 GB, free: 8.453 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.07e-05/1.059, allocations: 16 kB / 0.7831 GB, free: 8.438 MB / 494.1 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01657/1.075, allocations: 8.299 MB / 0.7912 GB, free: 112 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.66e-05/1.075, allocations: 61.7 kB / 0.7913 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001371/1.076, allocations: 60.05 kB / 0.7913 GB, free: 15.98 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002972/1.078, allocations: 0.9928 MB / 0.7923 GB, free: 14.99 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005303/1.084, allocations: 1.264 MB / 0.7935 GB, free: 13.73 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01482/1.099, allocations: 8.532 MB / 0.8018 GB, free: 5.094 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004609/1.103, allocations: 347.1 kB / 0.8022 GB, free: 4.758 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008255/1.104, allocations: 275.9 kB / 0.8024 GB, free: 4.488 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.005431/1.109, allocations: 2.899 MB / 0.8053 GB, free: 1.57 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009725/1.11, allocations: 385.6 kB / 0.8056 GB, free: 1.191 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/1.123, allocations: 6.176 MB / 0.8117 GB, free: 10.96 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.149e-05/1.123, allocations: 40 kB / 0.8117 GB, free: 10.92 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.782e-05/1.123, allocations: 8 kB / 0.8117 GB, free: 10.91 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.211e-05/1.123, allocations: 27.86 kB / 0.8117 GB, free: 10.88 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02743/1.15, allocations: 12.74 MB / 0.8242 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.203e-05/1.15, allocations: 4.188 kB / 0.8242 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003292/1.154, allocations: 0.6904 MB / 0.8249 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002777/1.156, allocations: 0.8796 MB / 0.8257 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004873/1.157, allocations: 91.97 kB / 0.8258 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01307/1.17, allocations: 7.459 MB / 0.8331 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.828e-06/1.17, allocations: 12.02 kB / 0.8331 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01676/1.187, allocations: 8.821 MB / 0.8417 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003071/1.19, allocations: 0.8292 MB / 0.8425 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008782/1.191, allocations: 72 kB / 0.8426 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002648/1.193, allocations: 199.8 kB / 0.8428 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008615/1.194, allocations: 287 kB / 0.8431 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002942/1.195, allocations: 120 kB / 0.8432 GB, free: 10.38 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004619/1.199, allocations: 2.165 MB / 0.8453 GB, free: 8.215 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/1.199, allocations: 0 / 0.8453 GB, free: 8.215 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00559/1.205, allocations: 1.449 MB / 0.8467 GB, free: 6.766 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.0006929/1.205, allocations: 255.7 kB / 0.8469 GB, free: 6.508 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01209/1.218, allocations: 6.288 MB / 0.8531 GB, free: 192 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.188e-06/1.218, allocations: 0 / 0.8531 GB, free: 192 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006167/1.224, allocations: 2.913 MB / 0.8559 GB, free: 13.24 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004286/1.228, allocations: 0.7094 MB / 0.8566 GB, free: 12.55 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2591/1.487, allocations: 13.99 MB / 0.8703 GB, free: 183.2 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008676/1.496, allocations: 4.527 MB / 0.8747 GB, free: 182.8 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.004447/1.5, allocations: 1.566 MB / 0.8762 GB, free: 182.8 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/1.501, allocations: 338.5 kB / 0.8766 GB, free: 182.8 MB / 0.5607 GB Notification: Performance of SimCode: time 1.052e-06/1.501, allocations: 2.812 kB / 0.8766 GB, free: 182.8 MB / 0.5607 GB Notification: Performance of Templates: time 0.09005/1.591, allocations: 62.15 MB / 0.9373 GB, free: 138.3 MB / 0.5607 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.307536732405424] Failed to read output from testmodel.py, exit status != 0: 1.5998724233359098 1.609090459 1.29443109 Calling exit ...