Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest",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.001083/0.001083, allocations: 111.7 kB / 17.06 MB, free: 5.969 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.001035/0.001035, allocations: 200 kB / 18.01 MB, free: 5.043 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.353/1.353, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1854/0.1854, allocations: 38.03 MB / 329.9 MB, free: 8.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 63.91 kB / 457.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3238, allocations: 58.06 MB / 0.5036 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.004209/0.328, allocations: 3.464 MB / 0.507 GB, free: 5.102 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.3297, allocations: 1.528 MB / 0.5085 GB, free: 4.027 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.3299, allocations: 9.406 kB / 0.5085 GB, free: 4.023 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007531/0.3307, allocations: 256.9 kB / 0.5087 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005819/0.3312, allocations: 289.4 kB / 0.509 GB, free: 3.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.3316, allocations: 129.7 kB / 0.5091 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003831/0.332, allocations: 346.9 kB / 0.5095 GB, free: 3.504 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002987/0.3323, allocations: 142.8 kB / 0.5096 GB, free: 3.457 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002724/0.3325, allocations: 155.9 kB / 0.5097 GB, free: 3.387 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002545/0.3328, allocations: 161 kB / 0.5099 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.958e-05/0.3328, allocations: 14.09 kB / 0.5099 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005386/0.3334, allocations: 321.6 kB / 0.5102 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.3335, allocations: 95.94 kB / 0.5103 GB, free: 3.168 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.3337, allocations: 107.2 kB / 0.5104 GB, free: 3.105 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00056/0.3342, allocations: 361.7 kB / 0.5108 GB, free: 2.977 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3342, allocations: 1.953 kB / 0.5108 GB, free: 2.977 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3342, allocations: 0 / 0.5108 GB, free: 2.977 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.3343, allocations: 0 / 0.5108 GB, free: 2.977 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007187/0.335, allocations: 0.525 MB / 0.5113 GB, free: 2.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.335, allocations: 13.56 kB / 0.5113 GB, free: 2.496 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.228e-05/0.3351, allocations: 55.23 kB / 0.5113 GB, free: 2.445 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.3362, allocations: 105.6 kB / 0.5114 GB, free: 2.426 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.3365, allocations: 268.7 kB / 0.5117 GB, free: 2.188 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.3365, allocations: 18.84 kB / 0.5117 GB, free: 2.176 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.999e-05/0.3366, allocations: 20.73 kB / 0.5117 GB, free: 2.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004938/0.3371, allocations: 327.7 kB / 0.512 GB, free: 1.992 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.3371, allocations: 1.734 kB / 0.512 GB, free: 1.992 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.3371, allocations: 10.14 kB / 0.5121 GB, free: 1.984 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-05/0.3372, allocations: 15.3 kB / 0.5121 GB, free: 1.984 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004669/0.3377, allocations: 317.1 kB / 0.5124 GB, free: 1.887 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.3392, allocations: 1.25 MB / 0.5136 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/0.3395, allocations: 169 kB / 0.5138 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.3396, allocations: 103.8 kB / 0.5139 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.358e-05/0.3397, allocations: 6.125 kB / 0.5139 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.3397, allocations: 40.48 kB / 0.5139 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.603e-06/0.3397, allocations: 5 kB / 0.5139 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.001515/0.3412, allocations: 0.6636 MB / 0.5145 GB, free: 432 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.3413, allocations: 83.59 kB / 0.5146 GB, free: 332 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.3414, allocations: 188.1 kB / 0.5148 GB, free: 204 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.3414, allocations: 29.7 kB / 0.5148 GB, free: 168 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.3415, allocations: 161 kB / 0.515 GB, free: 20 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.611e-05/0.3416, allocations: 64.22 kB / 0.5151 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.628e-05/0.3417, allocations: 47.78 kB / 0.5151 GB, free: 15.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.3418, allocations: 328.9 kB / 0.5154 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.3419, allocations: 87.45 kB / 0.5155 GB, free: 15.58 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.3421, allocations: 140.6 kB / 0.5156 GB, free: 15.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003334/0.3425, allocations: 268 kB / 0.5159 GB, free: 15.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3425, allocations: 1.406 kB / 0.5159 GB, free: 15.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006472/0.3431, allocations: 350.8 kB / 0.5162 GB, free: 15.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.3431, allocations: 10.03 kB / 0.5162 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3432, allocations: 2.875 kB / 0.5162 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000396/0.3436, allocations: 89.84 kB / 0.5163 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.3438, allocations: 43.42 kB / 0.5164 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002821/0.3466, allocations: 2.167 MB / 0.5185 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.3468, allocations: 12.7 kB / 0.5185 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/0.3468, allocations: 12.92 kB / 0.5185 GB, free: 13.33 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * 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 {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001961/0.347, allocations: 160.2 kB / 0.5187 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.691e-05/0.3471, allocations: 16.59 kB / 0.5187 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006711/0.3478, allocations: 329.9 kB / 0.519 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3478, allocations: 2.906 kB / 0.519 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.3478, allocations: 0 / 0.519 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3478, allocations: 2.688 kB / 0.519 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/0.3491, allocations: 0.7472 MB / 0.5197 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.3491, allocations: 1.125 kB / 0.5197 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.3493, allocations: 25.06 kB / 0.5197 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002897/0.3496, allocations: 79.44 kB / 0.5198 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.3496, allocations: 6.797 kB / 0.5198 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002156/0.3517, allocations: 2.049 MB / 0.5218 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.3518, allocations: 1.781 kB / 0.5218 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006883/0.3525, allocations: 411.9 kB / 0.5222 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.406e-05/0.3526, allocations: 96.67 kB / 0.5223 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.3526, allocations: 6.188 kB / 0.5223 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.3528, allocations: 5.891 kB / 0.5223 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.577e-05/0.3528, allocations: 16.78 kB / 0.5223 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.3528, allocations: 5.172 kB / 0.5223 GB, free: 10.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.353, allocations: 145.5 kB / 0.5225 GB, free: 10.31 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.353, allocations: 4 kB / 0.5225 GB, free: 10.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005275/0.3535, allocations: 64.83 kB / 0.5225 GB, free: 10.3 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009188/0.3545, allocations: 0.9447 MB / 0.5235 GB, free: 9.504 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007695/0.3553, allocations: 386.4 kB / 0.5238 GB, free: 9.305 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.3553, allocations: 5.156 kB / 0.5238 GB, free: 9.301 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003988/0.3557, allocations: 253.1 kB / 0.5241 GB, free: 9.145 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.3561, allocations: 40.38 kB / 0.5241 GB, free: 9.129 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/0.3595, allocations: 2.626 MB / 0.5267 GB, free: 7.258 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.3599, allocations: 0.7714 MB / 0.5274 GB, free: 6.547 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001251/0.3601, allocations: 46.78 kB / 0.5275 GB, free: 6.531 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.3602, allocations: 63.61 kB / 0.5275 GB, free: 6.484 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3602, allocations: 1.375 kB / 0.5275 GB, free: 6.484 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/0.3867, allocations: 5.306 MB / 0.5327 GB, free: 4.992 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.69, allocations: 9.469 kB / 0.5327 GB, free: 4.988 MB / 398.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1)