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.0008083/0.0008083, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0008614/0.0008614, allocations: 168.8 kB / 25.61 MB, free: 8.891 MB / 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.8618/0.8618, allocations: 158.6 MB / 187.5 MB, free: 2.805 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.1758/0.1758, allocations: 36.34 MB / 276.2 MB, free: 14.38 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.473e-06/1.473e-06, allocations: 0 / 355 MB, free: 62.63 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.821e-05/1.969e-05, allocations: 6.984 kB / 355 MB, free: 62.62 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.002894/0.002913, allocations: 2.265 MB / 357.3 MB, free: 61.52 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004053/0.006967, allocations: 0.6402 MB / 357.9 MB, free: 61.08 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.007101, allocations: 6.562 kB / 357.9 MB, free: 61.08 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.007221, allocations: 30.34 kB / 358 MB, free: 61.06 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002099/0.007431, allocations: 95.58 kB / 358.1 MB, free: 60.99 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.007583, allocations: 54.06 kB / 358.1 MB, free: 60.96 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002623/0.007845, allocations: 295.8 kB / 358.4 MB, free: 60.8 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.007979, allocations: 49.05 kB / 358.5 MB, free: 60.78 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002159/0.008195, allocations: 152.9 kB / 358.6 MB, free: 60.72 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.008334, allocations: 84.5 kB / 358.7 MB, free: 60.7 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.996e-05/0.008364, allocations: 16.97 kB / 358.7 MB, free: 60.7 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.735e-05/0.008422, allocations: 21.41 kB / 358.7 MB, free: 60.7 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.834e-05/0.00846, allocations: 50.41 kB / 358.8 MB, free: 60.66 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.781e-05/0.008528, allocations: 76.03 kB / 358.9 MB, free: 60.63 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.008745, allocations: 169.9 kB / 359 MB, free: 60.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.008748, allocations: 1.594 kB / 359 MB, free: 60.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.008749, allocations: 4 kB / 359 MB, free: 60.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.008754, allocations: 0 / 359 MB, free: 60.54 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.004662/0.01342, allocations: 0.5863 MB / 359.6 MB, free: 60.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.01345, allocations: 8.406 kB / 359.6 MB, free: 60.04 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.01355, allocations: 39.69 kB / 359.7 MB, free: 60.03 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.01377, allocations: 212.4 kB / 359.9 MB, free: 59.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.01378, allocations: 14.53 kB / 359.9 MB, free: 59.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.01381, allocations: 17.73 kB / 359.9 MB, free: 59.83 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.01401, allocations: 157.4 kB / 360.1 MB, free: 59.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.01402, allocations: 1.625 kB / 360.1 MB, free: 59.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.01403, allocations: 6.625 kB / 360.1 MB, free: 59.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.01404, allocations: 6.875 kB / 360.1 MB, free: 59.72 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.01415, allocations: 53.77 kB / 360.1 MB, free: 59.72 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005786/0.01473, allocations: 0.5684 MB / 360.7 MB, free: 59.26 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.01487, allocations: 96.67 kB / 360.8 MB, free: 59.21 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.436e-05/0.01492, allocations: 45.14 kB / 360.8 MB, free: 59.19 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.01494, allocations: 10.09 kB / 360.8 MB, free: 59.19 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/0.01495, allocations: 40.09 kB / 360.9 MB, free: 59.14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.733e-06/0.01496, allocations: 0 / 360.9 MB, free: 59.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005085/0.01546, allocations: 349.7 kB / 361.2 MB, free: 58.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.9e-05/0.01548, allocations: 57.69 kB / 361.3 MB, free: 58.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.01564, allocations: 273.8 kB / 361.5 MB, free: 58.64 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.01565, allocations: 31.94 kB / 361.6 MB, free: 58.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.512e-05/0.01572, allocations: 194.3 kB / 361.8 MB, free: 58.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003048/0.01876, allocations: 63.7 kB / 361.8 MB, free: 58.38 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.722e-05/0.01883, allocations: 45 kB / 361.9 MB, free: 58.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.466e-05/0.01889, allocations: 0.5087 MB / 362.4 MB, free: 57.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.212e-05/0.01893, allocations: 19.28 kB / 362.4 MB, free: 57.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.464e-05/0.01898, allocations: 50.09 kB / 362.4 MB, free: 57.81 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.01908, allocations: 83.64 kB / 362.5 MB, free: 57.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.01908, allocations: 4 kB / 362.5 MB, free: 57.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001852/0.01927, allocations: 142.7 kB / 362.7 MB, free: 57.7 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.01928, allocations: 9.438 kB / 362.7 MB, free: 57.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.01929, allocations: 1.688 kB / 362.7 MB, free: 57.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.0193, allocations: 1.062 kB / 362.7 MB, free: 57.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.01958, allocations: 71.55 kB / 362.7 MB, free: 57.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006214/0.0202, allocations: 1.833 MB / 364.6 MB, free: 55.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.051e-05/0.02029, allocations: 16.33 kB / 364.6 MB, free: 55.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.0203, allocations: 4.469 kB / 364.6 MB, free: 55.81 MB / 330.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.755e-05/0.02037, allocations: 167.8 kB / 364.8 MB, free: 55.64 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.473e-05/0.02041, allocations: 26.3 kB / 364.8 MB, free: 55.62 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001684/0.02058, allocations: 138.2 kB / 364.9 MB, free: 55.55 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.02058, allocations: 4.812 kB / 364.9 MB, free: 55.55 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.02058, allocations: 5.219 kB / 364.9 MB, free: 55.54 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.02059, allocations: 1.219 kB / 364.9 MB, free: 55.54 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004053/0.02099, allocations: 414 kB / 365.3 MB, free: 55.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.021, allocations: 2.484 kB / 365.3 MB, free: 55.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.02116, allocations: 41.31 kB / 365.4 MB, free: 55.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.02116, allocations: 1.906 kB / 365.4 MB, free: 55.22 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.02117, allocations: 9 kB / 365.4 MB, free: 55.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.02117, allocations: 1.188 kB / 365.4 MB, free: 55.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.02117, allocations: 3.938 kB / 365.4 MB, free: 55.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.02139, allocations: 314.3 kB / 365.7 MB, free: 54.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.759e-05/0.02144, allocations: 37.94 kB / 365.7 MB, free: 54.96 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.02147, allocations: 1.734 kB / 365.7 MB, free: 54.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.856e-05/0.02156, allocations: 12.83 kB / 365.8 MB, free: 54.95 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.0216, allocations: 11.38 kB / 365.8 MB, free: 54.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.02162, allocations: 6.25 kB / 365.8 MB, free: 54.95 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.516e-05/0.02171, allocations: 187 kB / 366 MB, free: 54.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02171, allocations: 0 / 366 MB, free: 54.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002708/0.02199, allocations: 47.06 kB / 366 MB, free: 54.81 MB / 330.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 7.82e-05/0.02206, allocations: 96.53 kB / 366.1 MB, free: 54.72 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002572/0.02232, allocations: 112.8 kB / 366.2 MB, free: 54.7 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.02232, allocations: 5.375 kB / 366.2 MB, free: 54.7 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.191e-05/0.02239, allocations: 56.2 kB / 366.3 MB, free: 54.67 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.02271, allocations: 47.17 kB / 366.3 MB, free: 54.66 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.02373, allocations: 0.5833 MB / 366.9 MB, free: 54.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.171e-05/0.02378, allocations: 84.03 kB / 367 MB, free: 54.18 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.691e-05/0.02386, allocations: 24.77 kB / 367 MB, free: 54.17 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.02398, allocations: 103.5 kB / 367.1 MB, free: 54.11 MB / 330.7 MB Notification: Performance of SimCode: time 6.72e-07/0.02398, allocations: 1.156 kB / 367.1 MB, free: 54.11 MB / 330.7 MB Notification: Performance of Templates: time 0.01766/0.04164, allocations: 2.678 MB / 369.8 MB, free: 53.33 MB / 330.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.938102780841291]