Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.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.001427/0.001427, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] 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.001508/0.001508, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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 1.444/1.444, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1466/0.1466, allocations: 19.74 MB / 280.8 MB, free: 9.285 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 357.2 MB, free: 6.969 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.808e-05/1.942e-05, allocations: 6.25 kB / 357.2 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.003621/0.00364, allocations: 2.196 MB / 359.4 MB, free: 4.75 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.004838, allocations: 0.6116 MB / 360 MB, free: 4.133 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.004949, allocations: 4 kB / 360 MB, free: 4.129 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001412/0.00509, allocations: 31.59 kB / 360 MB, free: 4.098 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002688/0.005358, allocations: 103.1 kB / 360.1 MB, free: 3.996 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000167/0.005525, allocations: 55.92 kB / 360.2 MB, free: 3.941 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003795/0.005905, allocations: 294.6 kB / 360.5 MB, free: 3.652 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.006055, allocations: 57.58 kB / 360.5 MB, free: 3.598 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003198/0.006375, allocations: 171.5 kB / 360.7 MB, free: 3.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.006551, allocations: 87.7 kB / 360.8 MB, free: 3.344 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.907e-05/0.00659, allocations: 16 kB / 360.8 MB, free: 3.328 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.746e-05/0.006657, allocations: 24 kB / 360.8 MB, free: 3.305 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.031e-05/0.006718, allocations: 51.75 kB / 360.9 MB, free: 3.254 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.006838, allocations: 83.77 kB / 361 MB, free: 3.172 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003449/0.007183, allocations: 231.2 kB / 361.2 MB, free: 2.945 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.007185, allocations: 0 / 361.2 MB, free: 2.945 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.007186, allocations: 0 / 361.2 MB, free: 2.945 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.00719, allocations: 0 / 361.2 MB, free: 2.945 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001037/0.008227, allocations: 0.4929 MB / 361.7 MB, free: 2.422 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.008259, allocations: 8.031 kB / 361.7 MB, free: 2.414 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.008396, allocations: 48.75 kB / 361.7 MB, free: 2.367 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003691/0.008765, allocations: 212.7 kB / 361.9 MB, free: 2.137 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.986e-05/0.008855, allocations: 67.97 kB / 362 MB, free: 2.059 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-05/0.008903, allocations: 20.36 kB / 362 MB, free: 2.039 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003999/0.009303, allocations: 183.4 kB / 362.2 MB, free: 1.848 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.009316, allocations: 192 / 362.2 MB, free: 1.848 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.009339, allocations: 15.94 kB / 362.2 MB, free: 1.832 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.009348, allocations: 4 kB / 362.2 MB, free: 1.828 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003763/0.009725, allocations: 119.9 kB / 362.3 MB, free: 1.711 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.01074, allocations: 0.539 MB / 362.9 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004017/0.01115, allocations: 134.5 kB / 363 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.01133, allocations: 80.86 kB / 363.1 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.01135, allocations: 4 kB / 363.1 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.01139, allocations: 38.5 kB / 363.1 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 1.122e-06/0.01139, allocations: 3.938 kB / 363.1 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.001258/0.01265, allocations: 0.5177 MB / 363.7 MB, free: 320 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.0127, allocations: 59.34 kB / 363.7 MB, free: 248 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.01299, allocations: 229.9 kB / 363.9 MB, free: 12 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.778e-05/0.01303, allocations: 33.7 kB / 364 MB, free: 15.97 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002299/0.01326, allocations: 148.6 kB / 364.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.401e-05/0.01334, allocations: 71.42 kB / 364.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.1e-05/0.01342, allocations: 41.66 kB / 364.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.01361, allocations: 330.8 kB / 364.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.01379, allocations: 63.95 kB / 364.6 MB, free: 15.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.01397, allocations: 77.69 kB / 364.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000321/0.01429, allocations: 134.7 kB / 364.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.01429, allocations: 0 / 364.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004514/0.01474, allocations: 220.3 kB / 365 MB, free: 14.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.01476, allocations: 8 kB / 365 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.01477, allocations: 4 kB / 365 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.01478, allocations: 4.031 kB / 365.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004509/0.01523, allocations: 79.89 kB / 365.1 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.01524, allocations: 4 kB / 365.1 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.01538, allocations: 7.984 kB / 365.1 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.0154, allocations: 8 kB / 365.2 MB, free: 14.76 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000142/0.01554, allocations: 133.8 kB / 365.3 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.454e-05/0.0156, allocations: 31.8 kB / 365.3 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.917e-05/0.01567, allocations: 30.11 kB / 365.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.01568, allocations: 4 kB / 365.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.01568, allocations: 0 / 365.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.01568, allocations: 0 / 365.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008302/0.01651, allocations: 474 kB / 365.8 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01651, allocations: 0 / 365.8 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004113/0.01692, allocations: 59.91 kB / 365.9 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.01693, allocations: 3.984 kB / 365.9 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.01695, allocations: 11.98 kB / 365.9 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01695, allocations: 4 kB / 365.9 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01695, allocations: 0 / 365.9 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006485/0.0176, allocations: 359.1 kB / 366.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.504e-05/0.01768, allocations: 35.81 kB / 366.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.378e-05/0.01773, allocations: 8 kB / 366.3 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.0179, allocations: 8 kB / 366.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.01795, allocations: 15.97 kB / 366.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.01797, allocations: 8 kB / 366.3 MB, free: 13.53 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000191/0.01816, allocations: 169.2 kB / 366.5 MB, free: 13.37 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01816, allocations: 0 / 366.5 MB, free: 13.37 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003324/0.01849, allocations: 48 kB / 366.5 MB, free: 13.32 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (generator.phi,generator.omega_m,generator.omega_e_filt,grid.port.theta) * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001114/0.0186, allocations: 95.19 kB / 366.6 MB, free: 13.22 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003848/0.01899, allocations: 139 kB / 366.8 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01899, allocations: 4 kB / 366.8 MB, free: 13.08 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.01915, allocations: 71.97 kB / 366.8 MB, free: 13.01 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.01956, allocations: 52.33 kB / 366.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.0207, allocations: 0.5591 MB / 367.4 MB, free: 12.37 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.02106, allocations: 142.1 kB / 367.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.212e-05/0.02115, allocations: 17.94 kB / 367.6 MB, free: 12.19 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.694e-05/0.02122, allocations: 24.48 kB / 367.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.02122, allocations: 0 / 367.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of Templates: time 0.005907/0.02713, allocations: 2.065 MB / 369.7 MB, free: 10.12 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.279860566020943]