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.0009759/0.0009759, allocations: 81.95 kB / 19.87 MB, free: 4.617 MB / 18.57 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 0.9878/0.9878, allocations: 177.1 MB / 200.3 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] 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.001183/0.001183, allocations: 160.3 kB / 256.9 MB, free: 12.98 MB / 250.7 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.02362/0.02362, allocations: 6.658 MB / 320.1 MB, free: 26.36 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 392.1 MB, free: 2.242 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.12e-05, allocations: 2.312 kB / 392.1 MB, free: 2.238 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve1): time 0.1771/0.1771, allocations: 24 MB / 416.1 MB, free: 69.61 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01352/0.1907, allocations: 7.883 MB / 424 MB, free: 67.69 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005397/0.1961, allocations: 204.9 kB / 424.2 MB, free: 67.62 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0103/0.2064, allocations: 7.908 MB / 432.1 MB, free: 63.28 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01029/0.2167, allocations: 3.166 MB / 435.3 MB, free: 60.75 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004712/0.2214, allocations: 2.031 MB / 437.3 MB, free: 59.17 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009717/0.2311, allocations: 9.713 MB / 447 MB, free: 51.8 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01367/0.2448, allocations: 11.24 MB / 458.3 MB, free: 40.43 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009954/0.2547, allocations: 7.25 MB / 465.5 MB, free: 33.17 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005909/0.2606, allocations: 5.084 MB / 470.6 MB, free: 28.08 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002356/0.263, allocations: 1.352 MB / 471.9 MB, free: 26.73 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003737/0.2667, allocations: 1.733 MB / 473.7 MB, free: 24.99 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001437/0.2682, allocations: 2.77 MB / 476.4 MB, free: 22.21 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004705/0.2729, allocations: 3.446 MB / 479.9 MB, free: 18.76 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008961/0.2818, allocations: 8.593 MB / 488.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2818, allocations: 4 kB / 488.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2818, allocations: 4 kB / 488.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002961/0.2821, allocations: 0 / 488.5 MB, free: 10.14 MB / 330.7 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.01556/0.2977, allocations: 10.73 MB / 499.2 MB, free: 15.31 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2977, allocations: 8.031 kB / 499.2 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01599/0.3137, allocations: 5.485 MB / 0.4929 GB, free: 9.809 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007941/0.3217, allocations: 5.274 MB / 0.498 GB, free: 4.465 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003712/0.322, allocations: 0.5858 MB / 0.4986 GB, free: 3.879 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001861/0.3239, allocations: 0.7616 MB / 0.4994 GB, free: 3.117 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0108/0.3347, allocations: 6.327 MB / 0.5055 GB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001384/0.3348, allocations: 7.953 kB / 0.5055 GB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005501/0.3354, allocations: 320 kB / 0.5058 GB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000334/0.3357, allocations: 0.5005 MB / 0.5063 GB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006572/0.3423, allocations: 3.15 MB / 0.5094 GB, free: 8.672 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05119/0.3935, allocations: 33.11 MB / 0.5417 GB, free: 6.617 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009137/0.4026, allocations: 6.449 MB / 0.548 GB, free: 1.148 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001678/0.4043, allocations: 1.139 MB / 0.5491 GB, free: 4 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2774/0.6817, allocations: 139.4 kB / 0.5493 GB, free: 94.04 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002977/0.6846, allocations: 1.561 MB / 0.5508 GB, free: 93.5 MB / 394.8 MB Notification: Performance of pre-optimization done (n=391): time 8.015e-06/0.6846, allocations: 2.406 kB / 0.5508 GB, free: 93.5 MB / 394.8 MB Notification: Performance of matching and sorting (n=397): time 0.0171/0.7017, allocations: 7.949 MB / 0.5586 GB, free: 92.79 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.7018, allocations: 357.5 kB / 0.5589 GB, free: 92.41 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003421/0.7053, allocations: 2.908 MB / 0.5618 GB, free: 91.99 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001475/0.7054, allocations: 90.05 kB / 0.5618 GB, free: 91.96 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001587/0.707, allocations: 3.701 MB / 0.5655 GB, free: 90.45 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007572/0.7078, allocations: 1.455 MB / 0.5669 GB, free: 89.65 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001093/0.7089, allocations: 1.195 MB / 0.568 GB, free: 89.55 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 4.316e-05/0.7089, allocations: 480.5 kB / 0.5685 GB, free: 89.08 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008594/0.7098, allocations: 0.6747 MB / 0.5692 GB, free: 89.04 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001737/0.7115, allocations: 3.725 MB / 0.5728 GB, free: 85.39 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003034/0.7145, allocations: 4.67 MB / 0.5774 GB, free: 81.93 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.139e-05/0.7146, allocations: 19.12 kB / 0.5774 GB, free: 81.93 MB / 394.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.004879/0.7194, allocations: 4.534 MB / 0.5818 GB, free: 81.45 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.34e-05/0.7195, allocations: 63.2 kB / 0.5819 GB, free: 81.42 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.134e-05/0.7195, allocations: 67.91 kB / 0.5819 GB, free: 81.41 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001556/0.7211, allocations: 0.9007 MB / 0.5828 GB, free: 81.37 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001991/0.7231, allocations: 1.171 MB / 0.5839 GB, free: 81.37 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004806/0.7279, allocations: 5.466 MB / 0.5893 GB, free: 79.21 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/0.7298, allocations: 235.6 kB / 0.5895 GB, free: 79.18 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002225/0.73, allocations: 225.1 kB / 0.5897 GB, free: 79.04 MB / 394.8 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.001433/0.7314, allocations: 0.532 MB / 0.5902 GB, free: 78.72 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004934/0.7319, allocations: 0.5033 MB / 0.5907 GB, free: 78.27 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003391/0.7353, allocations: 3.32 MB / 0.594 GB, free: 76.3 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/0.7353, allocations: 43.98 kB / 0.594 GB, free: 76.26 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.7353, allocations: 11.94 kB / 0.594 GB, free: 76.25 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-05/0.7354, allocations: 24.72 kB / 0.5941 GB, free: 76.24 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009652/0.745, allocations: 9.832 MB / 0.6037 GB, free: 70.13 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.745, allocations: 7.469 kB / 0.6037 GB, free: 70.12 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/0.7462, allocations: 0.6146 MB / 0.6043 GB, free: 69.62 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001392/0.7476, allocations: 0.7885 MB / 0.605 GB, free: 68.87 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001583/0.7478, allocations: 91.97 kB / 0.6051 GB, free: 68.78 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00384/0.7516, allocations: 4.967 MB / 0.61 GB, free: 63.8 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.7516, allocations: 4 kB / 0.61 GB, free: 63.8 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003967/0.7556, allocations: 3.938 MB / 0.6138 GB, free: 59.82 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008641/0.7564, allocations: 0.7009 MB / 0.6145 GB, free: 59.11 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002718/0.7567, allocations: 77.86 kB / 0.6146 GB, free: 59.04 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007987/0.7575, allocations: 111.9 kB / 0.6147 GB, free: 58.93 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002686/0.7578, allocations: 286.1 kB / 0.615 GB, free: 58.65 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/0.7579, allocations: 95.95 kB / 0.6151 GB, free: 58.56 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.001022/0.7589, allocations: 1.317 MB / 0.6163 GB, free: 57.37 MB / 394.8 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7589, allocations: 0 / 0.6163 GB, free: 57.37 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.003297/0.7622, allocations: 1.445 MB / 0.6178 GB, free: 55.92 MB / 394.8 MB 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.0003595/0.7626, allocations: 258.1 kB / 0.618 GB, free: 55.7 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.003424/0.766, allocations: 3.514 MB / 0.6214 GB, free: 52.42 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.766, allocations: 0 / 0.6214 GB, free: 52.42 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001644/0.7677, allocations: 1.868 MB / 0.6233 GB, free: 50.62 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/0.7694, allocations: 0.7534 MB / 0.624 GB, free: 49.92 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/0.7817, allocations: 11.55 MB / 0.6353 GB, free: 38.29 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001373/0.7831, allocations: 2.045 MB / 0.6373 GB, free: 36.21 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.001473/0.7846, allocations: 0.6553 MB / 0.6379 GB, free: 35.55 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001283/0.7859, allocations: 0.9002 MB / 0.6388 GB, free: 34.65 MB / 394.8 MB Notification: Performance of SimCode: time 8.71e-07/0.7859, allocations: 0 / 0.6388 GB, free: 34.65 MB / 394.8 MB Notification: Performance of Templates: time 0.06886/0.8547, allocations: 58.9 MB / 0.6963 GB, free: 8.66 MB / 426.8 MB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.035911873914301]