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.001425/0.001425, allocations: 112.2 kB / 21.19 MB, free: 0.7695 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.001567/0.001567, allocations: 210 kB / 24.5 MB, free: 4.156 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.42/1.42, allocations: 207.6 MB / 235.3 MB, free: 10.88 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.3091/0.3091, allocations: 49.58 MB / 337.1 MB, free: 4.223 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.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: 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.002214/0.002214, allocations: 71.89 kB / 477.6 MB, free: 12.47 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1213, allocations: 62.43 MB / 0.5273 GB, free: 13.85 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.004112/0.1254, allocations: 2.313 MB / 0.5296 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.1268, allocations: 0.6515 MB / 0.5302 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001899/0.127, allocations: 7.938 kB / 0.5302 GB, free: 10.85 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000162/0.1272, allocations: 35.66 kB / 0.5303 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003135/0.1275, allocations: 91.27 kB / 0.5304 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.1277, allocations: 55.92 kB / 0.5304 GB, free: 10.67 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004191/0.1281, allocations: 290.7 kB / 0.5307 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.1283, allocations: 61.39 kB / 0.5308 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.1285, allocations: 111.6 kB / 0.5309 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002261/0.1287, allocations: 119.4 kB / 0.531 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.891e-05/0.1288, allocations: 16 kB / 0.531 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.088e-05/0.1289, allocations: 27.94 kB / 0.531 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.396e-05/0.1289, allocations: 51.83 kB / 0.5311 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.129, allocations: 119.3 kB / 0.5312 GB, free: 9.891 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003511/0.1294, allocations: 234.9 kB / 0.5314 GB, free: 9.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1294, allocations: 0 / 0.5314 GB, free: 9.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1294, allocations: 0 / 0.5314 GB, free: 9.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.1294, allocations: 0 / 0.5314 GB, free: 9.66 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.00102/0.1304, allocations: 0.5007 MB / 0.5319 GB, free: 9.129 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.1305, allocations: 11.97 kB / 0.5319 GB, free: 9.117 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.1306, allocations: 28.8 kB / 0.5319 GB, free: 9.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004168/0.131, allocations: 209 kB / 0.5321 GB, free: 8.859 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.476e-05/0.1311, allocations: 67.95 kB / 0.5322 GB, free: 8.781 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.959e-05/0.1311, allocations: 20.38 kB / 0.5322 GB, free: 8.762 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003833/0.1315, allocations: 183 kB / 0.5324 GB, free: 8.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.1316, allocations: 3.984 kB / 0.5324 GB, free: 8.566 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.1316, allocations: 8 kB / 0.5324 GB, free: 8.559 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1316, allocations: 7.938 kB / 0.5324 GB, free: 8.551 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000319/0.1319, allocations: 115.9 kB / 0.5325 GB, free: 8.438 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.133, allocations: 0.6126 MB / 0.5331 GB, free: 7.777 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003931/0.1334, allocations: 142.6 kB / 0.5333 GB, free: 7.629 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.1336, allocations: 76.83 kB / 0.5333 GB, free: 7.551 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.1336, allocations: 0 / 0.5333 GB, free: 7.551 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.1336, allocations: 42.55 kB / 0.5334 GB, free: 7.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.022e-06/0.1336, allocations: 0 / 0.5334 GB, free: 7.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001249/0.1349, allocations: 0.5166 MB / 0.5339 GB, free: 6.949 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.135, allocations: 51.41 kB / 0.5339 GB, free: 6.887 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/0.1352, allocations: 237.1 kB / 0.5341 GB, free: 6.645 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.1353, allocations: 25.7 kB / 0.5342 GB, free: 6.613 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.1354, allocations: 152.5 kB / 0.5343 GB, free: 6.457 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.439e-05/0.1354, allocations: 75.38 kB / 0.5344 GB, free: 6.383 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.126e-05/0.1355, allocations: 41.59 kB / 0.5344 GB, free: 6.336 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.1357, allocations: 342.8 kB / 0.5348 GB, free: 5.992 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.1358, allocations: 55.97 kB / 0.5348 GB, free: 5.938 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.136, allocations: 81.67 kB / 0.5349 GB, free: 5.852 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.1363, allocations: 137.5 kB / 0.535 GB, free: 5.711 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-06/0.1363, allocations: 3.938 kB / 0.535 GB, free: 5.707 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004058/0.1367, allocations: 209.4 kB / 0.5352 GB, free: 5.496 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.1367, allocations: 7.938 kB / 0.5352 GB, free: 5.488 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1367, allocations: 0 / 0.5352 GB, free: 5.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.1368, allocations: 4 kB / 0.5352 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000424/0.1372, allocations: 75.89 kB / 0.5353 GB, free: 5.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1372, allocations: 0 / 0.5353 GB, free: 5.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.1373, allocations: 16.02 kB / 0.5353 GB, free: 5.395 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.1373, allocations: 8 kB / 0.5353 GB, free: 5.387 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: 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.0001437/0.1375, allocations: 133.7 kB / 0.5355 GB, free: 5.246 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.825e-05/0.1375, allocations: 27.86 kB / 0.5355 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.537e-05/0.1376, allocations: 26.11 kB / 0.5355 GB, free: 5.191 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1376, allocations: 0 / 0.5355 GB, free: 5.191 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.1376, allocations: 4 kB / 0.5355 GB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1376, allocations: 0 / 0.5355 GB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008438/0.1385, allocations: 0.513 MB / 0.536 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1385, allocations: 0 / 0.536 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/0.1389, allocations: 71.88 kB / 0.5361 GB, free: 4.555 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.1389, allocations: 0 / 0.5361 GB, free: 4.555 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.1389, allocations: 4 kB / 0.5361 GB, free: 4.551 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1389, allocations: 0 / 0.5361 GB, free: 4.551 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1389, allocations: 3.938 kB / 0.5361 GB, free: 4.547 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005959/0.1395, allocations: 355.2 kB / 0.5364 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.317e-05/0.1396, allocations: 35.88 kB / 0.5365 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.1396, allocations: 4 kB / 0.5365 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.1398, allocations: 8 kB / 0.5365 GB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/0.1398, allocations: 15.91 kB / 0.5365 GB, free: 4.121 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.1398, allocations: 16 kB / 0.5365 GB, free: 4.105 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001753/0.14, allocations: 168.5 kB / 0.5367 GB, free: 3.941 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.14, allocations: 0 / 0.5367 GB, free: 3.941 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002943/0.1403, allocations: 48 kB / 0.5367 GB, free: 3.895 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: 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.0001166/0.1404, allocations: 91.25 kB / 0.5368 GB, free: 3.797 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003675/0.1408, allocations: 139.8 kB / 0.5369 GB, free: 3.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1408, allocations: 4.062 kB / 0.5369 GB, free: 3.656 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.141, allocations: 76.38 kB / 0.537 GB, free: 3.582 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.1414, allocations: 52.58 kB / 0.5371 GB, free: 3.531 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.1428, allocations: 0.6892 MB / 0.5377 GB, free: 2.812 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.1432, allocations: 0.7478 MB / 0.5385 GB, free: 2.039 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.713e-05/0.1432, allocations: 27.44 kB / 0.5385 GB, free: 2.012 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1432, allocations: 0 / 0.5385 GB, free: 2.012 MB / 414.1 MB Notification: Performance of Templates: time 0.1978/0.3411, allocations: 2.599 MB / 0.541 GB, free: 22.75 MB / 414.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: 7.350355640053749] Failed to read output from testmodel.py, exit status != 0: 0.34980930015444756 0.361386261 0.22940234699999995 Calling exit ...