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.00131/0.00131, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.001444/0.001444, allocations: 196.5 kB / 23.72 MB, free: 4.5 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.377/1.377, allocations: 207.7 MB / 234.6 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] 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.2973/0.2973, allocations: 49.61 MB / 336.4 MB, free: 3.871 MB / 270.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003932/0.003932, allocations: 67.91 kB / 476.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1354, allocations: 62.43 MB / 0.5266 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.003535/0.139, allocations: 2.165 MB / 0.5287 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.1401, allocations: 0.6243 MB / 0.5293 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.1402, allocations: 7.938 kB / 0.5294 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.1404, allocations: 27.66 kB / 0.5294 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.1406, allocations: 87.27 kB / 0.5295 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001613/0.1408, allocations: 59.92 kB / 0.5295 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003346/0.1411, allocations: 274.8 kB / 0.5298 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.1413, allocations: 52.81 kB / 0.5298 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.1414, allocations: 111.5 kB / 0.5299 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.1416, allocations: 107.4 kB / 0.53 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.01e-05/0.1416, allocations: 16 kB / 0.5301 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.018e-05/0.1417, allocations: 24 kB / 0.5301 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.721e-05/0.1418, allocations: 43.78 kB / 0.5301 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.1419, allocations: 95.47 kB / 0.5302 GB, free: 9.934 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.1422, allocations: 226.9 kB / 0.5304 GB, free: 9.711 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1422, allocations: 7.938 kB / 0.5304 GB, free: 9.703 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1422, allocations: 4 kB / 0.5304 GB, free: 9.699 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1422, allocations: 0 / 0.5304 GB, free: 9.699 MB / 414.1 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.0008875/0.1431, allocations: 492.8 kB / 0.5309 GB, free: 9.188 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.1431, allocations: 8.031 kB / 0.5309 GB, free: 9.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.68e-05/0.1432, allocations: 32.75 kB / 0.531 GB, free: 9.148 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.1436, allocations: 213.1 kB / 0.5312 GB, free: 8.918 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.1436, allocations: 12.38 kB / 0.5312 GB, free: 8.906 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.573e-05/0.1436, allocations: 20.38 kB / 0.5312 GB, free: 8.887 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003448/0.144, allocations: 175.3 kB / 0.5314 GB, free: 8.703 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.144, allocations: 0 / 0.5314 GB, free: 8.703 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.144, allocations: 12 kB / 0.5314 GB, free: 8.691 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.144, allocations: 4 kB / 0.5314 GB, free: 8.688 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002802/0.1443, allocations: 115.9 kB / 0.5315 GB, free: 8.574 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009156/0.1452, allocations: 0.5233 MB / 0.532 GB, free: 8.016 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.1455, allocations: 122.5 kB / 0.5321 GB, free: 7.887 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.1456, allocations: 76.86 kB / 0.5322 GB, free: 7.809 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.1457, allocations: 7.938 kB / 0.5322 GB, free: 7.801 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.1457, allocations: 34.56 kB / 0.5322 GB, free: 7.758 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.363e-06/0.1457, allocations: 4 kB / 0.5322 GB, free: 7.754 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.001081/0.1468, allocations: 488.8 kB / 0.5327 GB, free: 7.242 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.1468, allocations: 51.41 kB / 0.5327 GB, free: 7.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.1471, allocations: 237 kB / 0.533 GB, free: 6.934 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.1471, allocations: 25.7 kB / 0.533 GB, free: 6.902 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.1472, allocations: 148.6 kB / 0.5331 GB, free: 6.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.885e-05/0.1473, allocations: 71.38 kB / 0.5332 GB, free: 6.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.901e-05/0.1473, allocations: 45.7 kB / 0.5332 GB, free: 6.629 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1475, allocations: 334.8 kB / 0.5336 GB, free: 6.293 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.1476, allocations: 43.98 kB / 0.5336 GB, free: 6.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.1478, allocations: 77.67 kB / 0.5337 GB, free: 6.168 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/0.148, allocations: 141.7 kB / 0.5338 GB, free: 6.023 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.148, allocations: 3.938 kB / 0.5338 GB, free: 6.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003672/0.1484, allocations: 193.4 kB / 0.534 GB, free: 5.824 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.1484, allocations: 4 kB / 0.534 GB, free: 5.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1484, allocations: 0 / 0.534 GB, free: 5.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.1484, allocations: 11.92 kB / 0.534 GB, free: 5.809 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000378/0.1488, allocations: 67.95 kB / 0.5341 GB, free: 5.742 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.15, allocations: 1.315 MB / 0.5354 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.1501, allocations: 8.031 kB / 0.5354 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.1501, allocations: 4 kB / 0.5354 GB, free: 4.312 MB / 414.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: 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 0.0001308/0.1503, allocations: 133.8 kB / 0.5355 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.75e-05/0.1503, allocations: 23.81 kB / 0.5355 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003726/0.1507, allocations: 191.6 kB / 0.5357 GB, free: 3.953 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.1507, allocations: 4.125 kB / 0.5357 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.1507, allocations: 7.938 kB / 0.5357 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.1507, allocations: 3.938 kB / 0.5357 GB, free: 3.938 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007058/0.1514, allocations: 450 kB / 0.5362 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.1514, allocations: 0 / 0.5362 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/0.1516, allocations: 39.97 kB / 0.5362 GB, free: 3.422 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.1516, allocations: 4 kB / 0.5362 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.1517, allocations: 7.938 kB / 0.5362 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1517, allocations: 0 / 0.5362 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1517, allocations: 4 kB / 0.5362 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005271/0.1522, allocations: 347 kB / 0.5365 GB, free: 3.051 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.126e-05/0.1523, allocations: 31.89 kB / 0.5366 GB, free: 3.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.1523, allocations: 11.94 kB / 0.5366 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.1525, allocations: 11.98 kB / 0.5366 GB, free: 2.996 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.674e-05/0.1525, allocations: 11.97 kB / 0.5366 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.1525, allocations: 4 kB / 0.5366 GB, free: 2.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001794/0.1527, allocations: 172.5 kB / 0.5368 GB, free: 2.812 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1527, allocations: 4 kB / 0.5368 GB, free: 2.809 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002915/0.153, allocations: 40 kB / 0.5368 GB, free: 2.77 MB / 414.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: 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 0.000101/0.1531, allocations: 95.25 kB / 0.5369 GB, free: 2.668 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005217/0.1536, allocations: 159.7 kB / 0.5371 GB, free: 2.512 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.1536, allocations: 4.062 kB / 0.5371 GB, free: 2.508 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.1538, allocations: 72.36 kB / 0.5371 GB, free: 2.438 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.1542, allocations: 53.83 kB / 0.5372 GB, free: 2.387 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.1554, allocations: 0.6603 MB / 0.5378 GB, free: 1.699 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.1556, allocations: 143.1 kB / 0.538 GB, free: 1.539 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.761e-05/0.1557, allocations: 25.62 kB / 0.538 GB, free: 1.516 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.473e-05/0.1557, allocations: 23.44 kB / 0.538 GB, free: 1.492 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1557, allocations: 0 / 0.538 GB, free: 1.492 MB / 414.1 MB Notification: Performance of Templates: time 0.1887/0.3444, allocations: 2.673 MB / 0.5406 GB, free: 22.48 MB / 414.1 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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.726956497877836] Failed to read output from testmodel.py, exit status != 0: 0.35416832007467747 0.363398365 0.21865657100000002 Calling exit ...