Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.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.0009651/0.0009651, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.9528/0.9528, allocations: 177.2 MB / 200.5 MB, free: 5.512 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.001233/0.001233, allocations: 156.7 kB / 257 MB, free: 13.03 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.04509/0.04509, allocations: 6.659 MB / 320.1 MB, free: 26.59 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_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 391.7 MB, free: 2.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.525e-05, allocations: 2.312 kB / 391.7 MB, free: 2.914 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve4): time 0.1472/0.1472, allocations: 24.62 MB / 416.3 MB, free: 68.5 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01279/0.16, allocations: 7.918 MB / 424.3 MB, free: 67.09 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002725/0.1628, allocations: 204.3 kB / 424.5 MB, free: 67.03 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009115/0.1719, allocations: 8.085 MB / 432.5 MB, free: 62.92 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006629/0.1785, allocations: 3.182 MB / 435.7 MB, free: 60.4 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002907/0.1814, allocations: 2.055 MB / 437.8 MB, free: 58.82 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006638/0.188, allocations: 9.697 MB / 447.5 MB, free: 51.55 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00975/0.1978, allocations: 11.24 MB / 458.7 MB, free: 40.19 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007043/0.2048, allocations: 7.192 MB / 465.9 MB, free: 32.98 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004314/0.2092, allocations: 4.971 MB / 470.9 MB, free: 28 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001617/0.2108, allocations: 1.352 MB / 472.2 MB, free: 26.65 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001846/0.2126, allocations: 1.741 MB / 474 MB, free: 24.91 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001131/0.2138, allocations: 2.778 MB / 476.7 MB, free: 22.12 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002342/0.2161, allocations: 3.454 MB / 480.2 MB, free: 18.66 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006109/0.2222, allocations: 8.624 MB / 488.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2222, allocations: 0 / 488.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2222, allocations: 0 / 488.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.198e-05/0.2223, allocations: 4 kB / 488.8 MB, free: 10.01 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.01353/0.2358, allocations: 11.46 MB / 0.4886 GB, free: 14.46 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.2359, allocations: 12.03 kB / 0.4886 GB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01933/0.2552, allocations: 7.042 MB / 0.4954 GB, free: 7.395 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007189/0.2624, allocations: 5.625 MB / 0.5009 GB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004672/0.2628, allocations: 0.5741 MB / 0.5015 GB, free: 1.125 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009778/0.2638, allocations: 0.7694 MB / 0.5023 GB, free: 364 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01229/0.2761, allocations: 6.903 MB / 0.509 GB, free: 9.348 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001286/0.2762, allocations: 19.84 kB / 0.509 GB, free: 9.328 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005739/0.2768, allocations: 324 kB / 0.5093 GB, free: 9.012 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003437/0.2772, allocations: 0.5006 MB / 0.5098 GB, free: 8.508 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007826/0.285, allocations: 4.037 MB / 0.5138 GB, free: 4.449 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03473/0.3197, allocations: 33.64 MB / 0.5466 GB, free: 1.875 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2262/0.5459, allocations: 7.883 MB / 0.5543 GB, free: 118.1 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002057/0.548, allocations: 1.311 MB / 0.5556 GB, free: 118 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000238/0.5482, allocations: 122.3 kB / 0.5557 GB, free: 118 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001638/0.5498, allocations: 1.687 MB / 0.5573 GB, free: 117.5 MB / 394.8 MB Notification: Performance of pre-optimization done (n=391): time 4.809e-06/0.5498, allocations: 0 / 0.5573 GB, free: 117.5 MB / 394.8 MB Notification: Performance of matching and sorting (n=397): time 0.01805/0.5679, allocations: 12.43 MB / 0.5695 GB, free: 113.8 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/0.568, allocations: 357.6 kB / 0.5698 GB, free: 113.5 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002527/0.5705, allocations: 2.984 MB / 0.5727 GB, free: 113 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001383/0.5706, allocations: 87.11 kB / 0.5728 GB, free: 113 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001172/0.5718, allocations: 3.68 MB / 0.5764 GB, free: 111.4 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005451/0.5723, allocations: 1.441 MB / 0.5778 GB, free: 110.5 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001025/0.5734, allocations: 1.182 MB / 0.579 GB, free: 110.4 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 4.215e-05/0.5734, allocations: 476.8 kB / 0.5794 GB, free: 109.9 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/0.5747, allocations: 0.8823 MB / 0.5803 GB, free: 109.9 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002024/0.5767, allocations: 3.896 MB / 0.5841 GB, free: 106.1 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0035/0.5802, allocations: 5.001 MB / 0.589 GB, free: 101 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.88e-05/0.5802, allocations: 16 kB / 0.589 GB, free: 101 MB / 394.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.005989/0.5862, allocations: 5.013 MB / 0.5939 GB, free: 96.47 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.244e-05/0.5862, allocations: 53.7 kB / 0.5939 GB, free: 96.41 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.305e-05/0.5863, allocations: 64 kB / 0.594 GB, free: 96.35 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001748/0.588, allocations: 0.9295 MB / 0.5949 GB, free: 95.65 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002149/0.5902, allocations: 1.266 MB / 0.5962 GB, free: 94.57 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005346/0.5955, allocations: 5.753 MB / 0.6018 GB, free: 89.29 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/0.5974, allocations: 357.8 kB / 0.6021 GB, free: 89 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002392/0.5976, allocations: 273.5 kB / 0.6024 GB, free: 88.75 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.001741/0.5994, allocations: 0.5398 MB / 0.6029 GB, free: 88.19 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005823/0.6, allocations: 0.4936 MB / 0.6034 GB, free: 87.7 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004404/0.6044, allocations: 3.638 MB / 0.6069 GB, free: 84.11 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/0.6044, allocations: 40 kB / 0.607 GB, free: 84.07 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.6044, allocations: 12 kB / 0.607 GB, free: 84.06 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.042e-05/0.6044, allocations: 20.47 kB / 0.607 GB, free: 84.04 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01064/0.6151, allocations: 10.23 MB / 0.617 GB, free: 73.72 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.6151, allocations: 7.938 kB / 0.617 GB, free: 73.71 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001386/0.6164, allocations: 0.6826 MB / 0.6177 GB, free: 73.03 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001508/0.618, allocations: 0.8151 MB / 0.6185 GB, free: 72.21 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001336/0.6181, allocations: 91.97 kB / 0.6186 GB, free: 72.12 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004514/0.6226, allocations: 5.223 MB / 0.6237 GB, free: 66.79 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.6226, allocations: 7.938 kB / 0.6237 GB, free: 66.78 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005119/0.6277, allocations: 4.421 MB / 0.628 GB, free: 62.19 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009967/0.6287, allocations: 0.7823 MB / 0.6287 GB, free: 61.41 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003087/0.629, allocations: 72 kB / 0.6288 GB, free: 61.34 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009206/0.63, allocations: 191.8 kB / 0.629 GB, free: 61.15 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003141/0.6303, allocations: 291 kB / 0.6293 GB, free: 60.86 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/0.6304, allocations: 116 kB / 0.6294 GB, free: 60.75 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.001369/0.6318, allocations: 1.439 MB / 0.6308 GB, free: 59.31 MB / 394.8 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6318, allocations: 0 / 0.6308 GB, free: 59.31 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.003071/0.6348, allocations: 1.457 MB / 0.6322 GB, free: 57.86 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.0003507/0.6352, allocations: 253.3 kB / 0.6325 GB, free: 57.6 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.004345/0.6395, allocations: 3.874 MB / 0.6362 GB, free: 53.69 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.6395, allocations: 1.875 kB / 0.6362 GB, free: 53.69 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001968/0.6415, allocations: 2.019 MB / 0.6382 GB, free: 51.62 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/0.6432, allocations: 0.7725 MB / 0.639 GB, free: 50.9 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/0.6557, allocations: 11.66 MB / 0.6504 GB, free: 39.06 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001477/0.6572, allocations: 2.044 MB / 0.6523 GB, free: 36.98 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.002678/0.6599, allocations: 1.322 MB / 0.6536 GB, free: 35.65 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007682/0.6607, allocations: 340.4 kB / 0.654 GB, free: 35.32 MB / 394.8 MB Notification: Performance of SimCode: time 1.192e-06/0.6607, allocations: 0 / 0.654 GB, free: 35.32 MB / 394.8 MB Notification: Performance of Templates: time 0.1775/0.8382, allocations: 54.1 MB / 0.7068 GB, free: 131.4 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.870582713978365]