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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 102.6 kB / 16.45 MB, free: 6.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001771/0.001771, allocations: 186.4 kB / 17.38 MB, free: 5.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04241/0.04241, allocations: 8.105 MB / 299.3 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 63.91 kB / 414 MB, free: 22.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08437/0.08549, allocations: 51.51 MB / 465.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding1): time 0.003945/0.08948, allocations: 3.613 MB / 469.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.0909, allocations: 0.9731 MB / 470.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.09103, allocations: 8 kB / 470.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000363/0.0914, allocations: 179 kB / 470.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004593/0.09187, allocations: 254.4 kB / 470.5 MB, free: 13.64 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.001933/0.09382, allocations: 1.221 MB / 471.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004948/0.09432, allocations: 0.4898 MB / 472.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002366/0.09457, allocations: 176.1 kB / 472.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.09474, allocations: 207.2 kB / 472.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002895/0.09504, allocations: 274.9 kB / 472.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.434e-05/0.09511, allocations: 40 kB / 472.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000383/0.09549, allocations: 275.7 kB / 473.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.673e-05/0.09558, allocations: 95.67 kB / 473.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.09577, allocations: 242.7 kB / 473.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006543/0.09643, allocations: 0.6578 MB / 474.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.09645, allocations: 0 / 474.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.09645, allocations: 0 / 474.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.09647, allocations: 4 kB / 474.2 MB, free: 9.977 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.004504/0.101, allocations: 1.387 MB / 475.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.101, allocations: 11.89 kB / 475.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.586e-05/0.1011, allocations: 78.72 kB / 475.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.1012, allocations: 52.66 kB / 475.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003845/0.1016, allocations: 363.4 kB / 476.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.057e-05/0.1017, allocations: 63.27 kB / 476.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.574e-05/0.1018, allocations: 36.38 kB / 476.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008135/0.1026, allocations: 0.5687 MB / 476.7 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1026, allocations: 0 / 476.7 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.659e-05/0.1027, allocations: 12 kB / 476.7 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.1027, allocations: 12 kB / 476.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007088/0.1034, allocations: 0.5193 MB / 477.3 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002422/0.1058, allocations: 2.223 MB / 479.5 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.1069, allocations: 0.7532 MB / 480.2 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004441/0.1073, allocations: 350.5 kB / 480.6 MB, free: 3.184 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.737e-05/0.1074, allocations: 16.55 kB / 480.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006394/0.1081, allocations: 415 kB / 481 MB, free: 2.754 MB / 350.1 MB Notification: Performance of pre-optimization done (n=61): time 1.933e-06/0.1081, allocations: 0 / 481 MB, free: 2.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.0066/0.1147, allocations: 2.12 MB / 483.1 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/0.1148, allocations: 81.67 kB / 483.2 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002694/0.115, allocations: 282.9 kB / 483.5 MB, free: 224 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.465e-05/0.1151, allocations: 41.7 kB / 483.5 MB, free: 176 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.1152, allocations: 177.8 kB / 483.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000152/0.1154, allocations: 210 kB / 483.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.1156, allocations: 130.6 kB / 484 MB, free: 15.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1157, allocations: 346.8 kB / 484.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004827/0.1162, allocations: 337.9 kB / 484.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005232/0.1167, allocations: 409.9 kB / 485.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.1178, allocations: 0.7617 MB / 485.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1178, allocations: 0 / 485.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003069/0.1208, allocations: 1.356 MB / 487.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.1209, allocations: 11.94 kB / 487.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.1209, allocations: 0 / 487.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002861/0.1238, allocations: 0.6749 MB / 487.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003771/0.1241, allocations: 107.8 kB / 488 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006606/0.1308, allocations: 4.33 MB / 492.3 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000419/0.1312, allocations: 59.55 kB / 492.4 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.289e-05/0.1313, allocations: 28 kB / 492.4 MB, free: 7.086 MB / 366.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.0002057/0.1315, allocations: 177.7 kB / 492.6 MB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.058e-05/0.1316, allocations: 43.72 kB / 492.6 MB, free: 6.859 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003223/0.1348, allocations: 1.323 MB / 494 MB, free: 5.523 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.1348, allocations: 8 kB / 494 MB, free: 5.516 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.1348, allocations: 0 / 494 MB, free: 5.516 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1348, allocations: 3.984 kB / 494 MB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003784/0.1386, allocations: 2.041 MB / 496 MB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-06/0.1386, allocations: 4 kB / 496 MB, free: 3.406 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/0.1389, allocations: 75.91 kB / 496.1 MB, free: 3.332 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002769/0.1417, allocations: 0.6781 MB / 496.8 MB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.433e-05/0.1417, allocations: 12 kB / 496.8 MB, free: 2.641 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006267/0.148, allocations: 4.274 MB / 0.4893 GB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.148, allocations: 0 / 0.4893 GB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002986/0.151, allocations: 1.344 MB / 0.4906 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.475e-05/0.1511, allocations: 132.6 kB / 0.4908 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.82e-05/0.1512, allocations: 12 kB / 0.4908 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003681/0.1516, allocations: 27.92 kB / 0.4908 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.1517, allocations: 56.48 kB / 0.4908 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.516e-05/0.1518, allocations: 20 kB / 0.4909 GB, free: 12.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001867/0.1519, allocations: 197.9 kB / 0.4911 GB, free: 12.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.152, allocations: 3.938 kB / 0.4911 GB, free: 12.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006124/0.1526, allocations: 211.9 kB / 0.4913 GB, free: 12.19 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: 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.003382/0.156, allocations: 1.914 MB / 0.4931 GB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002572/0.1585, allocations: 1.151 MB / 0.4943 GB, free: 9.086 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.1586, allocations: 0 / 0.4943 GB, free: 9.086 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001583/0.1602, allocations: 0.7398 MB / 0.495 GB, free: 8.336 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.1606, allocations: 44.66 kB / 0.495 GB, free: 8.293 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009922/0.1705, allocations: 5.675 MB / 0.5006 GB, free: 2.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.1709, allocations: 0.8259 MB / 0.5014 GB, free: 1.672 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002073/0.1711, allocations: 67.2 kB / 0.5014 GB, free: 1.605 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.1713, allocations: 147.4 kB / 0.5016 GB, free: 1.461 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1714, allocations: 0 / 0.5016 GB, free: 1.461 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2223/0.3937, allocations: 16.76 MB / 0.5179 GB, free: 42.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.19, allocations: 9.125 kB / 0.518 GB, free: 42.26 MB / 382.1 MB (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)