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: translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 105.2 kB / 17.74 MB, free: 5.352 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.001135/0.001135, allocations: 186.5 kB / 18.68 MB, free: 4.426 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.337/1.337, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1869/0.1869, allocations: 38.03 MB / 330.6 MB, free: 8.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 59.91 kB / 458.8 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3077, allocations: 58.06 MB / 0.5048 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.003709/0.3115, allocations: 3.424 MB / 0.5081 GB, free: 5.406 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.313, allocations: 1.451 MB / 0.5095 GB, free: 4.387 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.89e-05/0.3131, allocations: 6.031 kB / 0.5095 GB, free: 4.387 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006928/0.3138, allocations: 252 kB / 0.5098 GB, free: 4.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004668/0.3143, allocations: 280.4 kB / 0.51 GB, free: 4.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.3145, allocations: 115.1 kB / 0.5101 GB, free: 4.031 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003268/0.3148, allocations: 347.6 kB / 0.5105 GB, free: 3.883 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002464/0.3151, allocations: 138.7 kB / 0.5106 GB, free: 3.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.3153, allocations: 156 kB / 0.5108 GB, free: 3.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.3155, allocations: 149.2 kB / 0.5109 GB, free: 3.711 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.3155, allocations: 17.72 kB / 0.5109 GB, free: 3.707 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004261/0.316, allocations: 309.3 kB / 0.5112 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.3161, allocations: 102.4 kB / 0.5113 GB, free: 3.551 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.3162, allocations: 106.8 kB / 0.5114 GB, free: 3.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004383/0.3166, allocations: 341.3 kB / 0.5117 GB, free: 3.371 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3167, allocations: 1.062 kB / 0.5117 GB, free: 3.371 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3167, allocations: 0 / 0.5117 GB, free: 3.371 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.3167, allocations: 3.938 kB / 0.5117 GB, free: 3.367 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.0005487/0.3172, allocations: 0.5185 MB / 0.5122 GB, free: 2.895 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.3173, allocations: 13.2 kB / 0.5123 GB, free: 2.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008183/0.3181, allocations: 94.83 kB / 0.5124 GB, free: 2.871 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.3184, allocations: 262.8 kB / 0.5126 GB, free: 2.637 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.3184, allocations: 15.92 kB / 0.5126 GB, free: 2.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.673e-05/0.3185, allocations: 23.83 kB / 0.5126 GB, free: 2.617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004452/0.3189, allocations: 312.6 kB / 0.5129 GB, free: 2.449 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.3189, allocations: 1.25 kB / 0.5129 GB, free: 2.449 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.319, allocations: 9.844 kB / 0.5129 GB, free: 2.441 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.074e-05/0.319, allocations: 20.02 kB / 0.513 GB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004072/0.3194, allocations: 290.8 kB / 0.5132 GB, free: 2.348 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.3208, allocations: 1.291 MB / 0.5145 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003366/0.3211, allocations: 242.5 kB / 0.5147 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.913e-05/0.3212, allocations: 56.64 kB / 0.5148 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.3212, allocations: 5.156 kB / 0.5148 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.3213, allocations: 32.38 kB / 0.5148 GB, free: 1.094 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.532e-06/0.3213, allocations: 5.406 kB / 0.5148 GB, free: 1.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005345/0.3218, allocations: 289.2 kB / 0.5151 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.941e-05/0.3218, allocations: 79.14 kB / 0.5152 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.322, allocations: 198.6 kB / 0.5154 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.322, allocations: 26.27 kB / 0.5154 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.547e-05/0.3221, allocations: 166 kB / 0.5156 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.3221, allocations: 54.39 kB / 0.5156 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.619e-05/0.3222, allocations: 45.59 kB / 0.5157 GB, free: 472 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.346e-05/0.3222, allocations: 328.2 kB / 0.516 GB, free: 144 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.668e-05/0.3223, allocations: 45.89 kB / 0.516 GB, free: 132 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.3224, allocations: 145.9 kB / 0.5161 GB, free: 15.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/0.3227, allocations: 210.4 kB / 0.5163 GB, free: 15.81 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3227, allocations: 5.375 kB / 0.5164 GB, free: 15.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003319/0.323, allocations: 234.2 kB / 0.5166 GB, free: 15.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.323, allocations: 6.812 kB / 0.5166 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.3231, allocations: 4.125 kB / 0.5166 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.3231, allocations: 12.09 kB / 0.5166 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.3232, allocations: 40.86 kB / 0.5166 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.3233, allocations: 13 kB / 0.5166 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.3234, allocations: 10.94 kB / 0.5167 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.3234, allocations: 8 kB / 0.5167 GB, free: 15.68 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.0001238/0.3235, allocations: 156.3 kB / 0.5168 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.3236, allocations: 24.55 kB / 0.5168 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002637/0.3238, allocations: 153.2 kB / 0.517 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.3239, allocations: 5.125 kB / 0.517 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3239, allocations: 1.344 kB / 0.517 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.495e-05/0.3239, allocations: 91.33 kB / 0.5171 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.324, allocations: 2.312 kB / 0.5171 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.3241, allocations: 9.609 kB / 0.5171 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.3241, allocations: 8.234 kB / 0.5171 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003064/0.3244, allocations: 293.6 kB / 0.5174 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003243/0.3248, allocations: 407.8 kB / 0.5178 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001012/0.3249, allocations: 50.73 kB / 0.5178 GB, free: 14.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.325, allocations: 146.1 kB / 0.518 GB, free: 14.67 MB / 398.1 MB Notification: Performance of Backend: time 4.21e-07/0.325, allocations: 0 / 0.518 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009455/0.326, allocations: 327.9 kB / 0.5183 GB, free: 14.54 MB / 398.1 MB Notification: Performance of SimCode: time 0.0009955/0.327, allocations: 0.8479 MB / 0.5191 GB, free: 13.83 MB / 398.1 MB Notification: Performance of Templates: time 0.006426/0.3334, allocations: 2.804 MB / 0.5218 GB, free: 13.52 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile (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 & ./PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1)