Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002158/0.002158, allocations: 181.5 kB / 15.76 MB, free: 6.344 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.025/2.025, allocations: 205.4 MB / 221.9 MB, free: 13.81 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.001112/0.001111, allocations: 98.75 kB / 270.2 MB, free: 13.35 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.2669/0.2669, allocations: 38.06 MB / 356.6 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004659/0.0004659, allocations: 12 kB / 422.7 MB, free: 26.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1117, allocations: 56.33 MB / 479 MB, free: 2.023 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5286/0.6403, allocations: 95.29 MB / 0.5609 GB, free: 4.367 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/0.6407, allocations: 97.89 kB / 0.561 GB, free: 4.316 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03077/0.6715, allocations: 7.403 MB / 0.5682 GB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.6715, allocations: 3.938 kB / 0.5682 GB, free: 13.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.594e-05/0.6716, allocations: 12 kB / 0.5682 GB, free: 13.93 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001519/0.6731, allocations: 0.6337 MB / 0.5688 GB, free: 13.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.6732, allocations: 8.031 kB / 0.5688 GB, free: 13.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.6733, allocations: 43.83 kB / 0.5689 GB, free: 13.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0031/0.6764, allocations: 0.809 MB / 0.5697 GB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.419e-05/0.6765, allocations: 22.25 kB / 0.5697 GB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.65e-05/0.6766, allocations: 37.45 kB / 0.5697 GB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007727/0.6774, allocations: 337.4 kB / 0.5701 GB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.6774, allocations: 0 / 0.5701 GB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.311e-05/0.6774, allocations: 13.86 kB / 0.5701 GB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.6775, allocations: 8 kB / 0.5701 GB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006224/0.6781, allocations: 234.7 kB / 0.5703 GB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002503/0.6806, allocations: 1.364 MB / 0.5716 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004997/0.6811, allocations: 162.5 kB / 0.5718 GB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.6812, allocations: 8.062 kB / 0.5718 GB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.6812, allocations: 30.56 kB / 0.5718 GB, free: 10.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 2.715e-06/0.6812, allocations: 0 / 0.5718 GB, free: 10.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.002027/0.6833, allocations: 0.7607 MB / 0.5726 GB, free: 9.781 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.6834, allocations: 88.86 kB / 0.5726 GB, free: 9.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004235/0.6838, allocations: 256.3 kB / 0.5729 GB, free: 9.457 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.6839, allocations: 25.7 kB / 0.5729 GB, free: 9.426 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.6841, allocations: 270.7 kB / 0.5732 GB, free: 9.191 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.669e-05/0.6841, allocations: 57.7 kB / 0.5732 GB, free: 9.145 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.886e-05/0.6842, allocations: 3.625 kB / 0.5732 GB, free: 9.145 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.6843, allocations: 322.1 kB / 0.5735 GB, free: 8.824 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.6845, allocations: 66.02 kB / 0.5736 GB, free: 8.777 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.6848, allocations: 157 kB / 0.5738 GB, free: 8.605 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.685, allocations: 91.97 kB / 0.5738 GB, free: 8.543 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.6851, allocations: 0 / 0.5738 GB, free: 8.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007961/0.6859, allocations: 303.8 kB / 0.5741 GB, free: 8.297 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.6859, allocations: 8 kB / 0.5741 GB, free: 8.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.6859, allocations: 0 / 0.5741 GB, free: 8.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000301/0.6862, allocations: 59.75 kB / 0.5742 GB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/0.6866, allocations: 51.05 kB / 0.5742 GB, free: 8.188 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001845/0.6885, allocations: 1.48 MB / 0.5757 GB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002922/0.6888, allocations: 7.062 kB / 0.5757 GB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.6888, allocations: 23.23 kB / 0.5757 GB, free: 6.641 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 (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.0002987/0.6891, allocations: 165.9 kB / 0.5759 GB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.453e-05/0.6892, allocations: 27.67 kB / 0.5759 GB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006505/0.6899, allocations: 239.3 kB / 0.5761 GB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.6899, allocations: 8.188 kB / 0.5761 GB, free: 6.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.6899, allocations: 0 / 0.5761 GB, free: 6.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.6899, allocations: 0 / 0.5761 GB, free: 6.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.6912, allocations: 0.6223 MB / 0.5767 GB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.6912, allocations: 0 / 0.5767 GB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002612/0.6914, allocations: 27.8 kB / 0.5768 GB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002994/0.6918, allocations: 52.58 kB / 0.5768 GB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.6918, allocations: 14.95 kB / 0.5768 GB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001789/0.6936, allocations: 1.473 MB / 0.5783 GB, free: 4.082 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.6936, allocations: 3.953 kB / 0.5783 GB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000823/0.6945, allocations: 421.4 kB / 0.5787 GB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.6946, allocations: 112.8 kB / 0.5788 GB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.265e-05/0.6947, allocations: 3.75 kB / 0.5788 GB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.6949, allocations: 6.5 kB / 0.5788 GB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.695, allocations: 7.984 kB / 0.5788 GB, free: 3.559 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.573e-05/0.695, allocations: 18.42 kB / 0.5788 GB, free: 3.543 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003519/0.6954, allocations: 207.5 kB / 0.579 GB, free: 3.371 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6954, allocations: 0 / 0.579 GB, free: 3.371 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005379/0.6959, allocations: 71.25 kB / 0.5791 GB, free: 3.309 MB / 378.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.0001831/0.6961, allocations: 114.8 kB / 0.5792 GB, free: 3.191 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007144/0.6969, allocations: 286 kB / 0.5795 GB, free: 2.941 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.6969, allocations: 0 / 0.5795 GB, free: 2.941 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005221/0.6974, allocations: 209.4 kB / 0.5797 GB, free: 2.746 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005727/0.698, allocations: 58.81 kB / 0.5797 GB, free: 2.703 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.6999, allocations: 0.9327 MB / 0.5806 GB, free: 1.785 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008472/0.7008, allocations: 0.8208 MB / 0.5814 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.701, allocations: 19.44 kB / 0.5815 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of SimCode: time 4.859e-06/0.701, allocations: 0 / 0.5815 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of Templates: time 0.01127/0.7123, allocations: 4.701 MB / 0.5861 GB, free: 12.27 MB / 394.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)