Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.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.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008765/0.0008763, allocations: 173.1 kB / 16.76 MB, free: 4.93 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.868/2.868, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007642/0.0007641, allocations: 96.8 kB / 271.3 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2195/0.2195, allocations: 38.08 MB / 357.6 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005365/0.0005368, allocations: 12 kB / 423.9 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.605/0.6055, allocations: 56.32 MB / 480.3 MB, free: 9.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2282/0.8337, allocations: 100.3 MB / 0.567 GB, free: 2.062 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006196/0.8345, allocations: 91.95 kB / 0.567 GB, free: 1.973 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06689/0.9014, allocations: 14.07 MB / 0.5808 GB, free: 3.758 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.9015, allocations: 0 / 0.5808 GB, free: 3.758 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.355e-05/0.9016, allocations: 12 kB / 0.5808 GB, free: 3.746 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.003258/0.9048, allocations: 0.9581 MB / 0.5817 GB, free: 2.734 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.9049, allocations: 8.031 kB / 0.5817 GB, free: 2.727 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003609/0.9053, allocations: 80.09 kB / 0.5818 GB, free: 2.648 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002833/0.9081, allocations: 0.7796 MB / 0.5826 GB, free: 1.828 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003074/0.9085, allocations: 125.2 kB / 0.5827 GB, free: 1.695 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002137/0.9087, allocations: 52.75 kB / 0.5827 GB, free: 1.645 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002483/0.9112, allocations: 0.8061 MB / 0.5835 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/0.9113, allocations: 0 / 0.5835 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.563e-05/0.9114, allocations: 20 kB / 0.5836 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/0.9114, allocations: 19.94 kB / 0.5836 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002366/0.9138, allocations: 0.7064 MB / 0.5843 GB, free: 52 kB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007483/0.9213, allocations: 2.739 MB / 0.5869 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003081/0.9245, allocations: 0.9181 MB / 0.5878 GB, free: 12.24 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/0.9256, allocations: 329.5 kB / 0.5881 GB, free: 11.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.256e-05/0.9256, allocations: 8 kB / 0.5882 GB, free: 11.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.9257, allocations: 42.48 kB / 0.5882 GB, free: 11.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=38): time 7.745e-06/0.9257, allocations: 3.984 kB / 0.5882 GB, free: 11.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.006758/0.9325, allocations: 1.984 MB / 0.5901 GB, free: 9.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.298e-05/0.9326, allocations: 85.09 kB / 0.5902 GB, free: 9.648 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008419/0.9335, allocations: 425.7 kB / 0.5906 GB, free: 9.223 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.775e-05/0.9336, allocations: 29.7 kB / 0.5907 GB, free: 9.188 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003191/0.9339, allocations: 316.3 kB / 0.591 GB, free: 8.871 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/0.9341, allocations: 138 kB / 0.5911 GB, free: 8.734 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.9342, allocations: 16.03 kB / 0.5911 GB, free: 8.719 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.9344, allocations: 362.7 kB / 0.5914 GB, free: 8.355 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008649/0.9353, allocations: 245 kB / 0.5917 GB, free: 8.117 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000941/0.9362, allocations: 362.3 kB / 0.592 GB, free: 7.719 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001828/0.9381, allocations: 0.5905 MB / 0.5926 GB, free: 7.082 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.9381, allocations: 0 / 0.5926 GB, free: 7.082 MB / 426.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002496/0.9406, allocations: 0.7959 MB / 0.5934 GB, free: 6.254 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.883e-05/0.9407, allocations: 8 kB / 0.5934 GB, free: 6.246 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.9407, allocations: 4 kB / 0.5934 GB, free: 6.242 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004325/0.9411, allocations: 69.86 kB / 0.5935 GB, free: 6.168 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002659/0.9438, allocations: 379.5 kB / 0.5938 GB, free: 5.797 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009785/0.9536, allocations: 6.115 MB / 0.5998 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007931/0.9545, allocations: 44.03 kB / 0.5998 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.9546, allocations: 23.98 kB / 0.5999 GB, free: 15.09 MB / 442.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 (54): * Single equations (assignments): 50 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007485/0.9554, allocations: 241.9 kB / 0.6001 GB, free: 14.85 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/0.9556, allocations: 51.44 kB / 0.6001 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002503/0.9582, allocations: 0.7387 MB / 0.6009 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.9582, allocations: 8 kB / 0.6009 GB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.9582, allocations: 0 / 0.6009 GB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.9582, allocations: 3.938 kB / 0.6009 GB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004798/0.963, allocations: 1.518 MB / 0.6024 GB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.9631, allocations: 0 / 0.6024 GB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002821/0.9659, allocations: 403.6 kB / 0.6027 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004049/0.9663, allocations: 69.66 kB / 0.6028 GB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.424e-05/0.9665, allocations: 12 kB / 0.6028 GB, free: 11.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003601/0.9701, allocations: 2.844 MB / 0.6056 GB, free: 8.805 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/0.9701, allocations: 4.031 kB / 0.6056 GB, free: 8.801 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003578/0.9737, allocations: 1.137 MB / 0.6067 GB, free: 7.609 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003265/0.9741, allocations: 124.5 kB / 0.6068 GB, free: 7.469 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001847/0.9743, allocations: 12 kB / 0.6068 GB, free: 7.457 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007117/0.975, allocations: 47.89 kB / 0.6069 GB, free: 7.41 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/0.9752, allocations: 35.89 kB / 0.6069 GB, free: 7.375 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-05/0.9753, allocations: 15.98 kB / 0.6069 GB, free: 7.359 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007337/0.9761, allocations: 291.1 kB / 0.6072 GB, free: 7.078 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.9761, allocations: 0 / 0.6072 GB, free: 7.078 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00134/0.9774, allocations: 144 kB / 0.6073 GB, free: 6.938 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * 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 (39): * Single equations (assignments): 36 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003488/0.9778, allocations: 131.1 kB / 0.6075 GB, free: 6.801 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004466/0.9823, allocations: 1.091 MB / 0.6085 GB, free: 5.684 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.9823, allocations: 4 kB / 0.6085 GB, free: 5.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003446/0.9858, allocations: 0.8134 MB / 0.6093 GB, free: 4.84 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/0.9875, allocations: 138.5 kB / 0.6095 GB, free: 4.707 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005061/0.9926, allocations: 1.772 MB / 0.6112 GB, free: 2.895 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/0.9937, allocations: 0.9445 MB / 0.6121 GB, free: 1.926 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003235/0.994, allocations: 39.44 kB / 0.6122 GB, free: 1.887 MB / 442.7 MB Notification: Performance of SimCode: time 9.62e-07/0.9941, allocations: 0 / 0.6122 GB, free: 1.887 MB / 442.7 MB Notification: Performance of Templates: time 0.03867/1.033, allocations: 16.81 MB / 0.6286 GB, free: 1.062 MB / 458.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1)