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.001232/0.001232, allocations: 113.2 kB / 17.07 MB, free: 5.988 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.001317/0.001317, allocations: 193.4 kB / 18 MB, free: 5.074 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.427/1.427, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1885/0.1885, allocations: 38.03 MB / 329.9 MB, free: 8.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002617/0.002617, allocations: 59.91 kB / 457.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4049, allocations: 58.06 MB / 0.5036 GB, free: 7.426 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.003982/0.409, allocations: 3.462 MB / 0.507 GB, free: 5.016 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.4109, allocations: 1.525 MB / 0.5085 GB, free: 3.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.411, allocations: 8.219 kB / 0.5085 GB, free: 3.941 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008751/0.4119, allocations: 257.5 kB / 0.5087 GB, free: 3.785 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007959/0.4127, allocations: 283.9 kB / 0.509 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004532/0.4132, allocations: 133.3 kB / 0.5091 GB, free: 3.566 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005389/0.4137, allocations: 343.3 kB / 0.5095 GB, free: 3.426 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003423/0.4141, allocations: 135 kB / 0.5096 GB, free: 3.383 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.4143, allocations: 156.5 kB / 0.5097 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002585/0.4146, allocations: 152 kB / 0.5099 GB, free: 3.246 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.4146, allocations: 15.28 kB / 0.5099 GB, free: 3.246 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006078/0.4152, allocations: 326 kB / 0.5102 GB, free: 3.121 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.4154, allocations: 98.69 kB / 0.5103 GB, free: 3.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.4155, allocations: 103.1 kB / 0.5104 GB, free: 3.031 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000575/0.4161, allocations: 366.8 kB / 0.5107 GB, free: 2.898 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4161, allocations: 0 / 0.5107 GB, free: 2.898 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4161, allocations: 5.062 kB / 0.5108 GB, free: 2.895 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.4161, allocations: 0 / 0.5108 GB, free: 2.895 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.0006733/0.4168, allocations: 0.5222 MB / 0.5113 GB, free: 2.422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.4169, allocations: 14.41 kB / 0.5113 GB, free: 2.418 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.211e-05/0.4169, allocations: 62.92 kB / 0.5113 GB, free: 2.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.418, allocations: 102.9 kB / 0.5114 GB, free: 2.344 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.4183, allocations: 272.1 kB / 0.5117 GB, free: 2.102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.4183, allocations: 14.95 kB / 0.5117 GB, free: 2.094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.214e-05/0.4184, allocations: 16.77 kB / 0.5117 GB, free: 2.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005235/0.4189, allocations: 328.4 kB / 0.512 GB, free: 1.914 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.4189, allocations: 1.094 kB / 0.512 GB, free: 1.914 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.419, allocations: 14.05 kB / 0.512 GB, free: 1.902 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-05/0.419, allocations: 16.2 kB / 0.5121 GB, free: 1.902 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004729/0.4195, allocations: 313.3 kB / 0.5124 GB, free: 1.809 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.421, allocations: 1.249 MB / 0.5136 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.4213, allocations: 164.9 kB / 0.5137 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.4214, allocations: 107 kB / 0.5138 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.4215, allocations: 11.23 kB / 0.5139 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.4215, allocations: 36 kB / 0.5139 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 2.134e-06/0.4215, allocations: 5.312 kB / 0.5139 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.001481/0.423, allocations: 0.6607 MB / 0.5145 GB, free: 352 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.423, allocations: 83.83 kB / 0.5146 GB, free: 252 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.4232, allocations: 190.6 kB / 0.5148 GB, free: 120 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.4233, allocations: 30.92 kB / 0.5148 GB, free: 84 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.4234, allocations: 169.2 kB / 0.515 GB, free: 15.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.191e-05/0.4235, allocations: 61 kB / 0.515 GB, free: 15.88 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.669e-05/0.4236, allocations: 42.94 kB / 0.5151 GB, free: 15.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.4237, allocations: 328.5 kB / 0.5154 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.4239, allocations: 82.36 kB / 0.5155 GB, free: 15.51 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.4241, allocations: 146.5 kB / 0.5156 GB, free: 15.4 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004091/0.4245, allocations: 262.6 kB / 0.5159 GB, free: 15.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4245, allocations: 1.094 kB / 0.5159 GB, free: 15.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00074/0.4253, allocations: 355.9 kB / 0.5162 GB, free: 15.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.4253, allocations: 6.781 kB / 0.5162 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.4253, allocations: 1.938 kB / 0.5162 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000436/0.4258, allocations: 89.94 kB / 0.5163 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.426, allocations: 43.39 kB / 0.5163 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003044/0.429, allocations: 2.177 MB / 0.5185 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.4292, allocations: 12.78 kB / 0.5185 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.4292, allocations: 8.859 kB / 0.5185 GB, free: 13.25 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.0001858/0.4294, allocations: 160.2 kB / 0.5186 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.192e-05/0.4295, allocations: 20.73 kB / 0.5187 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006435/0.4301, allocations: 327.5 kB / 0.519 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.4301, allocations: 1.406 kB / 0.519 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.4302, allocations: 2.141 kB / 0.519 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4302, allocations: 2.125 kB / 0.519 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.4314, allocations: 0.7451 MB / 0.5197 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4314, allocations: 1.125 kB / 0.5197 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.4315, allocations: 24.02 kB / 0.5197 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002721/0.4318, allocations: 79.41 kB / 0.5198 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.4318, allocations: 2.922 kB / 0.5198 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002209/0.434, allocations: 2.053 MB / 0.5218 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.4341, allocations: 1.625 kB / 0.5218 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006115/0.4347, allocations: 411.4 kB / 0.5222 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.865e-05/0.4348, allocations: 97.03 kB / 0.5223 GB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.4348, allocations: 5.938 kB / 0.5223 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.4349, allocations: 6.172 kB / 0.5223 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.435, allocations: 20.91 kB / 0.5223 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.435, allocations: 9.203 kB / 0.5223 GB, free: 10.31 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001518/0.4352, allocations: 146.1 kB / 0.5225 GB, free: 10.21 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4352, allocations: 0 / 0.5225 GB, free: 10.21 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004528/0.4356, allocations: 64.34 kB / 0.5225 GB, free: 10.21 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.0009473/0.4366, allocations: 0.9452 MB / 0.5235 GB, free: 9.414 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007194/0.4373, allocations: 386 kB / 0.5238 GB, free: 9.215 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4373, allocations: 1.031 kB / 0.5238 GB, free: 9.215 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004082/0.4377, allocations: 260.3 kB / 0.5241 GB, free: 9.055 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.4381, allocations: 31.7 kB / 0.5241 GB, free: 9.043 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003316/0.4414, allocations: 2.635 MB / 0.5267 GB, free: 7.168 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/0.4419, allocations: 0.7668 MB / 0.5274 GB, free: 6.461 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.442, allocations: 38.48 kB / 0.5275 GB, free: 6.453 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.4422, allocations: 61 kB / 0.5275 GB, free: 6.41 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4422, allocations: 3.938 kB / 0.5275 GB, free: 6.406 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03199/0.4742, allocations: 5.32 MB / 0.5327 GB, free: 4.961 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.43, allocations: 12.69 kB / 0.5327 GB, free: 4.953 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)