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.00143/0.00143, allocations: 111.7 kB / 17.06 MB, free: 6.008 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.001452/0.001452, allocations: 195.9 kB / 18 MB, free: 5.094 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.415/1.415, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1819/0.1819, allocations: 38.03 MB / 329.9 MB, free: 8.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 75.88 kB / 457.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3236, 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.004162/0.3278, allocations: 3.432 MB / 0.507 GB, free: 5.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.3296, allocations: 1.445 MB / 0.5084 GB, free: 4.078 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.3297, allocations: 5.688 kB / 0.5084 GB, free: 4.078 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007143/0.3305, allocations: 253.3 kB / 0.5086 GB, free: 3.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005936/0.3311, allocations: 281.8 kB / 0.5089 GB, free: 3.781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.3314, allocations: 117.9 kB / 0.509 GB, free: 3.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003865/0.3318, allocations: 343.8 kB / 0.5093 GB, free: 3.574 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000288/0.3321, allocations: 130.9 kB / 0.5094 GB, free: 3.531 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002133/0.3323, allocations: 152.6 kB / 0.5096 GB, free: 3.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.3325, allocations: 151.4 kB / 0.5097 GB, free: 3.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.3326, allocations: 14.53 kB / 0.5098 GB, free: 3.398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005114/0.3331, allocations: 305.1 kB / 0.51 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.3332, allocations: 99.59 kB / 0.5101 GB, free: 3.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.3334, allocations: 112.2 kB / 0.5102 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005044/0.3339, allocations: 346 kB / 0.5106 GB, free: 3.062 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3339, allocations: 0 / 0.5106 GB, free: 3.062 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3339, allocations: 0 / 0.5106 GB, free: 3.062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.3339, allocations: 4 kB / 0.5106 GB, free: 3.059 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.0006452/0.3346, allocations: 0.5156 MB / 0.5111 GB, free: 2.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.3346, allocations: 12.61 kB / 0.5111 GB, free: 2.586 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.78e-05/0.3347, allocations: 51.89 kB / 0.5111 GB, free: 2.539 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008638/0.3355, allocations: 98.72 kB / 0.5112 GB, free: 2.516 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.3358, allocations: 265.7 kB / 0.5115 GB, free: 2.277 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.3359, allocations: 12.66 kB / 0.5115 GB, free: 2.273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.3359, allocations: 19.91 kB / 0.5115 GB, free: 2.266 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004632/0.3364, allocations: 317.1 kB / 0.5118 GB, free: 2.094 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.3364, allocations: 0 / 0.5118 GB, free: 2.094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.3365, allocations: 10.34 kB / 0.5118 GB, free: 2.086 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.218e-05/0.3365, allocations: 15.8 kB / 0.5119 GB, free: 2.086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000412/0.3369, allocations: 295.6 kB / 0.5121 GB, free: 1.992 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.3383, allocations: 1.286 MB / 0.5134 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/0.3387, allocations: 243.4 kB / 0.5136 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.473e-05/0.3388, allocations: 59.91 kB / 0.5137 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.3389, allocations: 1.766 kB / 0.5137 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.3389, allocations: 37.41 kB / 0.5137 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.3389, allocations: 0 / 0.5137 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006064/0.3395, allocations: 293.3 kB / 0.514 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.3395, allocations: 83.61 kB / 0.5141 GB, free: 500 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.3397, allocations: 198.8 kB / 0.5143 GB, free: 364 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.3397, allocations: 27.11 kB / 0.5143 GB, free: 332 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.689e-05/0.3398, allocations: 161.2 kB / 0.5144 GB, free: 184 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.3399, allocations: 54.58 kB / 0.5145 GB, free: 140 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.055e-05/0.3399, allocations: 44.75 kB / 0.5145 GB, free: 108 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3401, allocations: 324.9 kB / 0.5148 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-05/0.3402, allocations: 49.16 kB / 0.5149 GB, free: 15.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.3404, allocations: 139.3 kB / 0.515 GB, free: 15.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.3406, allocations: 221.5 kB / 0.5152 GB, free: 15.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.3407, allocations: 1.094 kB / 0.5152 GB, free: 15.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000345/0.341, allocations: 234 kB / 0.5155 GB, free: 15.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.341, allocations: 10.03 kB / 0.5155 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.3411, allocations: 3.938 kB / 0.5155 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.3411, allocations: 5.094 kB / 0.5155 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.3412, allocations: 48.27 kB / 0.5155 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.3413, allocations: 8.312 kB / 0.5155 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.3414, allocations: 6.734 kB / 0.5155 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.3414, allocations: 9.375 kB / 0.5156 GB, free: 15.32 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.0001583/0.3416, allocations: 161.1 kB / 0.5157 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-05/0.3416, allocations: 19.3 kB / 0.5157 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002792/0.3419, allocations: 153.6 kB / 0.5159 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.3419, allocations: 2.219 kB / 0.5159 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3419, allocations: 4.547 kB / 0.5159 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3419, allocations: 1.781 kB / 0.5159 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000928/0.3429, allocations: 0.6664 MB / 0.5165 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.3429, allocations: 3.906 kB / 0.5165 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.343, allocations: 32.52 kB / 0.5166 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.343, allocations: 5.344 kB / 0.5166 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.343, allocations: 9.438 kB / 0.5166 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.706e-06/0.3431, allocations: 5.812 kB / 0.5166 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.3431, allocations: 8.562 kB / 0.5166 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.3434, allocations: 338.5 kB / 0.5169 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.288e-05/0.3435, allocations: 102.2 kB / 0.517 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.693e-05/0.3436, allocations: 10.67 kB / 0.517 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.3437, allocations: 4.703 kB / 0.517 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.3437, allocations: 23.69 kB / 0.517 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.3438, allocations: 8.188 kB / 0.5171 GB, free: 14.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001769/0.344, allocations: 146.5 kB / 0.5172 GB, free: 14.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.344, allocations: 0 / 0.5172 GB, free: 14.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003931/0.3444, allocations: 44.61 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.0006815/0.3451, allocations: 0.8631 MB / 0.5181 GB, free: 13.19 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003254/0.3454, allocations: 148.6 kB / 0.5182 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.3454, allocations: 0.7188 kB / 0.5182 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.3455, allocations: 68.11 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.0004574/0.346, allocations: 34.56 kB / 0.5183 GB, free: 13.1 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/0.349, allocations: 2.417 MB / 0.5207 GB, free: 11.1 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004839/0.3495, allocations: 0.7698 MB / 0.5214 GB, free: 10.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001409/0.3497, allocations: 52.28 kB / 0.5215 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.3498, allocations: 58.91 kB / 0.5215 GB, free: 10.32 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3498, allocations: 1.031 kB / 0.5215 GB, free: 10.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02578/0.3756, allocations: 3.488 MB / 0.5249 GB, free: 9.777 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.179/8.554, allocations: 16.83 kB / 0.525 GB, free: 9.766 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)