Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001462/0.001462, allocations: 177.2 kB / 15.78 MB, free: 6.352 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205.4 MB / 221.9 MB, free: 13.75 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008428/0.0008428, allocations: 94.3 kB / 270.3 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1599/0.1599, allocations: 38.06 MB / 356.6 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003704, allocations: 12 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08972/0.09011, allocations: 56.33 MB / 479.1 MB, free: 2.027 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.004138/0.0943, allocations: 3.19 MB / 482.3 MB, free: 14.82 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002092/0.09643, allocations: 1.436 MB / 483.7 MB, free: 13.37 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002529/0.09672, allocations: 11.94 kB / 483.7 MB, free: 13.36 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002075/0.09694, allocations: 35.7 kB / 483.7 MB, free: 13.32 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007186/0.09767, allocations: 215.1 kB / 483.9 MB, free: 13.11 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.09799, allocations: 95.75 kB / 484 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006143/0.09863, allocations: 442.8 kB / 484.5 MB, free: 12.59 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006591/0.0993, allocations: 311.1 kB / 484.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002835/0.0996, allocations: 115.5 kB / 484.9 MB, free: 12.15 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002658/0.09987, allocations: 151.5 kB / 485 MB, free: 12 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.209e-05/0.09992, allocations: 8 kB / 485 MB, free: 12 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003697/0.1003, allocations: 171.5 kB / 485.2 MB, free: 11.83 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.1004, allocations: 99.8 kB / 485.3 MB, free: 11.73 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.998e-05/0.1005, allocations: 65.58 kB / 485.4 MB, free: 11.66 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003498/0.1009, allocations: 235.5 kB / 485.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1009, allocations: 0 / 485.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1009, allocations: 0 / 485.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1009, allocations: 0 / 485.6 MB, free: 11.43 MB / 330.7 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.0006934/0.1016, allocations: 482.5 kB / 486.1 MB, free: 10.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1016, allocations: 12.03 kB / 486.1 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009042/0.1026, allocations: 95.56 kB / 486.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/0.1029, allocations: 259.2 kB / 486.4 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.1029, allocations: 15.98 kB / 486.4 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.132e-05/0.103, allocations: 16 kB / 486.5 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004779/0.1035, allocations: 310.3 kB / 486.8 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1035, allocations: 0 / 486.8 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.717e-05/0.1035, allocations: 15.98 kB / 486.8 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.142e-05/0.1036, allocations: 19.98 kB / 486.8 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004323/0.104, allocations: 287.7 kB / 487.1 MB, free: 9.836 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.1057, allocations: 1.293 MB / 488.4 MB, free: 8.445 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003951/0.1061, allocations: 238.4 kB / 488.6 MB, free: 8.176 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.632e-05/0.1062, allocations: 57.64 kB / 488.7 MB, free: 8.113 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.1062, allocations: 0 / 488.7 MB, free: 8.113 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.1062, allocations: 30.56 kB / 488.7 MB, free: 8.074 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.1063, allocations: 4 kB / 488.7 MB, free: 8.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006596/0.1069, allocations: 292.3 kB / 489 MB, free: 7.777 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.107, allocations: 77.11 kB / 489.1 MB, free: 7.684 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.1072, allocations: 194.2 kB / 489.2 MB, free: 7.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1072, allocations: 29.7 kB / 489.3 MB, free: 7.445 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.1073, allocations: 159.8 kB / 489.4 MB, free: 7.285 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.138e-05/0.1074, allocations: 55.28 kB / 489.5 MB, free: 7.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-06/0.1074, allocations: 4 kB / 489.5 MB, free: 7.227 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1075, allocations: 334.9 kB / 489.8 MB, free: 6.891 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.069e-05/0.1076, allocations: 51.91 kB / 489.9 MB, free: 6.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.1078, allocations: 140.7 kB / 490 MB, free: 6.656 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.1079, allocations: 79.91 kB / 490.1 MB, free: 6.578 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1079, allocations: 0 / 490.1 MB, free: 6.578 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003256/0.1083, allocations: 221.8 kB / 490.3 MB, free: 6.355 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1083, allocations: 8.375 kB / 490.3 MB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.1083, allocations: 8 kB / 490.3 MB, free: 6.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.1083, allocations: 4 kB / 490.3 MB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.1085, allocations: 47.91 kB / 490.4 MB, free: 6.289 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.1085, allocations: 4 kB / 490.4 MB, free: 6.285 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.1086, allocations: 8 kB / 490.4 MB, free: 6.277 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.1087, allocations: 12 kB / 490.4 MB, free: 6.266 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001459/0.1088, allocations: 161.7 kB / 490.5 MB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.1089, allocations: 15.81 kB / 490.6 MB, free: 6.082 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002595/0.1091, allocations: 155 kB / 490.7 MB, free: 5.926 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1091, allocations: 4 kB / 490.7 MB, free: 5.922 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1091, allocations: 0 / 490.7 MB, free: 5.922 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1092, allocations: 0 / 490.7 MB, free: 5.922 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008347/0.11, allocations: 0.6611 MB / 491.4 MB, free: 5.164 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.11, allocations: 4 kB / 491.4 MB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.1101, allocations: 28.36 kB / 491.4 MB, free: 5.133 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.934e-06/0.1101, allocations: 7.953 kB / 491.4 MB, free: 5.125 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.1102, allocations: 24.05 kB / 491.4 MB, free: 5.102 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.1102, allocations: 4 kB / 491.4 MB, free: 5.098 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.1102, allocations: 7.938 kB / 491.5 MB, free: 5.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003426/0.1105, allocations: 335.3 kB / 491.8 MB, free: 4.703 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.1106, allocations: 96.92 kB / 491.9 MB, free: 4.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.1106, allocations: 7.953 kB / 491.9 MB, free: 4.582 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.1108, allocations: 11.98 kB / 491.9 MB, free: 4.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.1108, allocations: 15.92 kB / 491.9 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.1108, allocations: 8 kB / 491.9 MB, free: 4.547 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001111/0.111, allocations: 152.1 kB / 492.1 MB, free: 4.398 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.111, allocations: 0 / 492.1 MB, free: 4.398 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003511/0.1113, allocations: 44 kB / 492.1 MB, free: 4.355 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001182/0.1114, allocations: 107.1 kB / 492.2 MB, free: 4.242 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002376/0.1117, allocations: 144.4 kB / 492.4 MB, free: 4.102 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1117, allocations: 0 / 492.4 MB, free: 4.102 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.1118, allocations: 59.84 kB / 492.4 MB, free: 4.043 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.1122, allocations: 36.11 kB / 492.4 MB, free: 4.008 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000874/0.1131, allocations: 0.6181 MB / 493.1 MB, free: 3.316 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.1135, allocations: 0.7597 MB / 493.8 MB, free: 2.527 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.557e-05/0.1136, allocations: 19.44 kB / 493.8 MB, free: 2.508 MB / 330.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1136, allocations: 4 kB / 493.8 MB, free: 2.504 MB / 330.7 MB Notification: Performance of Templates: time 0.004244/0.1178, allocations: 2.249 MB / 496.1 MB, free: 256 kB / 330.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1)