Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.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.0009975/0.0009975, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001206/0.001206, allocations: 174.3 kB / 24.92 MB, free: 8.766 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 1.015/1.015, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.09083/0.09083, allocations: 19.75 MB / 281.6 MB, free: 9.145 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.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 305.2 MB, free: 13.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.341e-05/1.447e-05, allocations: 3.188 kB / 305.2 MB, free: 13.05 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.002584/0.002599, allocations: 2.337 MB / 307.5 MB, free: 11.49 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.003753, allocations: 0.655 MB / 308.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.003895, allocations: 7.938 kB / 308.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000121/0.004016, allocations: 27.75 kB / 308.2 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002187/0.004234, allocations: 99.42 kB / 308.3 MB, free: 10.85 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001361/0.004371, allocations: 56.02 kB / 308.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.004605, allocations: 295.6 kB / 308.7 MB, free: 10.55 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.004723, allocations: 51.28 kB / 308.7 MB, free: 10.5 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.004945, allocations: 157.4 kB / 308.9 MB, free: 10.38 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.005084, allocations: 85.64 kB / 309 MB, free: 10.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.005111, allocations: 16 kB / 309 MB, free: 10.3 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.34e-05/0.005174, allocations: 23.94 kB / 309 MB, free: 10.28 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.624e-05/0.005211, allocations: 52.14 kB / 309.1 MB, free: 10.24 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.745e-05/0.005268, allocations: 76.61 kB / 309.1 MB, free: 10.17 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.005464, allocations: 170.2 kB / 309.3 MB, free: 10.04 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.005466, allocations: 0.7031 kB / 309.3 MB, free: 10.04 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.005467, allocations: 0 / 309.3 MB, free: 10.04 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.005471, allocations: 0 / 309.3 MB, free: 10.04 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.000507/0.005978, allocations: 467.3 kB / 309.7 MB, free: 9.586 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.006013, allocations: 12.03 kB / 309.8 MB, free: 9.574 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.437e-05/0.006097, allocations: 32.34 kB / 309.8 MB, free: 9.551 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.006292, allocations: 187.3 kB / 310 MB, free: 9.352 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.006304, allocations: 16.38 kB / 310 MB, free: 9.336 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.006333, allocations: 24.3 kB / 310 MB, free: 9.312 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.006517, allocations: 150 kB / 310.2 MB, free: 9.18 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.006527, allocations: 4.188 kB / 310.2 MB, free: 9.176 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.006537, allocations: 4.375 kB / 310.2 MB, free: 9.172 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.006545, allocations: 7.938 kB / 310.2 MB, free: 9.164 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.47e-05/0.006629, allocations: 52.25 kB / 310.2 MB, free: 9.125 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004853/0.007115, allocations: 415.7 kB / 310.6 MB, free: 8.719 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.00722, allocations: 80.39 kB / 310.7 MB, free: 8.633 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.845e-05/0.007258, allocations: 32.84 kB / 310.7 MB, free: 8.598 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.007273, allocations: 4 kB / 310.7 MB, free: 8.594 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.007293, allocations: 38.5 kB / 310.8 MB, free: 8.547 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.292e-06/0.007295, allocations: 0 / 310.8 MB, free: 8.547 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004725/0.007767, allocations: 335.4 kB / 311.1 MB, free: 8.191 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.007792, allocations: 51.41 kB / 311.2 MB, free: 8.129 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.007918, allocations: 213 kB / 311.4 MB, free: 7.91 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.00793, allocations: 25.7 kB / 311.4 MB, free: 7.879 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.138e-05/0.007991, allocations: 133 kB / 311.5 MB, free: 7.746 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.008025, allocations: 71.41 kB / 311.6 MB, free: 7.676 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.008067, allocations: 37.69 kB / 311.6 MB, free: 7.633 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.734e-05/0.008144, allocations: 338.8 kB / 312 MB, free: 7.293 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.316e-05/0.008167, allocations: 12 kB / 312 MB, free: 7.281 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.577e-05/0.008203, allocations: 48.73 kB / 312 MB, free: 7.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.721e-05/0.00828, allocations: 83.78 kB / 312.1 MB, free: 7.145 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.008282, allocations: 0 / 312.1 MB, free: 7.145 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001141/0.008396, allocations: 105.6 kB / 312.2 MB, free: 7.035 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.008406, allocations: 4 kB / 312.2 MB, free: 7.031 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.008411, allocations: 3.938 kB / 312.2 MB, free: 7.027 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.008421, allocations: 7.938 kB / 312.2 MB, free: 7.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002719/0.008693, allocations: 87.95 kB / 312.3 MB, free: 6.934 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006163/0.009309, allocations: 1.24 MB / 313.6 MB, free: 5.602 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.245e-05/0.009372, allocations: 8 kB / 313.6 MB, free: 5.594 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.00938, allocations: 8 kB / 313.6 MB, free: 5.586 MB / 282.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.398e-05/0.009444, allocations: 121.9 kB / 313.7 MB, free: 5.457 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.009469, allocations: 15.98 kB / 313.7 MB, free: 5.441 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.009575, allocations: 130.2 kB / 313.8 MB, free: 5.312 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.009577, allocations: 4 kB / 313.8 MB, free: 5.309 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.009578, allocations: 3.984 kB / 313.8 MB, free: 5.305 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.009582, allocations: 0 / 313.8 MB, free: 5.305 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002794/0.009862, allocations: 310.5 kB / 314.1 MB, free: 4.977 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.009863, allocations: 0 / 314.1 MB, free: 4.977 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.01001, allocations: 51.91 kB / 314.2 MB, free: 4.926 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.01001, allocations: 8 kB / 314.2 MB, free: 4.918 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.01002, allocations: 0 / 314.2 MB, free: 4.918 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.01002, allocations: 0 / 314.2 MB, free: 4.918 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01002, allocations: 0 / 314.2 MB, free: 4.918 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.01018, allocations: 238.6 kB / 314.4 MB, free: 4.672 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.742e-05/0.01021, allocations: 23.84 kB / 314.5 MB, free: 4.648 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.01023, allocations: 4 kB / 314.5 MB, free: 4.645 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.932e-05/0.01029, allocations: 4 kB / 314.5 MB, free: 4.641 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.01032, allocations: 15.97 kB / 314.5 MB, free: 4.625 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.01033, allocations: 4 kB / 314.5 MB, free: 4.621 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.673e-05/0.01039, allocations: 78.78 kB / 314.6 MB, free: 4.543 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01039, allocations: 0 / 314.6 MB, free: 4.543 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001533/0.01054, allocations: 44 kB / 314.6 MB, free: 4.5 MB / 282.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: 0 () * 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 6.5e-05/0.0106, allocations: 76.41 kB / 314.7 MB, free: 4.414 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.0108, allocations: 121.3 kB / 314.8 MB, free: 4.293 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.0108, allocations: 64 / 314.8 MB, free: 4.293 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.09e-05/0.01085, allocations: 48.78 kB / 314.8 MB, free: 4.242 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.01105, allocations: 45.73 kB / 314.9 MB, free: 4.199 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008333/0.01188, allocations: 0.5088 MB / 315.4 MB, free: 3.664 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.994e-05/0.01193, allocations: 84.55 kB / 315.5 MB, free: 3.555 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.881e-05/0.012, allocations: 21.95 kB / 315.5 MB, free: 3.531 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.01211, allocations: 91.34 kB / 315.6 MB, free: 3.441 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01211, allocations: 0 / 315.6 MB, free: 3.441 MB / 282.7 MB Notification: Performance of Templates: time 0.004306/0.01641, allocations: 2.706 MB / 318.3 MB, free: 0.793 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6510967668145895]