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.001629/0.001629, allocations: 182.3 kB / 15.76 MB, free: 6.34 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 1.983/1.983, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.00112/0.00112, allocations: 106.8 kB / 270.3 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2613/0.2613, allocations: 38.06 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004584/0.0004583, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1093, allocations: 56.32 MB / 479 MB, free: 2.039 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5333/0.6426, allocations: 94 MB / 0.5596 GB, free: 6.121 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.643, allocations: 87.58 kB / 0.5597 GB, free: 6.074 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04779/0.6908, allocations: 13.21 MB / 0.5726 GB, free: 11.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.6908, allocations: 0 / 0.5726 GB, free: 11.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.243e-05/0.6909, allocations: 8 kB / 0.5726 GB, free: 11.11 MB / 378.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.0009436/0.6918, allocations: 0.4931 MB / 0.5731 GB, free: 10.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.6919, allocations: 12.03 kB / 0.5731 GB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.6932, allocations: 91.66 kB / 0.5732 GB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005025/0.6937, allocations: 275.1 kB / 0.5734 GB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.6937, allocations: 11.62 kB / 0.5735 GB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.337e-05/0.6938, allocations: 18.44 kB / 0.5735 GB, free: 10.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007195/0.6945, allocations: 315.7 kB / 0.5738 GB, free: 9.914 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.6946, allocations: 3.938 kB / 0.5738 GB, free: 9.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.76e-05/0.6946, allocations: 7.5 kB / 0.5738 GB, free: 9.906 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001308/0.6948, allocations: 31.41 kB / 0.5738 GB, free: 9.879 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006667/0.6954, allocations: 271.6 kB / 0.5741 GB, free: 9.691 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002509/0.698, allocations: 1.302 MB / 0.5754 GB, free: 8.453 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005654/0.6986, allocations: 165.8 kB / 0.5755 GB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.898e-05/0.6986, allocations: 3.984 kB / 0.5755 GB, free: 8.305 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.6987, allocations: 38.56 kB / 0.5755 GB, free: 8.258 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 2.675e-06/0.6987, allocations: 0 / 0.5755 GB, free: 8.258 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.001384/0.7001, allocations: 416.3 kB / 0.5759 GB, free: 7.887 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.7001, allocations: 81.23 kB / 0.576 GB, free: 7.789 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.7004, allocations: 183.6 kB / 0.5762 GB, free: 7.621 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.7004, allocations: 29.58 kB / 0.5762 GB, free: 7.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.7006, allocations: 220.6 kB / 0.5764 GB, free: 7.387 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.187e-05/0.7007, allocations: 47.05 kB / 0.5765 GB, free: 7.348 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.473e-05/0.7007, allocations: 7.875 kB / 0.5765 GB, free: 7.344 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.7008, allocations: 326.5 kB / 0.5768 GB, free: 7.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.701, allocations: 45.72 kB / 0.5768 GB, free: 6.988 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.7012, allocations: 146.9 kB / 0.577 GB, free: 6.816 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.7014, allocations: 76.16 kB / 0.5771 GB, free: 6.766 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.7015, allocations: 4 kB / 0.5771 GB, free: 6.762 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006814/0.7022, allocations: 243.4 kB / 0.5773 GB, free: 6.562 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.7022, allocations: 8 kB / 0.5773 GB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.7022, allocations: 4 kB / 0.5773 GB, free: 6.551 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003586/0.7026, allocations: 44.2 kB / 0.5773 GB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/0.7029, allocations: 43.91 kB / 0.5774 GB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/0.7046, allocations: 1.361 MB / 0.5787 GB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.7048, allocations: 15.14 kB / 0.5787 GB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.7049, allocations: 10.44 kB / 0.5787 GB, free: 5.02 MB / 378.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 (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.0002396/0.7051, allocations: 162.8 kB / 0.5789 GB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.877e-05/0.7052, allocations: 15.81 kB / 0.5789 GB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005733/0.7058, allocations: 181 kB / 0.5791 GB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.7058, allocations: 4 kB / 0.5791 GB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/0.7058, allocations: 7.938 kB / 0.5791 GB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.7058, allocations: 0 / 0.5791 GB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.7071, allocations: 0.5548 MB / 0.5796 GB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.7072, allocations: 4 kB / 0.5796 GB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.7073, allocations: 23.92 kB / 0.5797 GB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002328/0.7076, allocations: 28.52 kB / 0.5797 GB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.7076, allocations: 4 kB / 0.5797 GB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001474/0.7091, allocations: 1.324 MB / 0.581 GB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.7091, allocations: 4.031 kB / 0.581 GB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006624/0.7098, allocations: 343.1 kB / 0.5813 GB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.862e-05/0.7099, allocations: 96.88 kB / 0.5814 GB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/0.71, allocations: 6.938 kB / 0.5814 GB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.7102, allocations: 7.984 kB / 0.5814 GB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.7102, allocations: 11.05 kB / 0.5814 GB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.7102, allocations: 4 kB / 0.5814 GB, free: 2.203 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002074/0.7105, allocations: 148.2 kB / 0.5816 GB, free: 2.078 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.7105, allocations: 4 kB / 0.5816 GB, free: 2.074 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005339/0.711, allocations: 59.56 kB / 0.5816 GB, free: 2.02 MB / 378.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 () * Number of clocked 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.0001686/0.7112, allocations: 102.1 kB / 0.5817 GB, free: 1.914 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007311/0.7119, allocations: 266.8 kB / 0.582 GB, free: 1.676 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.712, allocations: 0 / 0.582 GB, free: 1.676 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003508/0.7123, allocations: 183 kB / 0.5822 GB, free: 1.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.7127, allocations: 34.69 kB / 0.5822 GB, free: 1.477 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.7139, allocations: 0.557 MB / 0.5827 GB, free: 0.9141 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004812/0.7144, allocations: 0.7617 MB / 0.5835 GB, free: 132 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.828e-05/0.7145, allocations: 26.25 kB / 0.5835 GB, free: 108 kB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.7145, allocations: 0 / 0.5835 GB, free: 108 kB / 378.7 MB Notification: Performance of Templates: time 0.007639/0.7221, allocations: 3.066 MB / 0.5865 GB, free: 13.05 MB / 394.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)