Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.0009557/0.0009557, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001012/0.001012, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8441/0.8441, allocations: 158.6 MB / 186.4 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1659/0.1659, allocations: 36.34 MB / 275.1 MB, free: 10.66 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_ThermoPower.Test.ElectricalComponents.TestElectrical4") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 353.8 MB, free: 3.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.764e-05/1.908e-05, allocations: 2.312 kB / 353.8 MB, free: 3.445 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.002885/0.002904, allocations: 2.281 MB / 356.1 MB, free: 1.141 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009229/0.003827, allocations: 0.6397 MB / 356.7 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.003953, allocations: 7.938 kB / 356.7 MB, free: 496 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.004095, allocations: 31.59 kB / 356.8 MB, free: 464 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.004339, allocations: 91.27 kB / 356.8 MB, free: 372 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.004503, allocations: 55.86 kB / 356.9 MB, free: 316 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002618/0.004765, allocations: 290.6 kB / 357.2 MB, free: 24 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.00494, allocations: 44.89 kB / 357.2 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002273/0.005168, allocations: 155.6 kB / 357.4 MB, free: 15.83 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.005337, allocations: 79.72 kB / 357.5 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.996e-05/0.005377, allocations: 20 kB / 357.5 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.112e-05/0.005448, allocations: 23.94 kB / 357.5 MB, free: 15.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.718e-05/0.005495, allocations: 47.77 kB / 357.5 MB, free: 15.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.306e-05/0.005588, allocations: 83.75 kB / 357.6 MB, free: 15.58 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.005864, allocations: 163.3 kB / 357.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.005867, allocations: 3.984 kB / 357.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.005868, allocations: 4 kB / 357.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.373e-06/0.005876, allocations: 4 kB / 357.8 MB, free: 15.41 MB / 298.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.0008112/0.006687, allocations: 0.5889 MB / 358.4 MB, free: 14.78 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.006729, allocations: 8.031 kB / 358.4 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.006858, allocations: 40.8 kB / 358.4 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.007164, allocations: 215.5 kB / 358.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.007186, allocations: 16.38 kB / 358.7 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.038e-05/0.007226, allocations: 16.38 kB / 358.7 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/0.007526, allocations: 161.9 kB / 358.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.007539, allocations: 192 / 358.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.007558, allocations: 4.375 kB / 358.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.007571, allocations: 7.938 kB / 358.8 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.007744, allocations: 71.66 kB / 358.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008387/0.008583, allocations: 0.6113 MB / 359.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.008782, allocations: 106.9 kB / 359.6 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.595e-05/0.008877, allocations: 43.67 kB / 359.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.008894, allocations: 4 kB / 359.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.00892, allocations: 41.33 kB / 359.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.753e-06/0.008922, allocations: 0 / 359.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008181/0.00974, allocations: 404.4 kB / 360.1 MB, free: 12.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.009773, allocations: 59.41 kB / 360.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/0.01003, allocations: 276.3 kB / 360.4 MB, free: 12.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.01004, allocations: 25.7 kB / 360.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.01015, allocations: 199.3 kB / 360.7 MB, free: 12.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.236e-05/0.0102, allocations: 63.44 kB / 360.7 MB, free: 12.26 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.77e-05/0.01027, allocations: 43.36 kB / 360.8 MB, free: 12.21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.01042, allocations: 0.504 MB / 361.3 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.699e-05/0.01049, allocations: 23.97 kB / 361.3 MB, free: 11.67 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.731e-05/0.01058, allocations: 59.22 kB / 361.4 MB, free: 11.6 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.01074, allocations: 95.19 kB / 361.4 MB, free: 11.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.01074, allocations: 4 kB / 361.5 MB, free: 11.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001776/0.01092, allocations: 157.6 kB / 361.6 MB, free: 11.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.01093, allocations: 8 kB / 361.6 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.01093, allocations: 0 / 361.6 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.01095, allocations: 3.938 kB / 361.6 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.01118, allocations: 63.95 kB / 361.7 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007892/0.01197, allocations: 1.858 MB / 363.5 MB, free: 9.281 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.188e-05/0.01203, allocations: 8 kB / 363.5 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.01204, allocations: 4 kB / 363.5 MB, free: 9.27 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: 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 7.925e-05/0.01212, allocations: 168.5 kB / 363.7 MB, free: 9.094 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.01215, allocations: 23.86 kB / 363.7 MB, free: 9.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.01229, allocations: 151.6 kB / 363.9 MB, free: 8.906 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.01229, allocations: 0 / 363.9 MB, free: 8.906 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.52e-07/0.01229, allocations: 4.094 kB / 363.9 MB, free: 8.902 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.0123, allocations: 0 / 363.9 MB, free: 8.902 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003651/0.01266, allocations: 465.2 kB / 364.3 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.01266, allocations: 0 / 364.3 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.01279, allocations: 47.86 kB / 364.4 MB, free: 8.359 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.01279, allocations: 0 / 364.4 MB, free: 8.359 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.0128, allocations: 7.984 kB / 364.4 MB, free: 8.352 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.0128, allocations: 4 kB / 364.4 MB, free: 8.348 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.0128, allocations: 0 / 364.4 MB, free: 8.348 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.01302, allocations: 323.9 kB / 364.7 MB, free: 8.012 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.01306, allocations: 43.77 kB / 364.8 MB, free: 7.969 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.01308, allocations: 4 kB / 364.8 MB, free: 7.965 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.243e-05/0.01314, allocations: 8 kB / 364.8 MB, free: 7.957 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.01318, allocations: 19.91 kB / 364.8 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.01319, allocations: 4 kB / 364.8 MB, free: 7.934 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.299e-05/0.01328, allocations: 201.1 kB / 365 MB, free: 7.742 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01328, allocations: 0 / 365 MB, free: 7.742 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001714/0.01345, allocations: 44 kB / 365 MB, free: 7.699 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: 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.714e-05/0.01352, allocations: 91.25 kB / 365.1 MB, free: 7.602 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002549/0.01377, allocations: 133.3 kB / 365.3 MB, free: 7.469 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.01377, allocations: 0 / 365.3 MB, free: 7.469 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.826e-05/0.01383, allocations: 63.59 kB / 365.3 MB, free: 7.402 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.01407, allocations: 42.91 kB / 365.4 MB, free: 7.363 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000951/0.01502, allocations: 0.5859 MB / 365.9 MB, free: 6.746 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.861e-05/0.01507, allocations: 84.55 kB / 366 MB, free: 6.641 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.767e-05/0.01512, allocations: 21.62 kB / 366 MB, free: 6.621 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.01517, allocations: 24.5 kB / 366.1 MB, free: 6.598 MB / 298.7 MB Notification: Performance of SimCode: time 4.6e-07/0.01517, allocations: 0 / 366.1 MB, free: 6.598 MB / 298.7 MB Notification: Performance of Templates: time 0.004158/0.01933, allocations: 2.551 MB / 368.6 MB, free: 4.055 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.809429211076349]