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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001936/0.001936, allocations: 106.8 kB / 17.12 MB, free: 5.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002103/0.002103, allocations: 192.6 kB / 20.07 MB, free: 2.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 245.8 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1841/0.1841, allocations: 8.081 MB / 306 MB, free: 2.676 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.Islanding1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.Islanding1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 71.81 kB / 422.7 MB, free: 6.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2772, allocations: 51.52 MB / 474.2 MB, free: 21.92 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding1): time 0.003754/0.2811, allocations: 3.611 MB / 477.8 MB, free: 19.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.2826, allocations: 0.9718 MB / 478.8 MB, free: 18.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.2828, allocations: 7.938 kB / 478.8 MB, free: 18.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003967/0.2832, allocations: 175.6 kB / 479 MB, free: 18.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004774/0.2837, allocations: 250.2 kB / 479.2 MB, free: 17.95 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo:34:7-34:67:writable] Warning: In relation pv.rampTime == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.2855, allocations: 1.237 MB / 480.5 MB, free: 17.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005754/0.2861, allocations: 496.8 kB / 481 MB, free: 16.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002671/0.2864, allocations: 168.1 kB / 481.1 MB, free: 16.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.2866, allocations: 201.5 kB / 481.3 MB, free: 16.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002981/0.2869, allocations: 276 kB / 481.6 MB, free: 16.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.801e-05/0.2869, allocations: 38.72 kB / 481.6 MB, free: 16.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004858/0.2874, allocations: 277 kB / 481.9 MB, free: 16.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.892e-05/0.2875, allocations: 99.2 kB / 482 MB, free: 16.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001839/0.2877, allocations: 243.6 kB / 482.2 MB, free: 16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006684/0.2884, allocations: 0.6674 MB / 482.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2884, allocations: 0 / 482.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2884, allocations: 0 / 482.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.2884, allocations: 1.031 kB / 482.9 MB, free: 15.55 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004517/0.2929, allocations: 1.384 MB / 484.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.293, allocations: 12.8 kB / 484.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.536e-05/0.2931, allocations: 75.22 kB / 484.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.2932, allocations: 56.55 kB / 484.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003844/0.2936, allocations: 354.2 kB / 484.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.536e-05/0.2937, allocations: 63.27 kB / 484.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.573e-05/0.2937, allocations: 42.91 kB / 484.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008416/0.2946, allocations: 0.5704 MB / 485.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.2946, allocations: 1.094 kB / 485.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.439e-05/0.2947, allocations: 15.53 kB / 485.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.2947, allocations: 9.5 kB / 485.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007563/0.2954, allocations: 0.5182 MB / 486 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002282/0.2977, allocations: 2.224 MB / 488.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.2989, allocations: 0.7445 MB / 489 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00045/0.2994, allocations: 357.2 kB / 489.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.746e-05/0.2994, allocations: 16.2 kB / 489.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007182/0.3002, allocations: 406 kB / 489.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=61): time 2.435e-06/0.3002, allocations: 3.938 kB / 489.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.006891/0.3071, allocations: 2.112 MB / 491.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.3072, allocations: 84.11 kB / 491.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000316/0.3075, allocations: 281.4 kB / 492.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.656e-05/0.3076, allocations: 37.52 kB / 492.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.25e-05/0.3077, allocations: 184.8 kB / 492.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.3078, allocations: 214.8 kB / 492.6 MB, free: 8.598 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/0.308, allocations: 129.1 kB / 492.7 MB, free: 8.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.547e-05/0.3081, allocations: 346.9 kB / 493.1 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004846/0.3086, allocations: 341 kB / 493.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004912/0.3091, allocations: 414.1 kB / 493.8 MB, free: 7.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009908/0.3101, allocations: 0.7501 MB / 494.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.3101, allocations: 0 / 494.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002976/0.3131, allocations: 1.364 MB / 495.9 MB, free: 6.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.3131, allocations: 8 kB / 495.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3131, allocations: 0 / 495.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002756/0.3159, allocations: 0.6744 MB / 496.6 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003581/0.3163, allocations: 103.9 kB / 496.7 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005661/0.3219, allocations: 4.34 MB / 0.4893 GB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004791/0.3224, allocations: 55.61 kB / 0.4894 GB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-05/0.3225, allocations: 27.98 kB / 0.4894 GB, free: 0.8984 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,cmd.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * 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 {(7,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0001983/0.3227, allocations: 173.7 kB / 0.4896 GB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.732e-05/0.3228, allocations: 43.72 kB / 0.4896 GB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003156/0.3259, allocations: 1.331 MB / 0.4909 GB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.3259, allocations: 8 kB / 0.4909 GB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.326, allocations: 0 / 0.4909 GB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.326, allocations: 3.984 kB / 0.4909 GB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004136/0.3301, allocations: 2.041 MB / 0.4929 GB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.3301, allocations: 0 / 0.4929 GB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002833/0.3304, allocations: 75.91 kB / 0.493 GB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002922/0.3334, allocations: 0.6754 MB / 0.4936 GB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.253e-05/0.3334, allocations: 16 kB / 0.4937 GB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007009/0.3404, allocations: 4.281 MB / 0.4978 GB, free: 8.027 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.3405, allocations: 4 kB / 0.4978 GB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00329/0.3438, allocations: 1.333 MB / 0.4991 GB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.3439, allocations: 132.7 kB / 0.4993 GB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.565e-05/0.344, allocations: 12 kB / 0.4993 GB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003754/0.3444, allocations: 31.86 kB / 0.4993 GB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.3445, allocations: 52.48 kB / 0.4994 GB, free: 6.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.74e-05/0.3446, allocations: 23.94 kB / 0.4994 GB, free: 6.406 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002227/0.3448, allocations: 201.9 kB / 0.4996 GB, free: 6.207 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3448, allocations: 0 / 0.4996 GB, free: 6.207 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006552/0.3455, allocations: 207.9 kB / 0.4998 GB, free: 6.004 MB / 366.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: 2 ($whenCondition1,cmd.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * 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: 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 {(7,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003751/0.3493, allocations: 1.915 MB / 0.5016 GB, free: 4.062 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002522/0.3518, allocations: 1.147 MB / 0.5028 GB, free: 2.898 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.3518, allocations: 0 / 0.5028 GB, free: 2.898 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001649/0.3535, allocations: 0.7475 MB / 0.5035 GB, free: 2.141 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.3539, allocations: 36.66 kB / 0.5035 GB, free: 2.105 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.3647, allocations: 5.668 MB / 0.5091 GB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005269/0.3652, allocations: 0.8259 MB / 0.5099 GB, free: 11.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002337/0.3655, allocations: 67.2 kB / 0.5099 GB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/0.3657, allocations: 147.4 kB / 0.5101 GB, free: 11.28 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3657, allocations: 0 / 0.5101 GB, free: 11.28 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04601/0.4117, allocations: 16.77 MB / 0.5264 GB, free: 10.63 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12, allocations: 7.75 kB / 0.5265 GB, free: 10.62 MB / 398.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.566582200000994] Failed to read output from testmodel.py, exit status != 0: 12.093600827967748 12.107010194 11.816052499 Calling exit ...