Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001475/0.001476, allocations: 184.8 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.032/2.032, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 88 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.307/0.307, allocations: 37.97 MB / 353.1 MB, free: 3.059 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.403e-05/3.413e-05, allocations: 0 / 416.8 MB, free: 41.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1021, allocations: 56.32 MB / 473.1 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4691/0.5713, allocations: 93.91 MB / 0.5537 GB, free: 9.824 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/0.5717, allocations: 83.95 kB / 0.5538 GB, free: 9.742 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05365/0.6253, allocations: 13.15 MB / 0.5667 GB, free: 12.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6254, allocations: 0 / 0.5667 GB, free: 12.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.239e-05/0.6254, allocations: 8 kB / 0.5667 GB, free: 12.43 MB / 410.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.0008299/0.6263, allocations: 482.2 kB / 0.5671 GB, free: 11.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.6263, allocations: 8.031 kB / 0.5671 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001308/0.6277, allocations: 107.5 kB / 0.5672 GB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005442/0.6282, allocations: 263.2 kB / 0.5675 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/0.6283, allocations: 12 kB / 0.5675 GB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.053e-05/0.6283, allocations: 20 kB / 0.5675 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007199/0.6291, allocations: 310.3 kB / 0.5678 GB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.6291, allocations: 3.906 kB / 0.5678 GB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.552e-05/0.6292, allocations: 4 kB / 0.5678 GB, free: 11.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001328/0.6293, allocations: 27.97 kB / 0.5679 GB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007069/0.63, allocations: 271.7 kB / 0.5681 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002724/0.6328, allocations: 1.297 MB / 0.5694 GB, free: 9.441 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005918/0.6334, allocations: 169.2 kB / 0.5695 GB, free: 9.258 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.6336, allocations: 49.78 kB / 0.5696 GB, free: 9.203 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.811e-05/0.6336, allocations: 3.984 kB / 0.5696 GB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.6337, allocations: 38.56 kB / 0.5696 GB, free: 9.152 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 3.086e-06/0.6337, allocations: 0 / 0.5696 GB, free: 9.152 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.001052/0.6347, allocations: 282.2 kB / 0.5699 GB, free: 8.867 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.6348, allocations: 85.09 kB / 0.57 GB, free: 8.766 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/0.6351, allocations: 177.5 kB / 0.5701 GB, free: 8.582 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.6352, allocations: 25.7 kB / 0.5702 GB, free: 8.551 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.6354, allocations: 226.2 kB / 0.5704 GB, free: 8.328 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.376e-05/0.6354, allocations: 51.3 kB / 0.5704 GB, free: 8.277 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.236e-05/0.6355, allocations: 0 / 0.5704 GB, free: 8.277 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.6356, allocations: 326.8 kB / 0.5708 GB, free: 7.949 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.6358, allocations: 47.98 kB / 0.5708 GB, free: 7.902 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.636, allocations: 148.7 kB / 0.5709 GB, free: 7.711 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.6362, allocations: 76.52 kB / 0.571 GB, free: 7.637 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.6363, allocations: 0 / 0.571 GB, free: 7.637 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007237/0.637, allocations: 250.6 kB / 0.5712 GB, free: 7.383 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.637, allocations: 12.06 kB / 0.5713 GB, free: 7.371 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.6371, allocations: 4 kB / 0.5713 GB, free: 7.367 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003307/0.6374, allocations: 36.83 kB / 0.5713 GB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.6377, allocations: 43.91 kB / 0.5713 GB, free: 7.285 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/0.6394, allocations: 1.343 MB / 0.5727 GB, free: 5.809 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.6396, allocations: 11.95 kB / 0.5727 GB, free: 5.797 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.6397, allocations: 8 kB / 0.5727 GB, free: 5.789 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001228/0.6398, allocations: 121.1 kB / 0.5728 GB, free: 5.664 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.613e-05/0.6399, allocations: 19.81 kB / 0.5728 GB, free: 5.645 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005705/0.6405, allocations: 176.1 kB / 0.573 GB, free: 5.461 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.6405, allocations: 0 / 0.573 GB, free: 5.461 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6405, allocations: 7.953 kB / 0.573 GB, free: 5.453 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.6405, allocations: 0 / 0.573 GB, free: 5.453 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.6417, allocations: 0.5639 MB / 0.5735 GB, free: 4.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.6417, allocations: 4 kB / 0.5735 GB, free: 4.816 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.6419, allocations: 16 kB / 0.5736 GB, free: 4.801 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002236/0.6421, allocations: 32.83 kB / 0.5736 GB, free: 4.766 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.6422, allocations: 4.094 kB / 0.5736 GB, free: 4.762 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001363/0.6435, allocations: 1.32 MB / 0.5749 GB, free: 3.312 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6436, allocations: 0 / 0.5749 GB, free: 3.312 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006159/0.6442, allocations: 339.5 kB / 0.5752 GB, free: 2.926 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.047e-05/0.6443, allocations: 92.92 kB / 0.5753 GB, free: 2.816 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/0.6443, allocations: 0 / 0.5753 GB, free: 2.816 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.6445, allocations: 8 kB / 0.5753 GB, free: 2.809 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.6446, allocations: 7.984 kB / 0.5753 GB, free: 2.801 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.6446, allocations: 15.92 kB / 0.5753 GB, free: 2.785 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001877/0.6448, allocations: 144.2 kB / 0.5755 GB, free: 2.645 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6448, allocations: 4 kB / 0.5755 GB, free: 2.641 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005114/0.6454, allocations: 59.94 kB / 0.5755 GB, free: 2.582 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000169/0.6455, allocations: 103.2 kB / 0.5756 GB, free: 2.473 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006981/0.6462, allocations: 263.1 kB / 0.5759 GB, free: 2.203 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6463, allocations: 0 / 0.5759 GB, free: 2.203 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003277/0.6466, allocations: 174.5 kB / 0.576 GB, free: 2.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.647, allocations: 36.05 kB / 0.5761 GB, free: 1.984 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008372/0.6479, allocations: 332.8 kB / 0.5764 GB, free: 1.617 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/0.6483, allocations: 0.7599 MB / 0.5771 GB, free: 0.832 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.259e-05/0.6484, allocations: 23.44 kB / 0.5771 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6484, allocations: 0 / 0.5771 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of Templates: time 0.007496/0.6559, allocations: 3.089 MB / 0.5802 GB, free: 13.71 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1)