Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002218/0.002218, allocations: 169.5 kB / 16.76 MB, free: 4.938 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3/3, allocations: 205.4 MB / 222.9 MB, free: 8.922 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001195/0.001195, allocations: 93.53 kB / 271.3 MB, free: 8.223 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.49/0.49, allocations: 38.07 MB / 357.6 MB, free: 1.711 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007183/0.0007186, allocations: 8 kB / 423.9 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5771/0.5779, allocations: 56.32 MB / 480.3 MB, free: 9.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2449/0.8228, allocations: 95.33 MB / 0.5621 GB, free: 7 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004494/0.8234, allocations: 91.89 kB / 0.5622 GB, free: 6.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04252/0.8659, allocations: 7.38 MB / 0.5694 GB, free: 15.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.768e-06/0.866, allocations: 0 / 0.5694 GB, free: 15.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.88e-05/0.8661, allocations: 8 kB / 0.5694 GB, free: 15.44 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002029/0.8681, allocations: 0.6415 MB / 0.57 GB, free: 14.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/0.8682, allocations: 8.031 kB / 0.57 GB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/0.8684, allocations: 40.47 kB / 0.5701 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001892/0.8703, allocations: 0.4995 MB / 0.5706 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.203e-05/0.8704, allocations: 16.94 kB / 0.5706 GB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.8705, allocations: 28.38 kB / 0.5706 GB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.8715, allocations: 353.2 kB / 0.5709 GB, free: 13.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.8716, allocations: 7.938 kB / 0.571 GB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.087e-05/0.8716, allocations: 8 kB / 0.571 GB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.223e-05/0.8717, allocations: 8 kB / 0.571 GB, free: 13.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007169/0.8724, allocations: 234 kB / 0.5712 GB, free: 13.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003063/0.8755, allocations: 1.367 MB / 0.5725 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005925/0.8761, allocations: 168.9 kB / 0.5727 GB, free: 11.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003392/0.8765, allocations: 97.73 kB / 0.5728 GB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.8765, allocations: 4 kB / 0.5728 GB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.101e-05/0.8766, allocations: 42.56 kB / 0.5728 GB, free: 11.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 8.425e-06/0.8766, allocations: 0 / 0.5728 GB, free: 11.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.002496/0.8791, allocations: 0.7437 MB / 0.5736 GB, free: 10.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.828e-05/0.8793, allocations: 85.17 kB / 0.5736 GB, free: 10.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006077/0.8799, allocations: 300.5 kB / 0.5739 GB, free: 10.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.8799, allocations: 29.7 kB / 0.5739 GB, free: 10.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/0.8802, allocations: 211.6 kB / 0.5741 GB, free: 10.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.015e-05/0.8803, allocations: 55.2 kB / 0.5742 GB, free: 10.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.239e-05/0.8803, allocations: 7.938 kB / 0.5742 GB, free: 10.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.8805, allocations: 338.8 kB / 0.5745 GB, free: 9.824 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.8808, allocations: 63.95 kB / 0.5746 GB, free: 9.762 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003241/0.8811, allocations: 165 kB / 0.5748 GB, free: 9.559 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005882/0.8817, allocations: 244.6 kB / 0.575 GB, free: 9.273 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.8817, allocations: 4 kB / 0.575 GB, free: 9.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009461/0.8827, allocations: 309.7 kB / 0.5753 GB, free: 8.957 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/0.8827, allocations: 14.27 kB / 0.5753 GB, free: 8.945 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.8828, allocations: 4 kB / 0.5753 GB, free: 8.941 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003604/0.8831, allocations: 48.83 kB / 0.5753 GB, free: 8.891 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003726/0.8835, allocations: 47.91 kB / 0.5754 GB, free: 8.844 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/0.8857, allocations: 1.46 MB / 0.5768 GB, free: 7.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.886, allocations: 11.91 kB / 0.5768 GB, free: 7.238 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.8861, allocations: 12 kB / 0.5768 GB, free: 7.227 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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.0003732/0.8865, allocations: 181.7 kB / 0.577 GB, free: 7.039 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.271e-05/0.8866, allocations: 27.7 kB / 0.577 GB, free: 7.012 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006797/0.8873, allocations: 229.4 kB / 0.5773 GB, free: 6.781 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.8873, allocations: 4 kB / 0.5773 GB, free: 6.777 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.313e-05/0.8873, allocations: 7.984 kB / 0.5773 GB, free: 6.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.8873, allocations: 0 / 0.5773 GB, free: 6.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/0.8888, allocations: 0.632 MB / 0.5779 GB, free: 6.078 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.8888, allocations: 0 / 0.5779 GB, free: 6.078 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.889, allocations: 27.97 kB / 0.5779 GB, free: 6.051 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002817/0.8893, allocations: 56.67 kB / 0.578 GB, free: 5.992 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-05/0.8894, allocations: 11.94 kB / 0.578 GB, free: 5.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001965/0.8914, allocations: 1.456 MB / 0.5794 GB, free: 4.387 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.8914, allocations: 0 / 0.5794 GB, free: 4.387 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008044/0.8922, allocations: 401.9 kB / 0.5798 GB, free: 3.969 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.8924, allocations: 104.7 kB / 0.5799 GB, free: 3.848 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.518e-05/0.8924, allocations: 8 kB / 0.5799 GB, free: 3.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.8927, allocations: 0 / 0.5799 GB, free: 3.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/0.8927, allocations: 19.92 kB / 0.5799 GB, free: 3.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.8928, allocations: 12.05 kB / 0.5799 GB, free: 3.809 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003458/0.8931, allocations: 207 kB / 0.5801 GB, free: 3.605 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.8931, allocations: 0 / 0.5801 GB, free: 3.605 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007641/0.8939, allocations: 72 kB / 0.5802 GB, free: 3.535 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (16): * Single equations (assignments): 14 * 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.0002138/0.8941, allocations: 107.2 kB / 0.5803 GB, free: 3.422 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008535/0.895, allocations: 291 kB / 0.5806 GB, free: 3.125 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.895, allocations: 0 / 0.5806 GB, free: 3.125 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005771/0.8956, allocations: 194.6 kB / 0.5808 GB, free: 2.922 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008641/0.8965, allocations: 53.52 kB / 0.5808 GB, free: 2.871 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.8989, allocations: 0.9332 MB / 0.5817 GB, free: 1.895 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006157/0.8995, allocations: 0.8107 MB / 0.5825 GB, free: 1.059 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.678e-05/0.8996, allocations: 27.38 kB / 0.5825 GB, free: 1.035 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.8997, allocations: 0 / 0.5825 GB, free: 1.035 MB / 410.7 MB Notification: Performance of Templates: time 0.01298/0.9126, allocations: 4.803 MB / 0.5872 GB, free: 12.23 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1)