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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 102.7 kB / 16.45 MB, free: 6.461 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.001402/0.001402, allocations: 189 kB / 17.39 MB, free: 5.668 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.264/1.264, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04443/0.04443, allocations: 8.095 MB / 299.3 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002275, allocations: 72.11 kB / 414 MB, free: 22.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1115, allocations: 51.51 MB / 465.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.004877/0.1164, allocations: 4.123 MB / 469.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.1186, allocations: 1.086 MB / 470.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003903/0.119, allocations: 8 kB / 470.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005905/0.1196, allocations: 194.8 kB / 470.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009405/0.1206, allocations: 306 kB / 471.2 MB, free: 12.93 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.00221/0.1228, allocations: 1.264 MB / 472.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007749/0.1236, allocations: 0.6104 MB / 473.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003112/0.1239, allocations: 225.4 kB / 473.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.1241, allocations: 255 kB / 473.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003544/0.1245, allocations: 346.6 kB / 473.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.585e-05/0.1246, allocations: 52 kB / 473.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000466/0.125, allocations: 287.8 kB / 474.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.637e-05/0.1251, allocations: 127.5 kB / 474.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002346/0.1254, allocations: 298.5 kB / 474.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008059/0.1262, allocations: 0.7784 MB / 475.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1262, allocations: 0 / 475.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1262, allocations: 0 / 475.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.1262, allocations: 0 / 475.4 MB, free: 8.699 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.00553/0.1318, allocations: 1.652 MB / 477.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.1318, allocations: 15.89 kB / 477.1 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001029/0.1319, allocations: 86.66 kB / 477.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.1321, allocations: 68.52 kB / 477.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005146/0.1326, allocations: 400 kB / 477.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-05/0.1327, allocations: 67.45 kB / 477.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.522e-05/0.1328, allocations: 56.25 kB / 477.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.1338, allocations: 0.6971 MB / 478.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1339, allocations: 0 / 478.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.806e-05/0.1339, allocations: 19.98 kB / 478.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.134, allocations: 12 kB / 478.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009674/0.1349, allocations: 0.6404 MB / 479.1 MB, free: 4.879 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003446/0.1384, allocations: 2.697 MB / 481.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/0.1398, allocations: 1.061 MB / 482.9 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006087/0.1404, allocations: 454.7 kB / 483.3 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.133e-05/0.1405, allocations: 16.62 kB / 483.3 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008601/0.1414, allocations: 0.5003 MB / 483.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.225e-06/0.1414, allocations: 0 / 483.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.00841/0.1498, allocations: 2.646 MB / 486.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.1499, allocations: 89.7 kB / 486.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003841/0.1503, allocations: 337.6 kB / 486.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.498e-05/0.1504, allocations: 41.7 kB / 486.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.1505, allocations: 205.5 kB / 487.1 MB, free: 12.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/0.1507, allocations: 261.7 kB / 487.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002611/0.151, allocations: 150.6 kB / 487.5 MB, free: 12.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1512, allocations: 358.8 kB / 487.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006412/0.1518, allocations: 421.8 kB / 488.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006822/0.1525, allocations: 490.3 kB / 488.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.1538, allocations: 0.9404 MB / 489.7 MB, free: 9.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.1538, allocations: 0 / 489.7 MB, free: 9.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.004009/0.1578, allocations: 1.728 MB / 491.5 MB, free: 8.086 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.1579, allocations: 8 kB / 491.5 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.1579, allocations: 3.984 kB / 491.5 MB, free: 8.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003934/0.1618, allocations: 1.073 MB / 492.5 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004484/0.1623, allocations: 123.8 kB / 492.7 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008722/0.171, allocations: 5.34 MB / 498 MB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005639/0.1716, allocations: 75.45 kB / 498.1 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.471e-05/0.1717, allocations: 24 kB / 498.1 MB, free: 1.312 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 (74): * Single equations (assignments): 73 * 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 {(14,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002834/0.172, allocations: 197.7 kB / 498.3 MB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.1721, allocations: 55.61 kB / 498.3 MB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004151/0.1763, allocations: 1.706 MB / 0.4883 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.1763, allocations: 8 kB / 0.4883 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1763, allocations: 3.938 kB / 0.4883 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.1763, allocations: 3.984 kB / 0.4883 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004881/0.1812, allocations: 2.532 MB / 0.4908 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.1812, allocations: 8 kB / 0.4908 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003107/0.1816, allocations: 91.89 kB / 0.4909 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00385/0.1854, allocations: 0.9607 MB / 0.4919 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.836e-05/0.1855, allocations: 16 kB / 0.4919 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008601/0.1941, allocations: 5.264 MB / 0.497 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.1941, allocations: 0 / 0.497 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004041/0.1982, allocations: 1.681 MB / 0.4986 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.1984, allocations: 140.5 kB / 0.4988 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.439e-05/0.1985, allocations: 20 kB / 0.4988 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004933/0.199, allocations: 35.97 kB / 0.4988 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/0.1991, allocations: 60.92 kB / 0.4989 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.567e-05/0.1992, allocations: 31.98 kB / 0.4989 GB, free: 4.234 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002492/0.1995, allocations: 239.1 kB / 0.4992 GB, free: 4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1995, allocations: 0 / 0.4992 GB, free: 4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007671/0.2003, allocations: 259.9 kB / 0.4994 GB, free: 3.746 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 (59): * Single equations (assignments): 58 * 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 {(14,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00433/0.2046, allocations: 2.267 MB / 0.5016 GB, free: 1.449 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1762/0.3808, allocations: 1.495 MB / 0.5031 GB, free: 45.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.3808, allocations: 1.406 kB / 0.5031 GB, free: 45.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002451/0.3833, allocations: 0.9828 MB / 0.504 GB, free: 45.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005113/0.3838, allocations: 67.94 kB / 0.5041 GB, free: 45.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/0.3955, allocations: 6.903 MB / 0.5108 GB, free: 43.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.3959, allocations: 0.8713 MB / 0.5117 GB, free: 42.56 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002488/0.3961, allocations: 74.8 kB / 0.5118 GB, free: 42.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/0.3964, allocations: 191.6 kB / 0.5119 GB, free: 42.41 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3964, allocations: 0 / 0.5119 GB, free: 42.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04131/0.4377, allocations: 20.72 MB / 0.5322 GB, free: 31.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.5, allocations: 12.41 kB / 0.5322 GB, free: 31.12 MB / 382.1 MB (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 & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2_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_Islanding2.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe 2>&1)