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.001789/0.001789, allocations: 118.2 kB / 19.74 MB, free: 2.152 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.002442/0.002442, allocations: 225.2 kB / 23.05 MB, free: 4.996 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.03656/0.03656, allocations: 6.133 MB / 319.4 MB, free: 12.98 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.002484/0.002484, allocations: 43.92 kB / 444.5 MB, free: 5.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1452, allocations: 55.02 MB / 499.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.008324/0.1535, allocations: 4.502 MB / 0.4922 GB, free: 9.777 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002542/0.156, allocations: 1.199 MB / 0.4934 GB, free: 8.574 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004798/0.1565, allocations: 8 kB / 0.4934 GB, free: 8.566 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000675/0.1572, allocations: 222.6 kB / 0.4936 GB, free: 8.348 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001035/0.1582, allocations: 345.8 kB / 0.4939 GB, free: 8.008 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002839/0.161, allocations: 1.375 MB / 0.4953 GB, free: 6.629 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001156/0.1622, allocations: 0.7192 MB / 0.496 GB, free: 5.906 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003886/0.1626, allocations: 166.7 kB / 0.4961 GB, free: 5.734 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005539/0.1631, allocations: 318.8 kB / 0.4964 GB, free: 5.422 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007738/0.1639, allocations: 410.3 kB / 0.4968 GB, free: 5.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.1641, allocations: 60 kB / 0.4969 GB, free: 4.961 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007959/0.1649, allocations: 327.8 kB / 0.4972 GB, free: 4.641 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.165, allocations: 147.4 kB / 0.4974 GB, free: 4.496 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004418/0.1655, allocations: 358.2 kB / 0.4977 GB, free: 4.145 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.1669, allocations: 0.9184 MB / 0.4986 GB, free: 3.223 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1669, allocations: 0 / 0.4986 GB, free: 3.223 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1669, allocations: 0 / 0.4986 GB, free: 3.223 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.902e-05/0.167, allocations: 0 / 0.4986 GB, free: 3.223 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.008615/0.1756, allocations: 1.963 MB / 0.5005 GB, free: 1.223 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.1756, allocations: 16.02 kB / 0.5005 GB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001556/0.1758, allocations: 94.64 kB / 0.5006 GB, free: 1.105 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.176, allocations: 80.47 kB / 0.5007 GB, free: 1.027 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006829/0.1767, allocations: 384.4 kB / 0.5011 GB, free: 0.625 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.886e-05/0.1768, allocations: 75.58 kB / 0.5011 GB, free: 0.543 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.1769, allocations: 60.38 kB / 0.5012 GB, free: 496 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.1784, allocations: 0.8739 MB / 0.502 GB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.1784, allocations: 0 / 0.502 GB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.66e-05/0.1785, allocations: 24 kB / 0.5021 GB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.1785, allocations: 12 kB / 0.5021 GB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.1799, allocations: 0.8524 MB / 0.5029 GB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004638/0.1846, allocations: 2.618 MB / 0.5055 GB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/0.1864, allocations: 1.023 MB / 0.5065 GB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008408/0.1873, allocations: 0.5109 MB / 0.507 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001119/0.1874, allocations: 24.95 kB / 0.507 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.862e-05/0.1874, allocations: 47.56 kB / 0.507 GB, free: 10.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.695e-06/0.1874, allocations: 0 / 0.507 GB, free: 10.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=92): time 0.03101/0.2184, allocations: 5.258 MB / 0.5122 GB, free: 5.062 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.436e-05/0.2185, allocations: 86.11 kB / 0.5122 GB, free: 4.961 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005664/0.2191, allocations: 357.6 kB / 0.5126 GB, free: 4.605 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001912/0.2193, allocations: 45.7 kB / 0.5126 GB, free: 4.555 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.2195, allocations: 213.7 kB / 0.5128 GB, free: 4.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003977/0.2199, allocations: 325.1 kB / 0.5131 GB, free: 4.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003569/0.2202, allocations: 174.6 kB / 0.5133 GB, free: 3.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002549/0.2205, allocations: 366.8 kB / 0.5137 GB, free: 3.473 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009258/0.2214, allocations: 0.5252 MB / 0.5142 GB, free: 2.949 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.2225, allocations: 0.5942 MB / 0.5148 GB, free: 2.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001943/0.2244, allocations: 1.177 MB / 0.5159 GB, free: 1.172 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.81e-06/0.2244, allocations: 0 / 0.5159 GB, free: 1.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.2165/0.4409, allocations: 2.658 MB / 0.5185 GB, free: 29.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.4409, allocations: 5.469 kB / 0.5185 GB, free: 29.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.4409, allocations: 1.094 kB / 0.5185 GB, free: 29.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01213/0.453, allocations: 1.958 MB / 0.5204 GB, free: 29.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005762/0.4536, allocations: 134.1 kB / 0.5205 GB, free: 29.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01586/0.4695, allocations: 7.592 MB / 0.528 GB, free: 26.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007589/0.4702, allocations: 81.48 kB / 0.528 GB, free: 26.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.043e-05/0.4703, allocations: 34.28 kB / 0.5281 GB, free: 26.46 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.0002863/0.4706, allocations: 206.4 kB / 0.5283 GB, free: 26.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.4707, allocations: 61.58 kB / 0.5283 GB, free: 26.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01199/0.4827, allocations: 2.672 MB / 0.5309 GB, free: 25.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.4827, allocations: 12.33 kB / 0.5309 GB, free: 25.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.4827, allocations: 0 / 0.5309 GB, free: 25.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.223e-05/0.4828, allocations: 7.078 kB / 0.531 GB, free: 25.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0127/0.4955, allocations: 3.636 MB / 0.5345 GB, free: 23.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.888e-06/0.4955, allocations: 0 / 0.5345 GB, free: 23.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003604/0.4958, allocations: 111.9 kB / 0.5346 GB, free: 23.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01201/0.5079, allocations: 1.876 MB / 0.5364 GB, free: 23.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001329/0.508, allocations: 20.88 kB / 0.5365 GB, free: 23.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01452/0.5225, allocations: 7.5 MB / 0.5438 GB, free: 18.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5225, allocations: 0 / 0.5438 GB, free: 18.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01074/0.5332, allocations: 2.622 MB / 0.5463 GB, free: 17.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/0.5334, allocations: 71.58 kB / 0.5464 GB, free: 17.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/0.5336, allocations: 19.84 kB / 0.5464 GB, free: 17.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006064/0.5342, allocations: 55.67 kB / 0.5465 GB, free: 17.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003107/0.5345, allocations: 92.44 kB / 0.5466 GB, free: 17.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.537e-05/0.5345, allocations: 31.66 kB / 0.5466 GB, free: 17.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002573/0.5348, allocations: 246 kB / 0.5468 GB, free: 17 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5348, allocations: 0 / 0.5468 GB, free: 17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001073/0.5359, allocations: 339.9 kB / 0.5472 GB, free: 16.95 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.01068/0.5465, allocations: 3.199 MB / 0.5503 GB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003832/0.5504, allocations: 1.813 MB / 0.5521 GB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.5504, allocations: 0 / 0.5521 GB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002598/0.553, allocations: 1.204 MB / 0.5532 GB, free: 11.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005785/0.5536, allocations: 66.03 kB / 0.5533 GB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02698/0.5805, allocations: 9.453 MB / 0.5625 GB, free: 2.086 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.5808, allocations: 0.91 MB / 0.5634 GB, free: 1.148 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002847/0.5811, allocations: 82.39 kB / 0.5635 GB, free: 1.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/0.5813, allocations: 219.3 kB / 0.5637 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of SimCode: time 1.513e-06/0.5813, allocations: 0 / 0.5637 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07605/0.6574, allocations: 31.46 MB / 0.5944 GB, free: 1.586 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.23/14.88, allocations: 5.219 kB / 0.5944 GB, free: 1.586 MB / 414.1 MB " [Timeout remaining time 645] (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: 17.607946000993252] Failed to read output from testmodel.py, exit status != 0: 15.018034909153357 15.043633946 14.871479966 Calling exit ...