Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.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.001414/0.001414, allocations: 120.9 kB / 17.88 MB, free: 5.027 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.001407/0.001407, allocations: 209.6 kB / 20.84 MB, free: 2.082 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.616/1.616, allocations: 230.6 MB / 254.2 MB, free: 15.07 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.03879/0.03879, allocations: 6.13 MB / 316.4 MB, free: 1.121 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.Islanding1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.Islanding1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 51.14 kB / 440 MB, free: 40.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09376/0.09536, allocations: 54.98 MB / 494.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding1): time 0.003518/0.09887, allocations: 3.522 MB / 498.5 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.1005, allocations: 1.016 MB / 499.5 MB, free: 5.902 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002817/0.1008, allocations: 8 kB / 499.5 MB, free: 5.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004777/0.1013, allocations: 175 kB / 499.6 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005622/0.1018, allocations: 246.4 kB / 499.9 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001827/0.1037, allocations: 1.299 MB / 0.4894 GB, free: 4.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004894/0.1042, allocations: 481.7 kB / 0.4899 GB, free: 3.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.1043, allocations: 116.4 kB / 0.49 GB, free: 3.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.1045, allocations: 203.2 kB / 0.4902 GB, free: 3.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002874/0.1048, allocations: 274.9 kB / 0.4905 GB, free: 3.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.952e-05/0.1049, allocations: 40 kB / 0.4905 GB, free: 3.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000452/0.1053, allocations: 311.7 kB / 0.4908 GB, free: 2.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.29e-05/0.1054, allocations: 99.56 kB / 0.4909 GB, free: 2.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.1056, allocations: 234.8 kB / 0.4911 GB, free: 2.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000708/0.1063, allocations: 0.685 MB / 0.4918 GB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1063, allocations: 0 / 0.4918 GB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1063, allocations: 0 / 0.4918 GB, free: 1.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.1063, allocations: 4 kB / 0.4918 GB, free: 1.754 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.005262/0.1115, allocations: 1.466 MB / 0.4932 GB, free: 236 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.1116, allocations: 12.03 kB / 0.4932 GB, free: 224 kB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.291e-05/0.1116, allocations: 9.188 kB / 0.4932 GB, free: 216 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.653e-05/0.1117, allocations: 82.59 kB / 0.4933 GB, free: 124 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.1118, allocations: 56.66 kB / 0.4934 GB, free: 68 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005276/0.1123, allocations: 351.5 kB / 0.4937 GB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.1124, allocations: 67.25 kB / 0.4938 GB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.324e-05/0.1125, allocations: 48.31 kB / 0.4938 GB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.1136, allocations: 0.5842 MB / 0.4944 GB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1136, allocations: 0 / 0.4944 GB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.346e-05/0.1136, allocations: 16 kB / 0.4944 GB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.1136, allocations: 12 kB / 0.4944 GB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009457/0.1146, allocations: 0.5505 MB / 0.495 GB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003046/0.1176, allocations: 1.772 MB / 0.4967 GB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.119, allocations: 0.7308 MB / 0.4974 GB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005532/0.1195, allocations: 334.5 kB / 0.4977 GB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.089e-05/0.1196, allocations: 16.53 kB / 0.4977 GB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/0.1197, allocations: 47.12 kB / 0.4978 GB, free: 11.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.454e-06/0.1197, allocations: 0 / 0.4978 GB, free: 11.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=62): time 0.01622/0.1359, allocations: 3.029 MB / 0.5007 GB, free: 8.297 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.047e-05/0.136, allocations: 85.67 kB / 0.5008 GB, free: 8.195 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004392/0.1364, allocations: 267 kB / 0.5011 GB, free: 7.926 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.1365, allocations: 41.7 kB / 0.5011 GB, free: 7.879 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.1367, allocations: 181.7 kB / 0.5013 GB, free: 7.695 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002368/0.1369, allocations: 218.1 kB / 0.5015 GB, free: 7.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002642/0.1372, allocations: 126.6 kB / 0.5016 GB, free: 7.352 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.1374, allocations: 350.7 kB / 0.502 GB, free: 7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000641/0.138, allocations: 357.9 kB / 0.5023 GB, free: 6.648 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006726/0.1387, allocations: 420.6 kB / 0.5027 GB, free: 6.234 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.14, allocations: 0.7811 MB / 0.5035 GB, free: 5.449 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.14, allocations: 7.969 kB / 0.5035 GB, free: 5.441 MB / 366.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.007085/0.1471, allocations: 1.692 MB / 0.5051 GB, free: 3.738 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.1471, allocations: 4 kB / 0.5051 GB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.1471, allocations: 0 / 0.5051 GB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007344/0.1545, allocations: 1.077 MB / 0.5062 GB, free: 2.656 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000434/0.1549, allocations: 99.77 kB / 0.5063 GB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01236/0.1673, allocations: 5.328 MB / 0.5115 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005499/0.1678, allocations: 59.56 kB / 0.5115 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.139e-05/0.1679, allocations: 23.98 kB / 0.5116 GB, free: 13.02 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 (56): * Single equations (assignments): 55 * 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 {(9,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0003974/0.1683, allocations: 178.3 kB / 0.5117 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.1684, allocations: 43.72 kB / 0.5118 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007325/0.1757, allocations: 1.684 MB / 0.5134 GB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/0.1758, allocations: 8 kB / 0.5134 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1758, allocations: 0 / 0.5134 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/0.1758, allocations: 3.984 kB / 0.5134 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008396/0.1842, allocations: 2.418 MB / 0.5158 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/0.1842, allocations: 0 / 0.5158 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002724/0.1844, allocations: 71.91 kB / 0.5158 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007397/0.1918, allocations: 1.066 MB / 0.5169 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.167e-05/0.1919, allocations: 15.94 kB / 0.5169 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01203/0.204, allocations: 5.262 MB / 0.522 GB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.204, allocations: 0 / 0.522 GB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007094/0.211, allocations: 1.674 MB / 0.5237 GB, free: 356 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/0.2112, allocations: 132.6 kB / 0.5238 GB, free: 204 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.2114, allocations: 23.98 kB / 0.5238 GB, free: 180 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004802/0.2118, allocations: 23.98 kB / 0.5239 GB, free: 156 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002747/0.2121, allocations: 60.56 kB / 0.5239 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.88e-05/0.2122, allocations: 16 kB / 0.5239 GB, free: 76 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002862/0.2125, allocations: 190 kB / 0.5241 GB, free: 15.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2125, allocations: 0 / 0.5241 GB, free: 15.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009782/0.2134, allocations: 231.9 kB / 0.5243 GB, free: 15.66 MB / 398.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 (45): * Single equations (assignments): 44 * 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 {(8,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007579/0.221, allocations: 2.253 MB / 0.5265 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003482/0.2245, allocations: 1.207 MB / 0.5277 GB, free: 12.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.2245, allocations: 4 kB / 0.5277 GB, free: 12.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002051/0.2265, allocations: 0.759 MB / 0.5285 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005154/0.2271, allocations: 52.8 kB / 0.5285 GB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01877/0.2458, allocations: 6.456 MB / 0.5348 GB, free: 4.801 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005448/0.2464, allocations: 0.8298 MB / 0.5356 GB, free: 3.938 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002463/0.2466, allocations: 59.2 kB / 0.5357 GB, free: 3.875 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/0.2469, allocations: 143.4 kB / 0.5358 GB, free: 3.734 MB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2469, allocations: 8 kB / 0.5358 GB, free: 3.727 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04909/0.296, allocations: 20.33 MB / 0.5557 GB, free: 15.55 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.24, allocations: 23.78 kB / 0.5557 GB, free: 15.53 MB / 430.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.139015955035575] Failed to read output from testmodel.py, exit status != 0: 13.402618768974207 13.432347591 13.320913619 Calling exit ...