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.001714/0.001714, allocations: 110.6 kB / 17.17 MB, free: 5.879 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.002166/0.002166, allocations: 208 kB / 20.14 MB, free: 2.918 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.504/1.504, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.03978/0.03978, allocations: 6.129 MB / 315.7 MB, free: 1.164 MB / 238.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.BreakersWithLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_BreakersWithLines",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 49.69 kB / 439.2 MB, free: 40.72 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08068/0.08215, allocations: 54.98 MB / 494.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.BreakersWithLines): time 0.003134/0.08529, allocations: 2.934 MB / 497.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.08649, allocations: 0.8563 MB / 498 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.0866, allocations: 8 kB / 498 MB, free: 6.652 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003347/0.08694, allocations: 151.1 kB / 498.2 MB, free: 6.504 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002833/0.08722, allocations: 147.1 kB / 498.3 MB, free: 6.359 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009315/0.08815, allocations: 0.6612 MB / 499 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000268/0.08842, allocations: 314.5 kB / 499.3 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.08858, allocations: 112 kB / 499.4 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.145e-05/0.08866, allocations: 143.4 kB / 499.5 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.08885, allocations: 187.3 kB / 499.7 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.342e-05/0.08888, allocations: 28 kB / 499.7 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002608/0.08914, allocations: 191.8 kB / 499.9 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.113e-05/0.08918, allocations: 75.69 kB / 0.4883 GB, free: 4.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.408e-05/0.08928, allocations: 159.2 kB / 0.4884 GB, free: 4.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004058/0.08968, allocations: 470.2 kB / 0.4889 GB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.08969, allocations: 3.938 kB / 0.4889 GB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.08969, allocations: 4 kB / 0.4889 GB, free: 4.031 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.0897, allocations: 0 / 0.4889 GB, free: 4.031 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.002299/0.09199, allocations: 0.904 MB / 0.4898 GB, free: 3.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.09203, allocations: 12.03 kB / 0.4898 GB, free: 3.066 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.215e-05/0.09209, allocations: 66.72 kB / 0.4899 GB, free: 2.992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.774e-05/0.09216, allocations: 48.7 kB / 0.4899 GB, free: 2.945 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.09236, allocations: 276.5 kB / 0.4902 GB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.934e-05/0.09242, allocations: 84.62 kB / 0.4902 GB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.136e-05/0.09246, allocations: 28.38 kB / 0.4903 GB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005079/0.09297, allocations: 410.1 kB / 0.4907 GB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.09298, allocations: 3.938 kB / 0.4907 GB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.02e-05/0.09301, allocations: 12 kB / 0.4907 GB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.09302, allocations: 8 kB / 0.4907 GB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004668/0.09348, allocations: 390.5 kB / 0.4911 GB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.09494, allocations: 1.155 MB / 0.4922 GB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008771/0.09582, allocations: 482.7 kB / 0.4926 GB, free: 16 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003458/0.09617, allocations: 196.8 kB / 0.4928 GB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.93e-05/0.09623, allocations: 11.98 kB / 0.4928 GB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.09626, allocations: 38.56 kB / 0.4929 GB, free: 15.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=44): time 1.663e-06/0.09626, allocations: 4 kB / 0.4929 GB, free: 15.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002937/0.0992, allocations: 1.087 MB / 0.4939 GB, free: 14.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.09925, allocations: 55.41 kB / 0.494 GB, free: 14.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.09948, allocations: 206.2 kB / 0.4942 GB, free: 14.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.09952, allocations: 33.7 kB / 0.4942 GB, free: 14.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.09963, allocations: 160.9 kB / 0.4944 GB, free: 14.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.09976, allocations: 154.6 kB / 0.4945 GB, free: 13.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.09993, allocations: 102.2 kB / 0.4946 GB, free: 13.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1001, allocations: 346.7 kB / 0.495 GB, free: 13.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003715/0.1005, allocations: 213 kB / 0.4952 GB, free: 13.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004227/0.1009, allocations: 278.3 kB / 0.4954 GB, free: 13.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007865/0.1017, allocations: 0.4911 MB / 0.4959 GB, free: 12.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1017, allocations: 0 / 0.4959 GB, free: 12.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001826/0.1035, allocations: 0.7737 MB / 0.4967 GB, free: 11.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.1035, allocations: 4 kB / 0.4967 GB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.1035, allocations: 8 kB / 0.4967 GB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001365/0.1049, allocations: 309.4 kB / 0.497 GB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003577/0.1052, allocations: 83.83 kB / 0.497 GB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005162/0.1104, allocations: 3.927 MB / 0.5009 GB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000289/0.1107, allocations: 43.67 kB / 0.5009 GB, free: 7.098 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.162e-05/0.1107, allocations: 20.03 kB / 0.5009 GB, free: 7.078 MB / 366.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.0001907/0.1109, allocations: 150.3 kB / 0.5011 GB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.888e-05/0.111, allocations: 27.86 kB / 0.5011 GB, free: 6.895 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001862/0.1129, allocations: 0.7352 MB / 0.5018 GB, free: 6.148 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.1129, allocations: 11.98 kB / 0.5018 GB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1129, allocations: 4 kB / 0.5018 GB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1129, allocations: 0 / 0.5018 GB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006278/0.1135, allocations: 0.5092 MB / 0.5023 GB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1135, allocations: 0 / 0.5023 GB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002409/0.1137, allocations: 59.91 kB / 0.5024 GB, free: 5.516 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001309/0.1151, allocations: 305.4 kB / 0.5027 GB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/0.1151, allocations: 8 kB / 0.5027 GB, free: 5.203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005395/0.1205, allocations: 3.913 MB / 0.5065 GB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.1205, allocations: 0 / 0.5065 GB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.1222, allocations: 0.7632 MB / 0.5073 GB, free: 236 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.259e-05/0.1223, allocations: 112.8 kB / 0.5074 GB, free: 104 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.167e-05/0.1223, allocations: 16 kB / 0.5074 GB, free: 88 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.1225, allocations: 4 kB / 0.5074 GB, free: 84 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.1227, allocations: 40.39 kB / 0.5074 GB, free: 44 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/0.1227, allocations: 12 kB / 0.5074 GB, free: 32 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001815/0.1229, allocations: 152.2 kB / 0.5076 GB, free: 15.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1229, allocations: 4 kB / 0.5076 GB, free: 15.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005971/0.1235, allocations: 127.9 kB / 0.5077 GB, free: 15.75 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.002165/0.1256, allocations: 1.334 MB / 0.509 GB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00195/0.1276, allocations: 0.8309 MB / 0.5098 GB, free: 13.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1276, allocations: 7.938 kB / 0.5098 GB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001242/0.1288, allocations: 0.5741 MB / 0.5104 GB, free: 12.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.1291, allocations: 20 kB / 0.5104 GB, free: 12.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006699/0.1358, allocations: 3.816 MB / 0.5141 GB, free: 8.961 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.1363, allocations: 0.7764 MB / 0.5149 GB, free: 8.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000148/0.1364, allocations: 46.92 kB / 0.5149 GB, free: 8.117 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.1366, allocations: 95.41 kB / 0.515 GB, free: 8.027 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1366, allocations: 0 / 0.515 GB, free: 8.027 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05646/0.193, allocations: 8.849 MB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.79, allocations: 10.31 kB / 0.5237 GB, free: 15.28 MB / 398.1 MB " [Timeout remaining time 649] (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 sys.exit(0), Time elapsed: 13.442746962187812] Failed to read output from testmodel.py, exit status != 0: 10.877813138999045 10.904728366 10.810286648 Calling exit ...