Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.001685/0.001685, allocations: 85.44 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001784/0.001784, allocations: 163.6 kB / 23.96 MB, free: 4.164 MB / 14.72 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 1.309/1.309, allocations: 158.6 MB / 185.7 MB, free: 6.406 MB / 174.1 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.2708/0.2708, allocations: 36.35 MB / 274.3 MB, free: 0.6211 MB / 254.1 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.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 414.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.23e-05, allocations: 2.281 kB / 414.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.003306/0.003328, allocations: 2.181 MB / 417 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.004472, allocations: 0.6278 MB / 417.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.00458, allocations: 7.938 kB / 417.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001364/0.004717, allocations: 31.66 kB / 417.7 MB, free: 8.758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002406/0.004957, allocations: 91.2 kB / 417.8 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.005129, allocations: 59.91 kB / 417.8 MB, free: 8.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003523/0.005482, allocations: 302.5 kB / 418.1 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.005634, allocations: 49.59 kB / 418.2 MB, free: 8.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002425/0.005877, allocations: 167.6 kB / 418.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.006046, allocations: 83.7 kB / 418.4 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.502e-05/0.006091, allocations: 20 kB / 418.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.024e-05/0.006161, allocations: 20 kB / 418.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.337e-05/0.006224, allocations: 51.77 kB / 418.5 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.824e-05/0.006322, allocations: 79.77 kB / 418.6 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.00664, allocations: 231.1 kB / 418.8 MB, free: 7.621 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.006644, allocations: 8 kB / 418.8 MB, free: 7.613 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.006645, allocations: 3.938 kB / 418.8 MB, free: 7.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.006649, allocations: 0 / 418.8 MB, free: 7.609 MB / 350.1 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.0009147/0.007564, allocations: 496.8 kB / 419.3 MB, free: 7.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.007598, allocations: 12.03 kB / 419.3 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.007704, allocations: 32.75 kB / 419.3 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/0.00806, allocations: 216.7 kB / 419.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.032e-05/0.00815, allocations: 63.97 kB / 419.6 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.00819, allocations: 20.38 kB / 419.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003669/0.008557, allocations: 171.9 kB / 419.8 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.00857, allocations: 192 / 419.8 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.008592, allocations: 7.938 kB / 419.8 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.008597, allocations: 4 kB / 419.8 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003151/0.008912, allocations: 131.6 kB / 419.9 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009344/0.009847, allocations: 0.5313 MB / 420.5 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003806/0.01023, allocations: 146.4 kB / 420.6 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.01041, allocations: 75.73 kB / 420.7 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.01042, allocations: 8 kB / 420.7 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.01046, allocations: 42.48 kB / 420.7 MB, free: 5.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 3.436e-06/0.01046, allocations: 3.984 kB / 420.7 MB, free: 5.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001153/0.01161, allocations: 0.4969 MB / 421.2 MB, free: 5.008 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.01166, allocations: 55.41 kB / 421.3 MB, free: 4.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.01191, allocations: 249.8 kB / 421.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.01194, allocations: 29.7 kB / 421.6 MB, free: 4.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.01206, allocations: 148.6 kB / 421.7 MB, free: 4.504 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.082e-05/0.01212, allocations: 63.44 kB / 421.8 MB, free: 4.441 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.141e-05/0.01219, allocations: 41.7 kB / 421.8 MB, free: 4.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.01234, allocations: 334.8 kB / 422.1 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.0125, allocations: 55.97 kB / 422.2 MB, free: 4.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.01267, allocations: 89.55 kB / 422.3 MB, free: 3.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.01298, allocations: 145.4 kB / 422.4 MB, free: 3.762 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.01298, allocations: 3.984 kB / 422.4 MB, free: 3.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004103/0.01339, allocations: 209.2 kB / 422.6 MB, free: 3.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.01341, allocations: 4 kB / 422.6 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.01341, allocations: 0 / 422.6 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.01343, allocations: 8 kB / 422.7 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004505/0.01388, allocations: 83.92 kB / 422.7 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.01388, allocations: 3.938 kB / 422.7 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.01402, allocations: 12 kB / 422.7 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.01404, allocations: 4 kB / 422.8 MB, free: 3.434 MB / 350.1 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.0001264/0.01417, allocations: 133.8 kB / 422.9 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.2e-05/0.01422, allocations: 27.8 kB / 422.9 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.152e-05/0.01428, allocations: 26.12 kB / 422.9 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.01428, allocations: 4 kB / 422.9 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.01429, allocations: 7.984 kB / 422.9 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.01429, allocations: 0 / 422.9 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007449/0.01504, allocations: 466.1 kB / 423.4 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01504, allocations: 0 / 423.4 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000402/0.01544, allocations: 67.91 kB / 423.5 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01544, allocations: 0 / 423.5 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.01545, allocations: 0 / 423.5 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01546, allocations: 0 / 423.5 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.01546, allocations: 11.98 kB / 423.5 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006093/0.01607, allocations: 351.2 kB / 423.8 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.891e-05/0.01615, allocations: 35.83 kB / 423.9 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.01618, allocations: 7.938 kB / 423.9 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.01635, allocations: 15.98 kB / 423.9 MB, free: 2.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.282e-05/0.01641, allocations: 15.91 kB / 423.9 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.01642, allocations: 8 kB / 423.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001718/0.01659, allocations: 173.2 kB / 424.1 MB, free: 2.051 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01659, allocations: 0 / 424.1 MB, free: 2.051 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002847/0.01688, allocations: 48 kB / 424.1 MB, free: 2.004 MB / 350.1 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.000105/0.01698, allocations: 87.25 kB / 424.2 MB, free: 1.906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003663/0.01735, allocations: 135.9 kB / 424.3 MB, free: 1.773 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01735, allocations: 0 / 424.3 MB, free: 1.773 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.01752, allocations: 75.89 kB / 424.4 MB, free: 1.699 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.0179, allocations: 40.48 kB / 424.5 MB, free: 1.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.01893, allocations: 0.553 MB / 425 MB, free: 1.082 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.01907, allocations: 146.1 kB / 425.1 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.022e-05/0.01915, allocations: 17.95 kB / 425.2 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.414e-05/0.01921, allocations: 20.5 kB / 425.2 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.01921, allocations: 7.875 kB / 425.2 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of Templates: time 0.005702/0.02491, allocations: 2.033 MB / 427.2 MB, free: 14.85 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.373352728784084] Failed to read output from testmodel.py, exit status != 0: 0.03290264308452606 0.046976811 0.037371566 Calling exit ...