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.002139/0.002139, allocations: 184.1 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.159/2.159, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.001087/0.001087, allocations: 95.8 kB / 267.1 MB, free: 9.27 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.284/0.284, allocations: 37.97 MB / 353.1 MB, free: 3.055 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.528e-05/3.538e-05, allocations: 0 / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1025, allocations: 56.32 MB / 473.1 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5071/0.6097, allocations: 98.52 MB / 0.5582 GB, free: 5.215 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004497/0.6102, allocations: 96.56 kB / 0.5583 GB, free: 5.121 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1101/0.7204, allocations: 11.14 MB / 0.5692 GB, free: 9.875 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.7205, allocations: 0 / 0.5692 GB, free: 9.875 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.421e-05/0.7206, allocations: 12 kB / 0.5692 GB, free: 9.863 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.004239/0.7248, allocations: 0.769 MB / 0.57 GB, free: 9.051 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.521e-05/0.7249, allocations: 12.03 kB / 0.57 GB, free: 9.039 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005245/0.7255, allocations: 55.34 kB / 0.57 GB, free: 8.984 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008772/0.7343, allocations: 1.253 MB / 0.5713 GB, free: 7.691 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.489e-05/0.7344, allocations: 28.78 kB / 0.5713 GB, free: 7.664 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004505/0.7349, allocations: 55.91 kB / 0.5713 GB, free: 7.609 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003188/0.7381, allocations: 0.7778 MB / 0.5721 GB, free: 6.793 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.7382, allocations: 0 / 0.5721 GB, free: 6.793 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/0.7384, allocations: 16 kB / 0.5721 GB, free: 6.777 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.893e-05/0.7384, allocations: 11.95 kB / 0.5721 GB, free: 6.766 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002062/0.7405, allocations: 442.8 kB / 0.5726 GB, free: 6.332 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0111/0.7517, allocations: 2.715 MB / 0.5752 GB, free: 3.535 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002084/0.7538, allocations: 483.2 kB / 0.5757 GB, free: 3.047 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002037/0.7559, allocations: 437.6 kB / 0.5761 GB, free: 2.613 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.7561, allocations: 4 kB / 0.5761 GB, free: 2.609 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.436e-05/0.7562, allocations: 42.52 kB / 0.5761 GB, free: 2.559 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 5.01e-06/0.7562, allocations: 0 / 0.5761 GB, free: 2.559 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.01697/0.7732, allocations: 3.093 MB / 0.5791 GB, free: 15.39 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/0.7733, allocations: 81.11 kB / 0.5792 GB, free: 15.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006353/0.7739, allocations: 334.8 kB / 0.5795 GB, free: 14.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001496/0.7741, allocations: 33.7 kB / 0.5796 GB, free: 14.92 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.7743, allocations: 302.6 kB / 0.5799 GB, free: 14.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002443/0.7746, allocations: 154.1 kB / 0.58 GB, free: 14.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.217e-05/0.7747, allocations: 12 kB / 0.58 GB, free: 14.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.7748, allocations: 334.8 kB / 0.5803 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.7759, allocations: 417 kB / 0.5807 GB, free: 13.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/0.7771, allocations: 0.5261 MB / 0.5813 GB, free: 13.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.7783, allocations: 477.3 kB / 0.5817 GB, free: 12.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.7783, allocations: 0 / 0.5817 GB, free: 12.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.007143/0.7855, allocations: 2.087 MB / 0.5837 GB, free: 10.58 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.562e-05/0.7856, allocations: 4.438 kB / 0.5837 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.7856, allocations: 11.94 kB / 0.5838 GB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01142/0.797, allocations: 2.792 MB / 0.5865 GB, free: 7.762 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006839/0.7978, allocations: 83.89 kB / 0.5866 GB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.151e-05/0.7978, allocations: 11.89 kB / 0.5866 GB, free: 7.668 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006057/0.7984, allocations: 47.8 kB / 0.5866 GB, free: 7.621 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001731/0.7986, allocations: 71.92 kB / 0.5867 GB, free: 7.551 MB / 426.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.0002366/0.7988, allocations: 120.9 kB / 0.5868 GB, free: 7.426 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.799, allocations: 39.53 kB / 0.5868 GB, free: 7.387 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/0.8097, allocations: 2.211 MB / 0.589 GB, free: 5.156 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/0.8097, allocations: 4 kB / 0.589 GB, free: 5.152 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.8098, allocations: 3.938 kB / 0.589 GB, free: 5.148 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635e-05/0.8098, allocations: 7.984 kB / 0.589 GB, free: 5.141 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01232/0.8221, allocations: 2.986 MB / 0.5919 GB, free: 2.086 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/0.8222, allocations: 3.953 kB / 0.5919 GB, free: 2.082 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004117/0.8226, allocations: 55.94 kB / 0.592 GB, free: 2.027 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02055/0.8432, allocations: 3.233 MB / 0.5952 GB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004673/0.8437, allocations: 107.9 kB / 0.5953 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02298/0.8667, allocations: 8.945 MB / 0.604 GB, free: 5.457 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.8667, allocations: 0 / 0.604 GB, free: 5.457 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01145/0.8782, allocations: 2.617 MB / 0.6065 GB, free: 2.793 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002182/0.8785, allocations: 120.5 kB / 0.6067 GB, free: 2.656 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003164/0.8788, allocations: 95.89 kB / 0.6068 GB, free: 2.562 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006074/0.8794, allocations: 27.95 kB / 0.6068 GB, free: 2.535 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003772/0.8798, allocations: 79.77 kB / 0.6069 GB, free: 2.457 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001632/0.88, allocations: 63.97 kB / 0.6069 GB, free: 2.395 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004681/0.8805, allocations: 253.2 kB / 0.6072 GB, free: 2.152 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.8805, allocations: 0 / 0.6072 GB, free: 2.152 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009595/0.8815, allocations: 188.1 kB / 0.6073 GB, free: 1.969 MB / 442.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.0003392/0.8818, allocations: 158 kB / 0.6075 GB, free: 1.809 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002875/0.8847, allocations: 1.066 MB / 0.6085 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.8847, allocations: 4.812 kB / 0.6085 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003049/0.8878, allocations: 0.9044 MB / 0.6094 GB, free: 15.76 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009535/0.8888, allocations: 113.4 kB / 0.6095 GB, free: 15.64 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004914/0.8937, allocations: 2.045 MB / 0.6115 GB, free: 13.56 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007289/0.8945, allocations: 0.8937 MB / 0.6124 GB, free: 12.64 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.8947, allocations: 35.44 kB / 0.6124 GB, free: 12.61 MB / 458.7 MB Notification: Performance of SimCode: time 9.62e-07/0.8947, allocations: 0 / 0.6124 GB, free: 12.61 MB / 458.7 MB Notification: Performance of Templates: time 0.03491/0.9296, allocations: 16.18 MB / 0.6282 GB, free: 12.41 MB / 474.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)