Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source.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.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002104/0.002103, allocations: 185.7 kB / 8.013 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.064/2.064, 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.00109/0.00109, allocations: 86.66 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.2831/0.2831, allocations: 38 MB / 347.7 MB, free: 5.758 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.258e-05/2.235e-05, allocations: 4 kB / 409.9 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1225, allocations: 56.33 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5027/0.6253, allocations: 100.7 MB / 0.5536 GB, free: 9.426 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/0.6257, allocations: 89.53 kB / 0.5536 GB, free: 9.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06265/0.6884, allocations: 14.98 MB / 0.5683 GB, free: 14.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.6884, allocations: 0 / 0.5683 GB, free: 14.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.282e-05/0.6885, allocations: 12 kB / 0.5683 GB, free: 14.24 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001857/0.6903, allocations: 0.6741 MB / 0.5689 GB, free: 13.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.6904, allocations: 8.031 kB / 0.569 GB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009767/0.6914, allocations: 91.36 kB / 0.569 GB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003484/0.6949, allocations: 0.8496 MB / 0.5699 GB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.674e-05/0.695, allocations: 12 kB / 0.5699 GB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.6951, allocations: 31.84 kB / 0.5699 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001218/0.6963, allocations: 469.2 kB / 0.5704 GB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.6977, allocations: 0.6133 MB / 0.571 GB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/0.6978, allocations: 3.938 kB / 0.571 GB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.163e-05/0.6979, allocations: 7.953 kB / 0.571 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002838/0.6982, allocations: 56.61 kB / 0.571 GB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006386/0.7046, allocations: 2.543 MB / 0.5735 GB, free: 9.453 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007581/0.7054, allocations: 326.4 kB / 0.5738 GB, free: 9.211 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004803/0.7059, allocations: 239.1 kB / 0.574 GB, free: 9.051 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.601e-05/0.7059, allocations: 11.36 kB / 0.5741 GB, free: 9.043 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.706, allocations: 34.56 kB / 0.5741 GB, free: 9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 3.376e-06/0.706, allocations: 0 / 0.5741 GB, free: 9 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.004782/0.7108, allocations: 1.52 MB / 0.5756 GB, free: 7.676 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.7109, allocations: 89.08 kB / 0.5757 GB, free: 7.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003407/0.7113, allocations: 220.1 kB / 0.5759 GB, free: 7.387 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.061e-05/0.7113, allocations: 25.7 kB / 0.5759 GB, free: 7.355 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/0.7116, allocations: 302.3 kB / 0.5762 GB, free: 7.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/0.7117, allocations: 143.1 kB / 0.5763 GB, free: 6.965 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.7118, allocations: 0 / 0.5763 GB, free: 6.965 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.7119, allocations: 341.8 kB / 0.5766 GB, free: 6.629 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004417/0.7124, allocations: 205.3 kB / 0.5768 GB, free: 6.496 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005417/0.713, allocations: 329.2 kB / 0.5772 GB, free: 6.203 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.7142, allocations: 375.5 kB / 0.5775 GB, free: 5.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.7142, allocations: 0 / 0.5775 GB, free: 5.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002522/0.7168, allocations: 0.7732 MB / 0.5783 GB, free: 5.285 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.7168, allocations: 4 kB / 0.5783 GB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002034/0.7189, allocations: 0.6268 MB / 0.5789 GB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006391/0.7196, allocations: 102.8 kB / 0.579 GB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005943/0.7202, allocations: 79.88 kB / 0.5791 GB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003574/0.7238, allocations: 2.886 MB / 0.5819 GB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005193/0.7243, allocations: 23.97 kB / 0.5819 GB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.727e-05/0.7244, allocations: 19.73 kB / 0.5819 GB, free: 1.672 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (43): * Single equations (assignments): 38 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001753/0.7246, allocations: 120.9 kB / 0.582 GB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.314e-05/0.7247, allocations: 31.53 kB / 0.5821 GB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001872/0.7266, allocations: 0.6184 MB / 0.5827 GB, free: 1.039 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001169/0.7267, allocations: 23.92 kB / 0.5827 GB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.7267, allocations: 3.984 kB / 0.5827 GB, free: 1.016 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.7268, allocations: 0 / 0.5827 GB, free: 1.016 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003185/0.7299, allocations: 1.144 MB / 0.5838 GB, free: 36 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.73, allocations: 0 / 0.5838 GB, free: 36 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008234/0.7308, allocations: 71.88 kB / 0.5839 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.098e-05/0.7309, allocations: 4 kB / 0.5839 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.989e-05/0.7309, allocations: 3.312 kB / 0.5839 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.134e-05/0.7309, allocations: 7.984 kB / 0.5839 GB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.7309, allocations: 0 / 0.5839 GB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002307/0.7333, allocations: 0.9828 MB / 0.5849 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003142/0.7336, allocations: 151 kB / 0.585 GB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.518e-05/0.7337, allocations: 7.953 kB / 0.585 GB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000415/0.7341, allocations: 19.97 kB / 0.585 GB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.331e-05/0.7342, allocations: 23.52 kB / 0.585 GB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.109e-05/0.7343, allocations: 8 kB / 0.5851 GB, free: 14.93 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002527/0.7345, allocations: 173.6 kB / 0.5852 GB, free: 14.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7345, allocations: 0 / 0.5852 GB, free: 14.79 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008123/0.7354, allocations: 127.4 kB / 0.5853 GB, free: 14.67 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003309/0.7357, allocations: 139.1 kB / 0.5855 GB, free: 14.52 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001608/0.7373, allocations: 0.7332 MB / 0.5862 GB, free: 13.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.7374, allocations: 3.938 kB / 0.5862 GB, free: 13.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000493/0.7379, allocations: 244.9 kB / 0.5864 GB, free: 13.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006067/0.7385, allocations: 47.38 kB / 0.5865 GB, free: 13.72 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.7408, allocations: 0.9575 MB / 0.5874 GB, free: 12.85 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006579/0.7415, allocations: 0.8865 MB / 0.5883 GB, free: 11.95 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002682/0.7418, allocations: 35.25 kB / 0.5883 GB, free: 11.92 MB / 394.7 MB Notification: Performance of SimCode: time 3.236e-06/0.7418, allocations: 0 / 0.5883 GB, free: 11.92 MB / 394.7 MB Notification: Performance of Templates: time 0.01663/0.7584, allocations: 6.921 MB / 0.5951 GB, free: 5.047 MB / 394.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1)