Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001385/0.001385, allocations: 185.7 kB / 8.01 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.08/2.08, allocations: 205.3 MB / 213.7 MB, free: 1.723 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 86.64 kB / 261.8 MB, free: 1.672 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.2622/0.2622, allocations: 38 MB / 347.7 MB, free: 5.762 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.523e-05/2.532e-05, allocations: 4 kB / 409.9 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1112, allocations: 56.33 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5137/0.6249, allocations: 97.85 MB / 0.5508 GB, free: 9.871 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/0.6253, allocations: 88.69 kB / 0.5509 GB, free: 9.855 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04866/0.674, allocations: 11.02 MB / 0.5617 GB, free: 3.793 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.674, allocations: 0 / 0.5617 GB, free: 3.793 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.773e-05/0.6741, allocations: 12 kB / 0.5617 GB, free: 3.781 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.002364/0.6765, allocations: 0.7693 MB / 0.5624 GB, free: 2.992 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.6766, allocations: 12.03 kB / 0.5624 GB, free: 2.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002988/0.6769, allocations: 55.34 kB / 0.5625 GB, free: 2.926 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0052/0.6821, allocations: 1.248 MB / 0.5637 GB, free: 1.867 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.6822, allocations: 15.94 kB / 0.5637 GB, free: 1.852 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002552/0.6824, allocations: 35.91 kB / 0.5638 GB, free: 1.816 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00095/0.6834, allocations: 408.6 kB / 0.5641 GB, free: 1.535 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.6848, allocations: 0.7314 MB / 0.5649 GB, free: 0.918 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.6848, allocations: 0 / 0.5649 GB, free: 0.918 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.56e-05/0.6849, allocations: 11.89 kB / 0.5649 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.6849, allocations: 8 kB / 0.5649 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0064/0.6914, allocations: 2.64 MB / 0.5675 GB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.6925, allocations: 460.6 kB / 0.5679 GB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001122/0.6937, allocations: 434.8 kB / 0.5683 GB, free: 14.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.816e-05/0.6938, allocations: 11.98 kB / 0.5683 GB, free: 14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/0.6939, allocations: 37.56 kB / 0.5684 GB, free: 13.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 3.747e-06/0.6939, allocations: 0 / 0.5684 GB, free: 13.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.01257/0.7065, allocations: 3.029 MB / 0.5713 GB, free: 11.28 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/0.7066, allocations: 81.11 kB / 0.5714 GB, free: 11.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005728/0.7071, allocations: 302 kB / 0.5717 GB, free: 10.94 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001479/0.7073, allocations: 25.7 kB / 0.5717 GB, free: 10.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.7076, allocations: 290.6 kB / 0.572 GB, free: 10.67 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002424/0.7078, allocations: 159.2 kB / 0.5721 GB, free: 10.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-05/0.7079, allocations: 4.031 kB / 0.5721 GB, free: 10.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.7081, allocations: 326 kB / 0.5724 GB, free: 10.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009229/0.709, allocations: 410.8 kB / 0.5728 GB, free: 9.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.71, allocations: 0.5163 MB / 0.5733 GB, free: 9.496 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.7111, allocations: 464.2 kB / 0.5738 GB, free: 9.172 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.7111, allocations: 0 / 0.5738 GB, free: 9.172 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.006555/0.7177, allocations: 2.046 MB / 0.5758 GB, free: 7.504 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.643e-05/0.7178, allocations: 8 kB / 0.5758 GB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.7178, allocations: 4 kB / 0.5758 GB, free: 7.492 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01098/0.7288, allocations: 2.696 MB / 0.5784 GB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006913/0.7296, allocations: 87.27 kB / 0.5785 GB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/0.7296, allocations: 8 kB / 0.5785 GB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005957/0.7302, allocations: 23.88 kB / 0.5785 GB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002124/0.7304, allocations: 75.42 kB / 0.5786 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(7,32.7%),(7,32.7%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002503/0.7307, allocations: 120.1 kB / 0.5787 GB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.7309, allocations: 39.53 kB / 0.5788 GB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01027/0.7411, allocations: 2.173 MB / 0.5809 GB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.411e-05/0.7412, allocations: 7.953 kB / 0.5809 GB, free: 2.965 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.7412, allocations: 0 / 0.5809 GB, free: 2.965 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/0.7413, allocations: 0 / 0.5809 GB, free: 2.965 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01215/0.7534, allocations: 2.905 MB / 0.5837 GB, free: 452 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-05/0.7535, allocations: 4 kB / 0.5837 GB, free: 448 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004233/0.7539, allocations: 47.91 kB / 0.5838 GB, free: 400 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01779/0.7718, allocations: 3.208 MB / 0.5869 GB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003275/0.7721, allocations: 105.2 kB / 0.587 GB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01815/0.7903, allocations: 8.724 MB / 0.5955 GB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.906e-06/0.7904, allocations: 8 kB / 0.5955 GB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01113/0.8015, allocations: 2.586 MB / 0.5981 GB, free: 3.504 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002463/0.8018, allocations: 116.5 kB / 0.5982 GB, free: 3.371 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003137/0.8021, allocations: 86.31 kB / 0.5983 GB, free: 3.301 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006182/0.8028, allocations: 15.97 kB / 0.5983 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003908/0.8032, allocations: 79.69 kB / 0.5983 GB, free: 3.211 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001604/0.8033, allocations: 66.72 kB / 0.5984 GB, free: 3.148 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004033/0.8038, allocations: 234.1 kB / 0.5986 GB, free: 2.969 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.8038, allocations: 0 / 0.5986 GB, free: 2.969 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001123/0.8049, allocations: 176 kB / 0.5988 GB, free: 2.797 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {8,6} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003596/0.8053, allocations: 150.4 kB / 0.5989 GB, free: 2.645 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002789/0.8081, allocations: 1.043 MB / 0.6 GB, free: 1.812 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.8082, allocations: 4 kB / 0.6 GB, free: 1.809 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003191/0.8114, allocations: 0.8839 MB / 0.6008 GB, free: 1.043 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.8125, allocations: 101.5 kB / 0.6009 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005106/0.8176, allocations: 2.024 MB / 0.6029 GB, free: 15.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007215/0.8184, allocations: 0.8942 MB / 0.6038 GB, free: 14.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/0.8186, allocations: 31.44 kB / 0.6038 GB, free: 14.12 MB / 410.7 MB Notification: Performance of SimCode: time 1.473e-06/0.8186, allocations: 0 / 0.6038 GB, free: 14.12 MB / 410.7 MB Notification: Performance of Templates: time 0.03715/0.8558, allocations: 16.08 MB / 0.6195 GB, free: 14.11 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1)