Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.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.001652/0.001652, allocations: 105 kB / 20.53 MB, free: 1.43 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.002041/0.002041, allocations: 209.5 kB / 23.83 MB, free: 4.641 MB / 14.72 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 1.556/1.556, allocations: 230.6 MB / 257.6 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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.03895/0.03895, allocations: 6.133 MB / 320.2 MB, free: 12.95 MB / 254.1 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: "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.BreakersWithLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_BreakersWithLines",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.BreakersWithLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_BreakersWithLines",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 39.94 kB / 445.3 MB, free: 5.375 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1131, allocations: 55.03 MB / 0.4886 GB, free: 14.24 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.BreakersWithLines): time 0.004331/0.1174, allocations: 2.95 MB / 0.4915 GB, free: 11.28 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.1191, allocations: 0.8563 MB / 0.4923 GB, free: 10.42 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.1192, allocations: 8 kB / 0.4923 GB, free: 10.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004024/0.1196, allocations: 151.1 kB / 0.4925 GB, free: 10.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003501/0.1199, allocations: 143.1 kB / 0.4926 GB, free: 10.12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.1213, allocations: 0.6717 MB / 0.4933 GB, free: 9.453 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005294/0.1218, allocations: 314.5 kB / 0.4936 GB, free: 9.145 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002554/0.122, allocations: 104.5 kB / 0.4937 GB, free: 9.035 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.1222, allocations: 139.4 kB / 0.4938 GB, free: 8.898 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003318/0.1226, allocations: 203.2 kB / 0.494 GB, free: 8.699 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.783e-05/0.1226, allocations: 28 kB / 0.494 GB, free: 8.672 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004053/0.123, allocations: 187.8 kB / 0.4942 GB, free: 8.488 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.698e-05/0.1231, allocations: 71.69 kB / 0.4943 GB, free: 8.418 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.1233, allocations: 159.3 kB / 0.4944 GB, free: 8.262 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006812/0.1239, allocations: 478.2 kB / 0.4949 GB, free: 7.793 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1239, allocations: 0 / 0.4949 GB, free: 7.793 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1239, allocations: 0 / 0.4949 GB, free: 7.793 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.1239, allocations: 0 / 0.4949 GB, free: 7.793 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.002736/0.1267, allocations: 0.8289 MB / 0.4957 GB, free: 6.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.1267, allocations: 8.031 kB / 0.4957 GB, free: 6.922 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.525e-05/0.1268, allocations: 16.84 kB / 0.4957 GB, free: 6.906 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.101e-05/0.1268, allocations: 70.72 kB / 0.4958 GB, free: 6.828 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.448e-05/0.1269, allocations: 40.7 kB / 0.4958 GB, free: 6.789 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.1272, allocations: 210.8 kB / 0.496 GB, free: 6.559 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/0.1274, allocations: 88.61 kB / 0.4961 GB, free: 6.461 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.737e-05/0.1274, allocations: 36.31 kB / 0.4961 GB, free: 6.426 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007067/0.1282, allocations: 413.9 kB / 0.4965 GB, free: 6.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1282, allocations: 4 kB / 0.4965 GB, free: 6.016 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.627e-05/0.1282, allocations: 15.94 kB / 0.4965 GB, free: 6 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.1282, allocations: 4 kB / 0.4965 GB, free: 5.996 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006763/0.1289, allocations: 418.5 kB / 0.4969 GB, free: 5.582 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002059/0.1309, allocations: 1.127 MB / 0.498 GB, free: 4.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.1321, allocations: 486.7 kB / 0.4985 GB, free: 3.922 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003515/0.1324, allocations: 204.8 kB / 0.4987 GB, free: 3.719 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.306e-05/0.1325, allocations: 8 kB / 0.4987 GB, free: 3.711 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.1325, allocations: 38.55 kB / 0.4987 GB, free: 3.664 MB / 366.1 MB Notification: Performance of pre-optimization done (n=44): time 1.844e-06/0.1325, allocations: 0 / 0.4987 GB, free: 3.664 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002909/0.1354, allocations: 0.9444 MB / 0.4997 GB, free: 2.707 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.1355, allocations: 55.41 kB / 0.4997 GB, free: 2.641 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.1357, allocations: 215.1 kB / 0.4999 GB, free: 2.422 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/0.1357, allocations: 29.7 kB / 0.4999 GB, free: 2.387 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.1359, allocations: 168.9 kB / 0.5001 GB, free: 2.219 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.136, allocations: 158.6 kB / 0.5003 GB, free: 2.062 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.1362, allocations: 90.17 kB / 0.5003 GB, free: 1.969 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1363, allocations: 338.8 kB / 0.5007 GB, free: 1.629 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003884/0.1367, allocations: 224.9 kB / 0.5009 GB, free: 1.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004659/0.1372, allocations: 277.7 kB / 0.5012 GB, free: 1.121 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009951/0.1382, allocations: 0.4941 MB / 0.5016 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.1382, allocations: 0 / 0.5016 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001986/0.1402, allocations: 0.7878 MB / 0.5024 GB, free: 15.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.1402, allocations: 8 kB / 0.5024 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.1402, allocations: 3.938 kB / 0.5024 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001478/0.1417, allocations: 301.4 kB / 0.5027 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/0.1421, allocations: 91.83 kB / 0.5028 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005417/0.1475, allocations: 3.714 MB / 0.5064 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003583/0.1478, allocations: 43.69 kB / 0.5065 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-05/0.1479, allocations: 20.03 kB / 0.5065 GB, free: 11.41 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,3,88.9%), (3,3,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002361/0.1481, allocations: 153.8 kB / 0.5066 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.428e-05/0.1482, allocations: 31.8 kB / 0.5067 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001923/0.1501, allocations: 0.7429 MB / 0.5074 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.1501, allocations: 8 kB / 0.5074 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1501, allocations: 0 / 0.5074 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1501, allocations: 0 / 0.5074 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000672/0.1508, allocations: 496.5 kB / 0.5079 GB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1508, allocations: 0 / 0.5079 GB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.1511, allocations: 63.91 kB / 0.5079 GB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001293/0.1524, allocations: 305.4 kB / 0.5082 GB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.351e-05/0.1524, allocations: 12 kB / 0.5082 GB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005158/0.1576, allocations: 3.708 MB / 0.5118 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.1576, allocations: 4 kB / 0.5118 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.1593, allocations: 0.767 MB / 0.5126 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.548e-05/0.1594, allocations: 39.61 kB / 0.5126 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.982e-05/0.1594, allocations: 12 kB / 0.5126 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.1596, allocations: 8 kB / 0.5127 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.1597, allocations: 40.36 kB / 0.5127 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.1598, allocations: 8 kB / 0.5127 GB, free: 4.707 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001673/0.1599, allocations: 160.2 kB / 0.5129 GB, free: 4.551 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1599, allocations: 0 / 0.5129 GB, free: 4.551 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005872/0.1605, allocations: 131.9 kB / 0.513 GB, free: 4.422 MB / 382.1 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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,3,88.9%), (3,3,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002191/0.1627, allocations: 1.331 MB / 0.5143 GB, free: 3.062 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002/0.1647, allocations: 0.8383 MB / 0.5151 GB, free: 2.191 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.1647, allocations: 4 kB / 0.5151 GB, free: 2.188 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.166, allocations: 0.578 MB / 0.5157 GB, free: 1.582 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.1663, allocations: 23.94 kB / 0.5157 GB, free: 1.559 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1929/0.3593, allocations: 3.826 MB / 0.5194 GB, free: 28.17 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.3595, allocations: 0.7771 MB / 0.5202 GB, free: 27.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002104/0.3597, allocations: 47.67 kB / 0.5202 GB, free: 27.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.3599, allocations: 101.7 kB / 0.5203 GB, free: 27.47 MB / 382.1 MB Notification: Performance of SimCode: time 1.253e-06/0.3599, allocations: 0 / 0.5203 GB, free: 27.47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03904/0.3989, allocations: 9.23 MB / 0.5293 GB, free: 26.44 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/12.91, allocations: 6.344 kB / 0.5293 GB, free: 26.44 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_BreakerTests_BreakersWithLines_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_BreakerTests_BreakersWithLines.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.717368779005483] Failed to read output from testmodel.py, exit status != 0: 13.088686245959252 13.114441927 12.986054295 Calling exit ...