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.00125/0.001251, allocations: 112.9 kB / 17.06 MB, free: 5.945 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.001397/0.001397, allocations: 200 kB / 18.01 MB, free: 5.031 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.37/1.37, allocations: 222.9 MB / 241.7 MB, free: 14.85 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1923/0.1923, allocations: 38.03 MB / 329.9 MB, free: 8.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 67.89 kB / 457.6 MB, free: 7.328 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3343, allocations: 58.07 MB / 0.5036 GB, free: 7.488 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.003874/0.3382, allocations: 3.426 MB / 0.507 GB, free: 5.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.3398, allocations: 1.444 MB / 0.5084 GB, free: 4.098 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.3399, allocations: 8.312 kB / 0.5084 GB, free: 4.094 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007187/0.3407, allocations: 253.6 kB / 0.5086 GB, free: 3.941 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005217/0.3412, allocations: 278.5 kB / 0.5089 GB, free: 3.797 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.3415, allocations: 114 kB / 0.509 GB, free: 3.738 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003448/0.3418, allocations: 352.3 kB / 0.5093 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000248/0.3421, allocations: 138.5 kB / 0.5095 GB, free: 3.543 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.3423, allocations: 148.1 kB / 0.5096 GB, free: 3.477 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002243/0.3425, allocations: 147.2 kB / 0.5097 GB, free: 3.418 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.056e-05/0.3426, allocations: 14.94 kB / 0.5098 GB, free: 3.418 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004659/0.343, allocations: 307.8 kB / 0.5101 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.3432, allocations: 96.22 kB / 0.5101 GB, free: 3.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.3433, allocations: 110.1 kB / 0.5102 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004853/0.3438, allocations: 341.2 kB / 0.5106 GB, free: 3.086 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3438, allocations: 4.703 kB / 0.5106 GB, free: 3.082 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3438, allocations: 4.906 kB / 0.5106 GB, free: 3.078 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.3438, allocations: 0 / 0.5106 GB, free: 3.078 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.0005688/0.3444, allocations: 0.5142 MB / 0.5111 GB, free: 2.609 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.3444, allocations: 13.73 kB / 0.5111 GB, free: 2.605 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.669e-05/0.3445, allocations: 55.52 kB / 0.5112 GB, free: 2.555 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009184/0.3454, allocations: 93.88 kB / 0.5112 GB, free: 2.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.3457, allocations: 274.9 kB / 0.5115 GB, free: 2.289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.3457, allocations: 11.97 kB / 0.5115 GB, free: 2.285 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.244e-05/0.3458, allocations: 20.03 kB / 0.5115 GB, free: 2.277 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004426/0.3462, allocations: 320.5 kB / 0.5118 GB, free: 2.102 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.3462, allocations: 1.031 kB / 0.5118 GB, free: 2.102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.3463, allocations: 6.25 kB / 0.5118 GB, free: 2.098 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.217e-05/0.3463, allocations: 15.23 kB / 0.5119 GB, free: 2.098 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004038/0.3467, allocations: 291.4 kB / 0.5121 GB, free: 2.008 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.3481, allocations: 1.282 MB / 0.5134 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003604/0.3484, allocations: 245.7 kB / 0.5136 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.811e-05/0.3485, allocations: 54.06 kB / 0.5137 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.3485, allocations: 3.234 kB / 0.5137 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.3486, allocations: 40.61 kB / 0.5137 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.3486, allocations: 0 / 0.5137 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005649/0.3491, allocations: 290.1 kB / 0.514 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.3492, allocations: 83.36 kB / 0.5141 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.3494, allocations: 194.4 kB / 0.5143 GB, free: 392 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.3494, allocations: 27.05 kB / 0.5143 GB, free: 360 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.92e-05/0.3495, allocations: 169.4 kB / 0.5144 GB, free: 204 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.3495, allocations: 49.91 kB / 0.5145 GB, free: 164 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.793e-05/0.3496, allocations: 44.59 kB / 0.5145 GB, free: 132 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.3497, allocations: 324.9 kB / 0.5148 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.979e-05/0.3498, allocations: 53.62 kB / 0.5149 GB, free: 15.79 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.3499, allocations: 139.4 kB / 0.515 GB, free: 15.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.3502, allocations: 221.5 kB / 0.5152 GB, free: 15.47 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3502, allocations: 2.094 kB / 0.5152 GB, free: 15.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003396/0.3506, allocations: 228.5 kB / 0.5155 GB, free: 15.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.3506, allocations: 6.844 kB / 0.5155 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3506, allocations: 3.781 kB / 0.5155 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.3506, allocations: 10.02 kB / 0.5155 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.3508, allocations: 48.2 kB / 0.5155 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.3508, allocations: 5.625 kB / 0.5155 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.3509, allocations: 13.22 kB / 0.5155 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.351, allocations: 13.19 kB / 0.5156 GB, free: 15.34 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.0001508/0.3511, allocations: 152 kB / 0.5157 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.765e-05/0.3512, allocations: 25.05 kB / 0.5157 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/0.3515, allocations: 152.3 kB / 0.5159 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.3515, allocations: 6.844 kB / 0.5159 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3515, allocations: 0.6562 kB / 0.5159 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.3515, allocations: 2.156 kB / 0.5159 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009417/0.3524, allocations: 0.6661 MB / 0.5165 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.3525, allocations: 7.312 kB / 0.5165 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.3526, allocations: 33.31 kB / 0.5166 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.3526, allocations: 4.719 kB / 0.5166 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.3526, allocations: 9.781 kB / 0.5166 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.3526, allocations: 5.109 kB / 0.5166 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.3526, allocations: 8.812 kB / 0.5166 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003539/0.353, allocations: 334.7 kB / 0.5169 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.343e-05/0.3531, allocations: 99.42 kB / 0.517 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.678e-05/0.3531, allocations: 14.41 kB / 0.517 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.3533, allocations: 8.938 kB / 0.517 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.3533, allocations: 23.12 kB / 0.5171 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.3533, allocations: 8.609 kB / 0.5171 GB, free: 14.13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001539/0.3535, allocations: 146.3 kB / 0.5172 GB, free: 14.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3535, allocations: 0.5312 kB / 0.5172 GB, free: 14.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003766/0.3539, allocations: 43.03 kB / 0.5172 GB, free: 14.03 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.0006592/0.3545, allocations: 0.8721 MB / 0.5181 GB, free: 13.19 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002934/0.3549, allocations: 143.6 kB / 0.5182 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.3549, allocations: 0.5 kB / 0.5182 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.355, allocations: 65.47 kB / 0.5183 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.3554, allocations: 41.09 kB / 0.5183 GB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002977/0.3584, allocations: 2.423 MB / 0.5207 GB, free: 11.1 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005053/0.3589, allocations: 0.7602 MB / 0.5214 GB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001519/0.3591, allocations: 42.69 kB / 0.5215 GB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.3592, allocations: 59.47 kB / 0.5215 GB, free: 10.34 MB / 398.1 MB Notification: Performance of SimCode: time 1.182e-06/0.3592, allocations: 1.094 kB / 0.5215 GB, free: 10.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02701/0.3863, allocations: 3.497 MB / 0.525 GB, free: 9.789 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.974/8.36, allocations: 8.656 kB / 0.525 GB, free: 9.785 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1)