Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.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.0007615/0.0007615, allocations: 84.44 kB / 20.73 MB, free: 3.836 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.0007646/0.0007646, allocations: 170.3 kB / 24.01 MB, free: 0.5547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8458/0.8458, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.0234/0.0234, allocations: 4.463 MB / 265.2 MB, free: 8.766 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(PowerSysPro.Examples.BreakerTests.DistrictWithBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers") translateModel(PowerSysPro.Examples.BreakerTests.DistrictWithBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 390.9 MB, free: 6.863 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.143e-05, allocations: 2.281 kB / 390.9 MB, free: 6.859 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithBreakers): time 0.004021/0.004042, allocations: 5.555 MB / 396.4 MB, free: 1.277 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.005808, allocations: 1.424 MB / 397.9 MB, free: 15.85 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002331/0.006041, allocations: 16 kB / 397.9 MB, free: 15.83 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000422/0.006463, allocations: 301.8 kB / 398.2 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006424/0.007105, allocations: 0.539 MB / 398.7 MB, free: 14.99 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.008393, allocations: 1.323 MB / 400 MB, free: 13.67 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007597/0.009152, allocations: 1.17 MB / 401.2 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002929/0.009445, allocations: 265.3 kB / 401.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004954/0.009941, allocations: 0.6781 MB / 402.1 MB, free: 11.55 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003925/0.01033, allocations: 486.6 kB / 402.6 MB, free: 11.07 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.27e-05/0.01042, allocations: 92 kB / 402.7 MB, free: 10.98 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000362/0.01078, allocations: 331.6 kB / 403 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.0109, allocations: 243 kB / 403.3 MB, free: 10.42 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002167/0.01111, allocations: 379 kB / 403.6 MB, free: 10.05 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009044/0.01202, allocations: 1.343 MB / 405 MB, free: 8.699 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.01202, allocations: 4 kB / 405 MB, free: 8.695 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.01202, allocations: 0 / 405 MB, free: 8.695 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.01203, allocations: 0 / 405 MB, free: 8.695 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.005349/0.01738, allocations: 2.883 MB / 407.9 MB, free: 5.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.01741, allocations: 12.03 kB / 407.9 MB, free: 5.758 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.01758, allocations: 128.2 kB / 408 MB, free: 5.633 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006001/0.01818, allocations: 0.5518 MB / 408.6 MB, free: 5.055 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.847e-05/0.01826, allocations: 130.3 kB / 408.7 MB, free: 4.918 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-05/0.01836, allocations: 96.38 kB / 408.8 MB, free: 4.824 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.01994, allocations: 1.717 MB / 410.5 MB, free: 2.988 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.01995, allocations: 192 / 410.5 MB, free: 2.988 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.777e-05/0.02002, allocations: 36.12 kB / 410.5 MB, free: 2.953 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.02003, allocations: 20 kB / 410.6 MB, free: 2.934 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.02121, allocations: 1.25 MB / 411.8 MB, free: 1.684 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1629/0.1841, allocations: 2.855 MB / 414.7 MB, free: 32.39 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.1858, allocations: 1.627 MB / 416.3 MB, free: 31.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008802/0.1867, allocations: 0.8287 MB / 417.1 MB, free: 31.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.1868, allocations: 28.48 kB / 417.1 MB, free: 31.28 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.1869, allocations: 52.47 kB / 417.2 MB, free: 31.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=148): time 3.026e-06/0.1869, allocations: 0 / 417.2 MB, free: 31.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=148): time 0.01672/0.2036, allocations: 7.524 MB / 424.7 MB, free: 29.55 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.2036, allocations: 148.6 kB / 424.9 MB, free: 29.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004714/0.2041, allocations: 0.5405 MB / 425.4 MB, free: 29.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.238e-05/0.2042, allocations: 58.45 kB / 425.5 MB, free: 29.03 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.2043, allocations: 300.7 kB / 425.8 MB, free: 28.81 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/0.2045, allocations: 0.5091 MB / 426.3 MB, free: 28.43 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002955/0.2048, allocations: 272.6 kB / 426.5 MB, free: 28.27 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.843e-05/0.2049, allocations: 338.2 kB / 426.9 MB, free: 27.95 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008404/0.2057, allocations: 0.8481 MB / 427.7 MB, free: 27.49 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009159/0.2066, allocations: 1.052 MB / 428.8 MB, free: 26.85 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/0.2084, allocations: 1.899 MB / 430.7 MB, free: 25.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.2084, allocations: 0 / 430.7 MB, free: 25.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004806/0.2132, allocations: 3.59 MB / 434.2 MB, free: 23.81 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.2133, allocations: 10.59 kB / 434.3 MB, free: 23.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2133, allocations: 0 / 434.3 MB, free: 23.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004364/0.2176, allocations: 2.289 MB / 436.5 MB, free: 22.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003814/0.218, allocations: 215.7 kB / 436.8 MB, free: 22.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009979/0.228, allocations: 10.35 MB / 447.1 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005125/0.2285, allocations: 148.5 kB / 447.3 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-05/0.2286, allocations: 51.98 kB / 447.3 MB, free: 12.01 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,48)} Notification: Performance of prepare postOptimizeDAE: time 0.0003007/0.2289, allocations: 245.7 kB / 447.5 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.229, allocations: 107.3 kB / 447.6 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004456/0.2334, allocations: 3.562 MB / 451.2 MB, free: 8.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.2334, allocations: 16 kB / 451.2 MB, free: 8.074 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.2334, allocations: 4 kB / 451.2 MB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.2335, allocations: 7.969 kB / 451.2 MB, free: 8.062 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005817/0.2393, allocations: 4.63 MB / 455.9 MB, free: 3.418 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.2393, allocations: 0 / 455.9 MB, free: 3.418 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.2395, allocations: 171.7 kB / 456 MB, free: 3.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004142/0.2437, allocations: 2.212 MB / 458.2 MB, free: 1.031 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.701e-05/0.2437, allocations: 31.98 kB / 458.3 MB, free: 1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01151/0.2553, allocations: 10.23 MB / 468.5 MB, free: 6.676 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2553, allocations: 0 / 468.5 MB, free: 6.676 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005286/0.2605, allocations: 3.495 MB / 472 MB, free: 3.16 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.2607, allocations: 123 kB / 472.1 MB, free: 3.039 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.704e-05/0.2608, allocations: 24 kB / 472.1 MB, free: 3.016 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003978/0.2612, allocations: 73.81 kB / 472.2 MB, free: 2.945 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001972/0.2614, allocations: 134.4 kB / 472.3 MB, free: 2.812 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.914e-05/0.2614, allocations: 51.98 kB / 472.4 MB, free: 2.762 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002972/0.2617, allocations: 366.8 kB / 472.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2617, allocations: 0 / 472.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001036/0.2628, allocations: 0.5114 MB / 473.3 MB, free: 1.895 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,48)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002477/0.263, allocations: 143.1 kB / 473.4 MB, free: 1.742 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003418/0.2664, allocations: 2.742 MB / 476.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2664, allocations: 0 / 476.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002474/0.2689, allocations: 1.742 MB / 477.9 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.2694, allocations: 118.2 kB / 478 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002526/0.2719, allocations: 2.216 MB / 480.2 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.2722, allocations: 457.9 kB / 480.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.2724, allocations: 100.5 kB / 480.8 MB, free: 10.32 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.2724, allocations: 4 kB / 480.8 MB, free: 10.31 MB / 362.7 MB Notification: Performance of Templates: time 0.01959/0.292, allocations: 21.14 MB / 0.4901 GB, free: 5.18 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.sim & ./PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithBreakers.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.070059045217931] Failed to read output from testmodel.py, exit status != 0: 0.2974107703194022 0.31012047800000003 0.29589262 Calling exit ...