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.001348/0.001348, allocations: 93.91 kB / 20.52 MB, free: 1.328 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: 216.4 kB / 23.82 MB, free: 4.48 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.473/1.473, allocations: 230.6 MB / 257.6 MB, free: 7.812 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.03859/0.03859, allocations: 6.141 MB / 320.1 MB, free: 12.76 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.001995/0.001995, allocations: 51.91 kB / 445.2 MB, free: 5.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1035, allocations: 55.02 MB / 0.4885 GB, free: 13.98 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.BreakersWithLines): time 0.004538/0.108, allocations: 2.729 MB / 0.4912 GB, free: 11.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001815/0.1099, allocations: 0.7938 MB / 0.492 GB, free: 10.45 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.11, allocations: 8 kB / 0.492 GB, free: 10.44 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004156/0.1104, allocations: 139.2 kB / 0.4921 GB, free: 10.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003648/0.1108, allocations: 147 kB / 0.4922 GB, free: 10.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.1121, allocations: 0.6147 MB / 0.4928 GB, free: 9.543 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004952/0.1126, allocations: 306.6 kB / 0.4931 GB, free: 9.242 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002527/0.1128, allocations: 108.5 kB / 0.4932 GB, free: 9.129 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.113, allocations: 131.5 kB / 0.4934 GB, free: 9 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003282/0.1133, allocations: 207.2 kB / 0.4936 GB, free: 8.797 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.21e-05/0.1134, allocations: 28 kB / 0.4936 GB, free: 8.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004203/0.1138, allocations: 187.9 kB / 0.4938 GB, free: 8.586 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.267e-05/0.1139, allocations: 67.69 kB / 0.4938 GB, free: 8.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.114, allocations: 131.3 kB / 0.4939 GB, free: 8.391 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006185/0.1146, allocations: 474.3 kB / 0.4944 GB, free: 7.926 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1146, allocations: 4 kB / 0.4944 GB, free: 7.922 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1146, allocations: 0 / 0.4944 GB, free: 7.922 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1146, allocations: 0 / 0.4944 GB, free: 7.922 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.002629/0.1173, allocations: 0.825 MB / 0.4952 GB, free: 7.062 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.1173, allocations: 11.97 kB / 0.4952 GB, free: 7.051 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.465e-05/0.1173, allocations: 12.84 kB / 0.4952 GB, free: 7.039 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.31e-05/0.1174, allocations: 74.66 kB / 0.4953 GB, free: 6.957 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.575e-05/0.1175, allocations: 36.7 kB / 0.4953 GB, free: 6.922 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.1178, allocations: 210.8 kB / 0.4955 GB, free: 6.691 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.1179, allocations: 92.56 kB / 0.4956 GB, free: 6.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.896e-05/0.118, allocations: 32.38 kB / 0.4957 GB, free: 6.559 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007256/0.1187, allocations: 417.9 kB / 0.4961 GB, free: 6.148 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1187, allocations: 0 / 0.4961 GB, free: 6.148 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.873e-05/0.1188, allocations: 12 kB / 0.4961 GB, free: 6.137 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1188, allocations: 4 kB / 0.4961 GB, free: 6.133 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006586/0.1194, allocations: 414.5 kB / 0.4965 GB, free: 5.723 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001941/0.1214, allocations: 1.025 MB / 0.4975 GB, free: 4.652 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.1224, allocations: 478.7 kB / 0.4979 GB, free: 4.172 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003383/0.1228, allocations: 208.8 kB / 0.4981 GB, free: 3.965 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.33e-05/0.1228, allocations: 8 kB / 0.4981 GB, free: 3.957 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.1229, allocations: 38.55 kB / 0.4982 GB, free: 3.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=44): time 2.074e-06/0.1229, allocations: 0 / 0.4982 GB, free: 3.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002828/0.1257, allocations: 0.9483 MB / 0.4991 GB, free: 2.949 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.1258, allocations: 59.34 kB / 0.4992 GB, free: 2.879 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.126, allocations: 211.1 kB / 0.4994 GB, free: 2.664 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.931e-05/0.126, allocations: 33.7 kB / 0.4994 GB, free: 2.625 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.1261, allocations: 160.9 kB / 0.4995 GB, free: 2.465 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.1263, allocations: 162.6 kB / 0.4997 GB, free: 2.305 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.1264, allocations: 94.17 kB / 0.4998 GB, free: 2.207 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1266, allocations: 334.8 kB / 0.5001 GB, free: 1.871 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000381/0.127, allocations: 224.9 kB / 0.5003 GB, free: 1.652 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004297/0.1274, allocations: 277.7 kB / 0.5006 GB, free: 1.363 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008122/0.1282, allocations: 0.4941 MB / 0.5011 GB, free: 0.8555 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.207e-06/0.1282, allocations: 0 / 0.5011 GB, free: 0.8555 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001785/0.13, allocations: 0.7839 MB / 0.5018 GB, free: 64 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.13, allocations: 4 kB / 0.5018 GB, free: 60 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.13, allocations: 11.88 kB / 0.5018 GB, free: 48 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.1314, allocations: 305.4 kB / 0.5021 GB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003613/0.1318, allocations: 79.89 kB / 0.5022 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005001/0.1368, allocations: 3.674 MB / 0.5058 GB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.1371, allocations: 43.69 kB / 0.5058 GB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.513e-05/0.1371, allocations: 20.03 kB / 0.5059 GB, free: 11.7 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.0002037/0.1373, allocations: 157.7 kB / 0.506 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.914e-05/0.1374, allocations: 27.8 kB / 0.506 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001834/0.1392, allocations: 0.7433 MB / 0.5068 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.1392, allocations: 11.88 kB / 0.5068 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1392, allocations: 0 / 0.5068 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.076e-06/0.1392, allocations: 11.98 kB / 0.5068 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005854/0.1398, allocations: 412.7 kB / 0.5072 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1398, allocations: 0 / 0.5072 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/0.1401, allocations: 63.91 kB / 0.5072 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001278/0.1414, allocations: 293.4 kB / 0.5075 GB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.996e-05/0.1414, allocations: 8 kB / 0.5075 GB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004914/0.1463, allocations: 3.673 MB / 0.5111 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1463, allocations: 0 / 0.5111 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/0.1481, allocations: 0.767 MB / 0.5119 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.929e-05/0.1482, allocations: 43.62 kB / 0.5119 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.945e-05/0.1483, allocations: 11.98 kB / 0.5119 GB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.1485, allocations: 12 kB / 0.5119 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.1486, allocations: 32.38 kB / 0.512 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.459e-05/0.1486, allocations: 15.98 kB / 0.512 GB, free: 5.109 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001786/0.1488, allocations: 156.2 kB / 0.5121 GB, free: 4.957 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1488, allocations: 0 / 0.5121 GB, free: 4.957 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005661/0.1494, allocations: 131.9 kB / 0.5123 GB, free: 4.828 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.002086/0.1515, allocations: 1.327 MB / 0.5135 GB, free: 3.473 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00186/0.1533, allocations: 0.8423 MB / 0.5144 GB, free: 2.598 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1533, allocations: 0 / 0.5144 GB, free: 2.598 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001259/0.1546, allocations: 0.578 MB / 0.5149 GB, free: 1.992 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.1549, allocations: 27.94 kB / 0.515 GB, free: 1.965 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1887/0.3437, allocations: 3.826 MB / 0.5187 GB, free: 28.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/0.3438, allocations: 170.1 kB / 0.5189 GB, free: 28.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001604/0.344, allocations: 47.3 kB / 0.5189 GB, free: 28.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.3441, allocations: 97.19 kB / 0.519 GB, free: 28.7 MB / 382.1 MB Notification: Performance of SimCode: time 1.362e-06/0.3441, allocations: 0 / 0.519 GB, free: 28.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04746/0.3916, allocations: 9.33 MB / 0.5281 GB, free: 27.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.05, allocations: 11.91 kB / 0.5281 GB, free: 27.62 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.700335248955525] Failed to read output from testmodel.py, exit status != 0: 13.215711207012646 13.228883018 13.111448674 Calling exit ...