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.001655/0.001655, allocations: 104.6 kB / 16.31 MB, free: 6.359 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.001856/0.001856, allocations: 184.6 kB / 17.24 MB, free: 5.879 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.382/1.382, allocations: 222.9 MB / 240.9 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04597/0.04597, allocations: 8.102 MB / 299.2 MB, free: 6.703 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 59.91 kB / 361.8 MB, free: 8.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2063, allocations: 51.51 MB / 413.4 MB, free: 25.55 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding1): time 0.004117/0.2105, allocations: 3.595 MB / 416.9 MB, free: 21.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.2125, allocations: 0.9728 MB / 417.9 MB, free: 20.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004901/0.213, allocations: 8 kB / 417.9 MB, free: 20.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006769/0.2137, allocations: 167 kB / 418.1 MB, free: 20.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007958/0.2146, allocations: 254.4 kB / 418.3 MB, free: 20.54 MB / 302.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.00196/0.2166, allocations: 1.236 MB / 419.6 MB, free: 19.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005884/0.2172, allocations: 497.6 kB / 420.1 MB, free: 18.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002412/0.2174, allocations: 170.6 kB / 420.2 MB, free: 18.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002362/0.2177, allocations: 199.3 kB / 420.4 MB, free: 18.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003861/0.2181, allocations: 270.9 kB / 420.7 MB, free: 18.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.2182, allocations: 39.94 kB / 420.7 MB, free: 18.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006552/0.2188, allocations: 279.8 kB / 421 MB, free: 17.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.219, allocations: 91.61 kB / 421.1 MB, free: 17.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002631/0.2192, allocations: 246.8 kB / 421.3 MB, free: 17.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009427/0.2202, allocations: 0.6542 MB / 422 MB, free: 16.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2202, allocations: 0 / 422 MB, free: 16.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2202, allocations: 4 kB / 422 MB, free: 16.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.2202, allocations: 0 / 422 MB, free: 16.88 MB / 302.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.005013/0.2253, allocations: 1.373 MB / 423.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.2253, allocations: 11.89 kB / 423.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.172e-05/0.2254, allocations: 82.7 kB / 423.5 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.2255, allocations: 52.38 kB / 423.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003907/0.2259, allocations: 351.4 kB / 423.8 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.14e-05/0.226, allocations: 59.27 kB / 423.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.464e-05/0.2261, allocations: 36.38 kB / 423.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007297/0.2268, allocations: 0.5804 MB / 424.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.2268, allocations: 3.938 kB / 424.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.615e-05/0.2269, allocations: 16 kB / 424.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.2269, allocations: 8 kB / 424.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006409/0.2275, allocations: 0.5154 MB / 425.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002554/0.2301, allocations: 2.238 MB / 427.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.2311, allocations: 0.7415 MB / 428 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003894/0.2315, allocations: 358.5 kB / 428.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.236e-05/0.2316, allocations: 12.55 kB / 428.4 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007405/0.2324, allocations: 415 kB / 428.8 MB, free: 9.664 MB / 302.1 MB Notification: Performance of pre-optimization done (n=61): time 2.004e-06/0.2324, allocations: 3.938 kB / 428.8 MB, free: 9.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.007831/0.2402, allocations: 2.104 MB / 430.9 MB, free: 7.527 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.2403, allocations: 89.67 kB / 431 MB, free: 7.422 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/0.2406, allocations: 274.9 kB / 431.3 MB, free: 7.145 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.779e-05/0.2406, allocations: 41.7 kB / 431.3 MB, free: 7.098 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.711e-05/0.2407, allocations: 173.5 kB / 431.5 MB, free: 6.926 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.2409, allocations: 208.9 kB / 431.7 MB, free: 6.719 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/0.2411, allocations: 130.7 kB / 431.8 MB, free: 6.586 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.062e-05/0.2412, allocations: 346.8 kB / 432.2 MB, free: 6.238 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004126/0.2416, allocations: 341.8 kB / 432.5 MB, free: 5.906 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004458/0.242, allocations: 401.9 kB / 432.9 MB, free: 5.504 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008908/0.2429, allocations: 0.754 MB / 433.6 MB, free: 4.738 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2429, allocations: 0 / 433.6 MB, free: 4.738 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002938/0.2459, allocations: 1.367 MB / 435 MB, free: 3.359 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.2459, allocations: 4 kB / 435 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.2459, allocations: 0 / 435 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002897/0.2488, allocations: 0.6812 MB / 435.7 MB, free: 2.672 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000392/0.2492, allocations: 99.88 kB / 435.8 MB, free: 2.574 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00666/0.2559, allocations: 4.347 MB / 440.1 MB, free: 14.1 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004823/0.2564, allocations: 63.36 kB / 440.2 MB, free: 14.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-05/0.2565, allocations: 23.98 kB / 440.2 MB, free: 14.01 MB / 318.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.0002387/0.2567, allocations: 169.8 kB / 440.4 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.324e-05/0.2568, allocations: 43.44 kB / 440.4 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003464/0.2603, allocations: 1.339 MB / 441.8 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.2603, allocations: 4 kB / 441.8 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.2603, allocations: 0 / 441.8 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.2603, allocations: 7.984 kB / 441.8 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00412/0.2645, allocations: 2.028 MB / 443.8 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.2645, allocations: 8 kB / 443.8 MB, free: 10.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/0.2648, allocations: 71.91 kB / 443.9 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003102/0.2679, allocations: 0.6787 MB / 444.6 MB, free: 9.582 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-05/0.2679, allocations: 16 kB / 444.6 MB, free: 9.566 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00692/0.2749, allocations: 4.279 MB / 448.9 MB, free: 5.148 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.2749, allocations: 0 / 448.9 MB, free: 5.148 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003206/0.2781, allocations: 1.331 MB / 450.2 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.2783, allocations: 132.3 kB / 450.3 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.652e-05/0.2783, allocations: 8 kB / 450.3 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003884/0.2787, allocations: 39.92 kB / 450.4 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/0.2789, allocations: 52.48 kB / 450.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.282e-05/0.279, allocations: 19.94 kB / 450.4 MB, free: 3.531 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002141/0.2792, allocations: 205.9 kB / 450.6 MB, free: 3.328 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2792, allocations: 0 / 450.6 MB, free: 3.328 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006891/0.2799, allocations: 215.8 kB / 450.8 MB, free: 3.117 MB / 318.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.003679/0.2836, allocations: 1.895 MB / 452.7 MB, free: 1.195 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00297/0.2866, allocations: 1.186 MB / 453.9 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.2866, allocations: 0 / 453.9 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001703/0.2883, allocations: 0.7398 MB / 454.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004538/0.2888, allocations: 40.64 kB / 454.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/0.2993, allocations: 5.671 MB / 460.4 MB, free: 9.43 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004598/0.2998, allocations: 0.8259 MB / 461.2 MB, free: 8.582 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002434/0.3, allocations: 67.2 kB / 461.3 MB, free: 8.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002497/0.3003, allocations: 151.4 kB / 461.4 MB, free: 8.371 MB / 334.1 MB Notification: Performance of SimCode: time 1.614e-06/0.3003, allocations: 0 / 461.4 MB, free: 8.371 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04203/0.3424, allocations: 16.56 MB / 478 MB, free: 7.914 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.48, allocations: 3.578 kB / 478 MB, free: 7.914 MB / 350.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)