Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.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.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001838/0.001838, allocations: 173.5 kB / 16.76 MB, free: 5.055 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.734/2.734, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.001207/0.001207, allocations: 85.36 kB / 271.3 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.3956/0.3956, allocations: 38.07 MB / 357.6 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006746/0.0006749, allocations: 8 kB / 423.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5823/0.583, allocations: 56.32 MB / 480.3 MB, free: 9.219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.18/0.7631, allocations: 99.99 MB / 0.5667 GB, free: 2.367 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004618/0.7636, allocations: 99.94 kB / 0.5667 GB, free: 2.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0717/0.8354, allocations: 14.5 MB / 0.5809 GB, free: 3.574 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.557e-06/0.8354, allocations: 0 / 0.5809 GB, free: 3.574 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.386e-05/0.8355, allocations: 20 kB / 0.5809 GB, free: 3.555 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.003417/0.839, allocations: 0.9267 MB / 0.5818 GB, free: 2.574 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.7e-05/0.8391, allocations: 8.031 kB / 0.5818 GB, free: 2.566 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003176/0.8394, allocations: 72.09 kB / 0.5819 GB, free: 2.496 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002983/0.8424, allocations: 0.7835 MB / 0.5827 GB, free: 1.672 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002903/0.8427, allocations: 121.2 kB / 0.5828 GB, free: 1.543 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002169/0.843, allocations: 52.75 kB / 0.5828 GB, free: 1.492 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002374/0.8454, allocations: 0.7983 MB / 0.5836 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/0.8454, allocations: 0 / 0.5836 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.8455, allocations: 23.94 kB / 0.5836 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.188e-05/0.8456, allocations: 16 kB / 0.5837 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002582/0.8482, allocations: 0.7377 MB / 0.5844 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006824/0.855, allocations: 2.636 MB / 0.5869 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00275/0.8579, allocations: 0.8347 MB / 0.5878 GB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/0.8592, allocations: 411.4 kB / 0.5882 GB, free: 11.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.212e-05/0.8593, allocations: 4.438 kB / 0.5882 GB, free: 11.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.247e-05/0.8593, allocations: 38.98 kB / 0.5882 GB, free: 11.81 MB / 426.7 MB Notification: Performance of pre-optimization done (n=50): time 6.261e-06/0.8593, allocations: 4 kB / 0.5882 GB, free: 11.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=51): time 0.007678/0.867, allocations: 2.186 MB / 0.5903 GB, free: 9.508 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.838e-05/0.8672, allocations: 89.48 kB / 0.5904 GB, free: 9.402 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000995/0.8682, allocations: 401.9 kB / 0.5908 GB, free: 9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.02e-05/0.8683, allocations: 33.7 kB / 0.5908 GB, free: 8.961 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003387/0.8687, allocations: 288.4 kB / 0.5911 GB, free: 8.672 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002724/0.869, allocations: 177.4 kB / 0.5913 GB, free: 8.496 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.756e-05/0.8691, allocations: 16 kB / 0.5913 GB, free: 8.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002219/0.8693, allocations: 358.8 kB / 0.5916 GB, free: 8.121 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.8703, allocations: 284.9 kB / 0.5919 GB, free: 7.844 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/0.8714, allocations: 397.1 kB / 0.5923 GB, free: 7.414 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001997/0.8734, allocations: 0.6772 MB / 0.593 GB, free: 6.695 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/0.8735, allocations: 4 kB / 0.593 GB, free: 6.691 MB / 426.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003145/0.8766, allocations: 0.8876 MB / 0.5938 GB, free: 5.773 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.562e-05/0.8767, allocations: 4 kB / 0.5938 GB, free: 5.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/0.8767, allocations: 4 kB / 0.5938 GB, free: 5.766 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000438/0.8772, allocations: 77.73 kB / 0.5939 GB, free: 5.684 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0027/0.8799, allocations: 399.6 kB / 0.5943 GB, free: 5.293 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009775/0.8897, allocations: 6.154 MB / 0.6003 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009727/0.8907, allocations: 43.95 kB / 0.6003 GB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002014/0.891, allocations: 23.94 kB / 0.6004 GB, free: 14.55 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * 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.0009136/0.8919, allocations: 241.7 kB / 0.6006 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002909/0.8922, allocations: 51.42 kB / 0.6006 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003074/0.8953, allocations: 0.8515 MB / 0.6015 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.8954, allocations: 4 kB / 0.6015 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.8954, allocations: 4 kB / 0.6015 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.8954, allocations: 3.984 kB / 0.6015 GB, free: 13.35 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005544/0.901, allocations: 1.712 MB / 0.6032 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/0.901, allocations: 0 / 0.6032 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003153/0.9042, allocations: 427.7 kB / 0.6036 GB, free: 11.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005043/0.9047, allocations: 77.58 kB / 0.6036 GB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/0.9049, allocations: 19.98 kB / 0.6037 GB, free: 11.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00446/0.9094, allocations: 2.856 MB / 0.6064 GB, free: 7.898 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-05/0.9094, allocations: 4 kB / 0.6064 GB, free: 7.895 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004508/0.914, allocations: 1.343 MB / 0.6078 GB, free: 6.492 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003337/0.9143, allocations: 124.5 kB / 0.6079 GB, free: 6.352 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002303/0.9146, allocations: 16 kB / 0.6079 GB, free: 6.336 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008492/0.9155, allocations: 43.95 kB / 0.6079 GB, free: 6.293 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002558/0.9157, allocations: 47.88 kB / 0.608 GB, free: 6.246 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-05/0.9158, allocations: 16 kB / 0.608 GB, free: 6.23 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007267/0.9166, allocations: 283.1 kB / 0.6083 GB, free: 5.957 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.9166, allocations: 0 / 0.6083 GB, free: 5.957 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001541/0.9181, allocations: 148 kB / 0.6084 GB, free: 5.812 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (51): * Single equations (assignments): 48 * 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.0003974/0.9186, allocations: 135.1 kB / 0.6085 GB, free: 5.672 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00502/0.9236, allocations: 1.187 MB / 0.6097 GB, free: 4.453 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-05/0.9237, allocations: 0 / 0.6097 GB, free: 4.453 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003803/0.9275, allocations: 0.8839 MB / 0.6106 GB, free: 3.543 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/0.9294, allocations: 133.9 kB / 0.6107 GB, free: 3.414 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006809/0.9362, allocations: 1.935 MB / 0.6126 GB, free: 1.43 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/0.9373, allocations: 0.9408 MB / 0.6135 GB, free: 472 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004162/0.9378, allocations: 39.44 kB / 0.6135 GB, free: 436 kB / 442.7 MB Notification: Performance of SimCode: time 1.883e-06/0.9378, allocations: 0 / 0.6135 GB, free: 436 kB / 442.7 MB Notification: Performance of Templates: time 0.03928/0.9771, allocations: 16.69 MB / 0.6298 GB, free: 15.72 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1)