Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.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.001812/0.001812, allocations: 108.3 kB / 19.75 MB, free: 1.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.00241/0.00241, allocations: 221.7 kB / 23.03 MB, free: 5.016 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.04295/0.04295, allocations: 6.147 MB / 319.4 MB, free: 12.8 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.Islanding2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.Islanding2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 51.92 kB / 444.4 MB, free: 5.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1137, allocations: 55.01 MB / 499.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.006296/0.12, allocations: 4.024 MB / 0.4917 GB, free: 9.996 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002684/0.1227, allocations: 1.121 MB / 0.4928 GB, free: 8.871 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005779/0.1233, allocations: 16 kB / 0.4928 GB, free: 8.855 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007311/0.124, allocations: 222.5 kB / 0.493 GB, free: 8.637 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001132/0.1251, allocations: 341.8 kB / 0.4933 GB, free: 8.301 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002871/0.128, allocations: 1.261 MB / 0.4946 GB, free: 7.039 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00119/0.1292, allocations: 0.7153 MB / 0.4953 GB, free: 6.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003964/0.1296, allocations: 162.7 kB / 0.4954 GB, free: 6.148 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005672/0.1301, allocations: 310.9 kB / 0.4957 GB, free: 5.844 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000729/0.1309, allocations: 362.4 kB / 0.4961 GB, free: 5.488 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001737/0.131, allocations: 60 kB / 0.4961 GB, free: 5.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008299/0.1319, allocations: 315.7 kB / 0.4964 GB, free: 5.121 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002286/0.1321, allocations: 151.4 kB / 0.4966 GB, free: 4.973 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005288/0.1326, allocations: 290.6 kB / 0.4968 GB, free: 4.688 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.1344, allocations: 0.9224 MB / 0.4977 GB, free: 3.762 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1344, allocations: 3.938 kB / 0.4977 GB, free: 3.758 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1344, allocations: 0 / 0.4977 GB, free: 3.758 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.608e-05/0.1344, allocations: 0 / 0.4977 GB, free: 3.758 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.008857/0.1433, allocations: 1.963 MB / 0.4997 GB, free: 1.758 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.1433, allocations: 16.03 kB / 0.4997 GB, free: 1.742 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002119/0.1436, allocations: 94.7 kB / 0.4998 GB, free: 1.641 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002217/0.1438, allocations: 80.47 kB / 0.4998 GB, free: 1.562 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007346/0.1445, allocations: 384.4 kB / 0.5002 GB, free: 1.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.1446, allocations: 75.58 kB / 0.5003 GB, free: 1.078 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.1447, allocations: 56.38 kB / 0.5003 GB, free: 1.023 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/0.1465, allocations: 1.221 MB / 0.5015 GB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.1465, allocations: 3.938 kB / 0.5015 GB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.463e-05/0.1466, allocations: 24 kB / 0.5016 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.1466, allocations: 12 kB / 0.5016 GB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/0.1481, allocations: 0.8563 MB / 0.5024 GB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004223/0.1523, allocations: 1.952 MB / 0.5043 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001872/0.1542, allocations: 1.015 MB / 0.5053 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008396/0.155, allocations: 0.5075 MB / 0.5058 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.909e-05/0.1551, allocations: 20.98 kB / 0.5058 GB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.009e-05/0.1552, allocations: 47.56 kB / 0.5059 GB, free: 11.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 3.116e-06/0.1552, allocations: 0 / 0.5059 GB, free: 11.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=92): time 0.03019/0.1854, allocations: 5.254 MB / 0.511 GB, free: 5.941 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.199e-05/0.1854, allocations: 90.11 kB / 0.5111 GB, free: 5.836 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005569/0.186, allocations: 361.6 kB / 0.5114 GB, free: 5.477 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002085/0.1862, allocations: 49.7 kB / 0.5115 GB, free: 5.422 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.1864, allocations: 209.7 kB / 0.5117 GB, free: 5.211 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003637/0.1868, allocations: 325.1 kB / 0.512 GB, free: 4.891 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003619/0.1871, allocations: 174.6 kB / 0.5121 GB, free: 4.711 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.1873, allocations: 366.8 kB / 0.5125 GB, free: 4.344 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009324/0.1882, allocations: 0.5213 MB / 0.513 GB, free: 3.824 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.1893, allocations: 0.6232 MB / 0.5136 GB, free: 3.191 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002286/0.1915, allocations: 1.173 MB / 0.5148 GB, free: 2.016 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/0.1915, allocations: 7.969 kB / 0.5148 GB, free: 2.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.2297/0.4212, allocations: 2.658 MB / 0.5174 GB, free: 29.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.4212, allocations: 5.156 kB / 0.5174 GB, free: 29.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.4212, allocations: 0 / 0.5174 GB, free: 29.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0121/0.4333, allocations: 1.955 MB / 0.5193 GB, free: 29.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005957/0.4339, allocations: 129 kB / 0.5194 GB, free: 29.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01608/0.45, allocations: 7.367 MB / 0.5266 GB, free: 26.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008036/0.4508, allocations: 85.97 kB / 0.5267 GB, free: 26.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.986e-05/0.4509, allocations: 33.16 kB / 0.5267 GB, free: 26.72 MB / 382.1 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 (cmd.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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 {(18,24)} Notification: Performance of prepare postOptimizeDAE: time 0.0003003/0.4512, allocations: 201.4 kB / 0.5269 GB, free: 26.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.4513, allocations: 65.78 kB / 0.527 GB, free: 26.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01143/0.4628, allocations: 2.67 MB / 0.5296 GB, free: 25.63 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.26e-05/0.4628, allocations: 10.5 kB / 0.5296 GB, free: 25.63 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.4628, allocations: 2.125 kB / 0.5296 GB, free: 25.63 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.812e-05/0.4628, allocations: 5.859 kB / 0.5296 GB, free: 25.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01357/0.4764, allocations: 3.433 MB / 0.5329 GB, free: 24.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/0.4764, allocations: 3.609 kB / 0.5329 GB, free: 24.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004101/0.4768, allocations: 105.7 kB / 0.533 GB, free: 24.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01188/0.4887, allocations: 1.872 MB / 0.5349 GB, free: 23.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001619/0.4889, allocations: 23.62 kB / 0.5349 GB, free: 23.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02172/0.5106, allocations: 7.267 MB / 0.542 GB, free: 19.67 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.5106, allocations: 4.781 kB / 0.542 GB, free: 19.67 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01068/0.5213, allocations: 2.615 MB / 0.5445 GB, free: 18.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002004/0.5215, allocations: 78.36 kB / 0.5446 GB, free: 18.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/0.5216, allocations: 20.19 kB / 0.5446 GB, free: 18.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006342/0.5223, allocations: 59.27 kB / 0.5447 GB, free: 18.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003515/0.5226, allocations: 81.61 kB / 0.5448 GB, free: 18.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.974e-05/0.5227, allocations: 40.39 kB / 0.5448 GB, free: 18.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002985/0.523, allocations: 242.9 kB / 0.545 GB, free: 18.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.523, allocations: 0 / 0.545 GB, free: 18.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00103/0.524, allocations: 348.9 kB / 0.5454 GB, free: 18.11 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 (cmd.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 64 * 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 {(18,24)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01079/0.5348, allocations: 3.196 MB / 0.5485 GB, free: 16.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003883/0.5387, allocations: 1.819 MB / 0.5503 GB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.5387, allocations: 0 / 0.5503 GB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002733/0.5414, allocations: 1.203 MB / 0.5514 GB, free: 13.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006201/0.5421, allocations: 68.77 kB / 0.5515 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02584/0.5679, allocations: 9.447 MB / 0.5607 GB, free: 3.414 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.5681, allocations: 311.9 kB / 0.561 GB, free: 3.082 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002811/0.5684, allocations: 88.36 kB / 0.5611 GB, free: 3.004 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/0.5686, allocations: 219.3 kB / 0.5613 GB, free: 2.789 MB / 382.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5686, allocations: 0 / 0.5613 GB, free: 2.789 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06905/0.6377, allocations: 30.14 MB / 0.5908 GB, free: 4.891 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/14.06, allocations: 11.25 kB / 0.5908 GB, free: 4.883 MB / 414.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.798754015006125] Failed to read output from testmodel.py, exit status != 0: 14.196970046963543 14.227777144 14.087747065 Calling exit ...