Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.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.001773/0.001773, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.511/1.511, allocations: 230.6 MB / 252.6 MB, free: 8.289 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.001847/0.001847, allocations: 220.3 kB / 309.2 MB, free: 3.152 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.04295/0.04295, allocations: 8.91 MB / 374.6 MB, free: 1.918 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_VCurve1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1") [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.002661/0.002661, allocations: 84.25 kB / 0.4897 GB, free: 6.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3324, allocations: 55.61 MB / 0.544 GB, free: 27.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve1): time 0.02144/0.3538, allocations: 25.63 MB / 0.569 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01685/0.3707, allocations: 8.089 MB / 0.5769 GB, free: 2.797 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005982/0.3766, allocations: 203.4 kB / 0.5771 GB, free: 2.734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01999/0.3966, allocations: 7.759 MB / 0.5847 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01328/0.4099, allocations: 3.182 MB / 0.5878 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007745/0.4177, allocations: 2.092 MB / 0.5899 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01697/0.4346, allocations: 9.398 MB / 0.599 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02598/0.4606, allocations: 11.35 MB / 0.6101 GB, free: 9.133 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0117/0.4723, allocations: 4.874 MB / 0.6149 GB, free: 4.246 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01084/0.4831, allocations: 5.381 MB / 0.6201 GB, free: 14.85 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004271/0.4874, allocations: 1.355 MB / 0.6215 GB, free: 13.49 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006202/0.4936, allocations: 1.738 MB / 0.6232 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004655/0.4983, allocations: 2.685 MB / 0.6258 GB, free: 9.062 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01182/0.5101, allocations: 5.086 MB / 0.6307 GB, free: 3.957 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02791/0.538, allocations: 18.22 MB / 0.6485 GB, free: 1.676 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.538, allocations: 4 kB / 0.6485 GB, free: 1.672 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.538, allocations: 0 / 0.6485 GB, free: 1.672 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006643/0.5387, allocations: 0 / 0.6485 GB, free: 1.672 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.03735/0.576, allocations: 10.89 MB / 0.6592 GB, free: 6.691 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/0.5761, allocations: 12.03 kB / 0.6592 GB, free: 6.68 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0331/0.6092, allocations: 5.661 MB / 0.6647 GB, free: 1.008 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01453/0.6237, allocations: 5.86 MB / 0.6704 GB, free: 11.08 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006764/0.6244, allocations: 0.578 MB / 0.671 GB, free: 10.5 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003351/0.6277, allocations: 0.7616 MB / 0.6718 GB, free: 9.742 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03255/0.6603, allocations: 12.79 MB / 0.6842 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002226/0.6605, allocations: 15.94 kB / 0.6843 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001364/0.6619, allocations: 324 kB / 0.6846 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005394/0.6624, allocations: 0.4928 MB / 0.6851 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5239/1.186, allocations: 12.29 MB / 0.697 GB, free: 106.1 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07505/1.261, allocations: 41.4 MB / 0.7375 GB, free: 83.87 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01777/1.279, allocations: 9.018 MB / 0.7463 GB, free: 79.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004551/1.284, allocations: 2.722 MB / 0.7489 GB, free: 78.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004923/1.284, allocations: 120.7 kB / 0.7491 GB, free: 78.46 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004599/1.289, allocations: 2.586 MB / 0.7516 GB, free: 76.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=391): time 5.48e-06/1.289, allocations: 0 / 0.7516 GB, free: 76.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=397): time 0.0342/1.323, allocations: 18.28 MB / 0.7694 GB, free: 65.35 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/1.323, allocations: 355.4 kB / 0.7698 GB, free: 64.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004486/1.328, allocations: 3.533 MB / 0.7732 GB, free: 61.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005593/1.328, allocations: 89.7 kB / 0.7733 GB, free: 61.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001404/1.33, allocations: 3.505 MB / 0.7767 GB, free: 57.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001109/1.331, allocations: 1.419 MB / 0.7781 GB, free: 56.58 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001415/1.332, allocations: 1.093 MB / 0.7792 GB, free: 55.48 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.493e-05/1.332, allocations: 305.1 kB / 0.7795 GB, free: 55.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003217/1.335, allocations: 2.552 MB / 0.782 GB, free: 52.62 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004145/1.339, allocations: 4.524 MB / 0.7864 GB, free: 47.21 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008117/1.348, allocations: 7.459 MB / 0.7937 GB, free: 38.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.103e-05/1.348, allocations: 20 kB / 0.7937 GB, free: 38.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01362/1.361, allocations: 8.29 MB / 0.8018 GB, free: 30.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.909e-05/1.361, allocations: 63.25 kB / 0.8018 GB, free: 30.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001224/1.361, allocations: 60 kB / 0.8019 GB, free: 30.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002613/1.364, allocations: 0.9968 MB / 0.8029 GB, free: 29.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004628/1.369, allocations: 1.267 MB / 0.8041 GB, free: 28.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/1.379, allocations: 8.734 MB / 0.8126 GB, free: 19.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004615/1.384, allocations: 343.5 kB / 0.813 GB, free: 18.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007569/1.385, allocations: 279.9 kB / 0.8132 GB, free: 18.71 MB / 494.1 MB 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.005107/1.39, allocations: 2.895 MB / 0.8161 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001495/1.391, allocations: 413.4 kB / 0.8165 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009314/1.401, allocations: 6.144 MB / 0.8225 GB, free: 9.191 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.626e-05/1.401, allocations: 51.94 kB / 0.8225 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/1.401, allocations: 11.94 kB / 0.8225 GB, free: 9.129 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.018e-05/1.401, allocations: 19.92 kB / 0.8225 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02432/1.425, allocations: 14.64 MB / 0.8368 GB, free: 10.4 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.688e-05/1.425, allocations: 4 kB / 0.8368 GB, free: 10.4 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002799/1.428, allocations: 0.6904 MB / 0.8375 GB, free: 9.707 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002718/1.43, allocations: 0.8681 MB / 0.8384 GB, free: 8.836 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003778/1.431, allocations: 91.97 kB / 0.8384 GB, free: 8.746 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01237/1.443, allocations: 7.649 MB / 0.8459 GB, free: 0.9805 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.181e-05/1.443, allocations: 11.94 kB / 0.8459 GB, free: 0.9688 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01621/1.459, allocations: 8.801 MB / 0.8545 GB, free: 8.043 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003236/1.463, allocations: 0.8564 MB / 0.8554 GB, free: 7.184 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001024/1.464, allocations: 75.98 kB / 0.8554 GB, free: 7.109 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002274/1.466, allocations: 191.8 kB / 0.8556 GB, free: 6.922 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006199/1.467, allocations: 287 kB / 0.8559 GB, free: 6.641 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002461/1.467, allocations: 124 kB / 0.856 GB, free: 6.52 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004337/1.471, allocations: 2.367 MB / 0.8583 GB, free: 4.16 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1e-07/1.471, allocations: 4 kB / 0.8583 GB, free: 4.156 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.006746/1.478, allocations: 1.453 MB / 0.8597 GB, free: 2.703 MB / 0.5138 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.0008151/1.479, allocations: 256.9 kB / 0.86 GB, free: 2.449 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01255/1.491, allocations: 6.23 MB / 0.8661 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/1.491, allocations: 384 / 0.8661 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006933/1.498, allocations: 2.883 MB / 0.8689 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005315/1.504, allocations: 0.8226 MB / 0.8697 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03238/1.536, allocations: 14.01 MB / 0.8834 GB, free: 10.38 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00794/1.544, allocations: 5 MB / 0.8883 GB, free: 5.34 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00541/1.549, allocations: 1.594 MB / 0.8898 GB, free: 3.742 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/1.55, allocations: 351.3 kB / 0.8901 GB, free: 3.398 MB / 0.545 GB Notification: Performance of SimCode: time 1.452e-06/1.55, allocations: 4 kB / 0.8901 GB, free: 3.395 MB / 0.545 GB Notification: Performance of Templates: time 0.3997/1.95, allocations: 64.57 MB / 0.9532 GB, free: 154.1 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.867861920036376] Failed to read output from testmodel.py, exit status != 0: 1.9598499170970172 1.970746015 1.4298343980000001 Calling exit ...