Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.AdmittanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest",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: 114 kB / 17.07 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.001141/0.001141, allocations: 198.8 kB / 18.01 MB, free: 5.051 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.347/1.347, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1731/0.1731, allocations: 38.03 MB / 329.9 MB, free: 8.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 67.91 kB / 457.6 MB, free: 7.332 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3254, allocations: 58.05 MB / 0.5036 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.004916/0.3303, allocations: 3.427 MB / 0.507 GB, free: 5.094 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.3324, allocations: 1.446 MB / 0.5084 GB, free: 4.082 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001953/0.3326, allocations: 8.75 kB / 0.5084 GB, free: 4.078 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008737/0.3335, allocations: 260.2 kB / 0.5086 GB, free: 3.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007345/0.3342, allocations: 284.8 kB / 0.5089 GB, free: 3.773 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.3346, allocations: 113.7 kB / 0.509 GB, free: 3.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004583/0.335, allocations: 348.2 kB / 0.5093 GB, free: 3.566 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003158/0.3354, allocations: 132.5 kB / 0.5095 GB, free: 3.523 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003369/0.3357, allocations: 156.7 kB / 0.5096 GB, free: 3.453 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002974/0.336, allocations: 150.1 kB / 0.5097 GB, free: 3.395 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.641e-05/0.3361, allocations: 13.56 kB / 0.5098 GB, free: 3.395 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005936/0.3367, allocations: 308.2 kB / 0.5101 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.3368, allocations: 95.22 kB / 0.5101 GB, free: 3.246 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.337, allocations: 112.4 kB / 0.5103 GB, free: 3.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006627/0.3377, allocations: 345.4 kB / 0.5106 GB, free: 3.059 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3377, allocations: 1.219 kB / 0.5106 GB, free: 3.059 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3377, allocations: 4 kB / 0.5106 GB, free: 3.055 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.3377, allocations: 0 / 0.5106 GB, free: 3.055 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.0007284/0.3384, allocations: 0.5154 MB / 0.5111 GB, free: 2.586 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.3385, allocations: 12.67 kB / 0.5111 GB, free: 2.582 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.788e-05/0.3385, allocations: 51.14 kB / 0.5112 GB, free: 2.535 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009851/0.3395, allocations: 94.44 kB / 0.5112 GB, free: 2.516 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003548/0.3399, allocations: 275.1 kB / 0.5115 GB, free: 2.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.3399, allocations: 12.09 kB / 0.5115 GB, free: 2.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.01e-05/0.34, allocations: 20.55 kB / 0.5115 GB, free: 2.258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005126/0.3405, allocations: 311.1 kB / 0.5118 GB, free: 2.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.3405, allocations: 5.672 kB / 0.5118 GB, free: 2.086 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.3406, allocations: 10.28 kB / 0.5118 GB, free: 2.078 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.702e-05/0.3406, allocations: 16.86 kB / 0.5119 GB, free: 2.078 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004656/0.3411, allocations: 290.9 kB / 0.5121 GB, free: 1.988 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.3427, allocations: 1.286 MB / 0.5134 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003917/0.3431, allocations: 238.6 kB / 0.5136 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.696e-05/0.3432, allocations: 59.56 kB / 0.5137 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.3432, allocations: 2.797 kB / 0.5137 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.3432, allocations: 40.77 kB / 0.5137 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.843e-06/0.3432, allocations: 1.188 kB / 0.5137 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006591/0.3439, allocations: 289.6 kB / 0.514 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.3439, allocations: 79.5 kB / 0.5141 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.3441, allocations: 197.6 kB / 0.5143 GB, free: 368 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.3442, allocations: 28.11 kB / 0.5143 GB, free: 336 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.03e-05/0.3442, allocations: 165 kB / 0.5144 GB, free: 184 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.3443, allocations: 53.84 kB / 0.5145 GB, free: 140 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.62e-05/0.3444, allocations: 49.22 kB / 0.5145 GB, free: 104 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.3445, allocations: 325 kB / 0.5149 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.886e-05/0.3446, allocations: 49.23 kB / 0.5149 GB, free: 15.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.3447, allocations: 142.6 kB / 0.515 GB, free: 15.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.345, allocations: 217.4 kB / 0.5152 GB, free: 15.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.345, allocations: 1.031 kB / 0.5152 GB, free: 15.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003637/0.3454, allocations: 230.8 kB / 0.5155 GB, free: 15.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3454, allocations: 6.531 kB / 0.5155 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.3454, allocations: 4.031 kB / 0.5155 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.3454, allocations: 4.812 kB / 0.5155 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.3456, allocations: 48.88 kB / 0.5155 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.3456, allocations: 5.109 kB / 0.5155 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.3458, allocations: 9.125 kB / 0.5155 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.3458, allocations: 10.73 kB / 0.5156 GB, free: 15.33 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001395/0.3459, allocations: 160.3 kB / 0.5157 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.545e-05/0.346, allocations: 19.53 kB / 0.5157 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002859/0.3463, allocations: 156.6 kB / 0.5159 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.3463, allocations: 6.094 kB / 0.5159 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3463, allocations: 1.094 kB / 0.5159 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.3463, allocations: 2.031 kB / 0.5159 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008942/0.3472, allocations: 0.6663 MB / 0.5165 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.3472, allocations: 4.438 kB / 0.5165 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.3474, allocations: 32.62 kB / 0.5166 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/0.3474, allocations: 4.906 kB / 0.5166 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.3474, allocations: 9.094 kB / 0.5166 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.657e-06/0.3474, allocations: 5.203 kB / 0.5166 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/0.3474, allocations: 12.83 kB / 0.5166 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003241/0.3478, allocations: 338.7 kB / 0.5169 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.365e-05/0.3479, allocations: 98.97 kB / 0.517 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.165e-05/0.3479, allocations: 10.88 kB / 0.517 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.348, allocations: 3.625 kB / 0.517 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.3481, allocations: 27.84 kB / 0.5171 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.3481, allocations: 8.984 kB / 0.5171 GB, free: 14.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001389/0.3483, allocations: 145.7 kB / 0.5172 GB, free: 14.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3483, allocations: 0.5312 kB / 0.5172 GB, free: 14.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004133/0.3487, allocations: 42.94 kB / 0.5172 GB, free: 14.02 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (15): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006072/0.3493, allocations: 0.8658 MB / 0.5181 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002991/0.3496, allocations: 150.9 kB / 0.5182 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3496, allocations: 0.5312 kB / 0.5182 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.3497, allocations: 64.22 kB / 0.5183 GB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004681/0.3502, allocations: 41.73 kB / 0.5183 GB, free: 13.09 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00269/0.3529, allocations: 2.421 MB / 0.5207 GB, free: 11.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.3533, allocations: 0.7626 MB / 0.5214 GB, free: 10.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000144/0.3535, allocations: 48.23 kB / 0.5215 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.3536, allocations: 59 kB / 0.5215 GB, free: 10.32 MB / 398.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3536, allocations: 0 / 0.5215 GB, free: 10.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/0.376, allocations: 3.5 MB / 0.525 GB, free: 9.766 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.688/8.064, allocations: 10.09 kB / 0.525 GB, free: 9.762 MB / 398.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest_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_AdmittanceTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1)