Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.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.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001715/0.001715, allocations: 173 kB / 16.76 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.708/1.708, 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.0007348/0.0007348, allocations: 77.05 kB / 271.3 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.188/0.188, allocations: 38.08 MB / 357.6 MB, free: 1.727 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004012/0.0004014, allocations: 12 kB / 423.9 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3442, allocations: 56.32 MB / 480.3 MB, free: 9.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.154/0.4982, allocations: 109.8 MB / 0.5762 GB, free: 8.535 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/0.4985, allocations: 99.94 kB / 0.5763 GB, free: 8.438 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07168/0.5702, allocations: 24.39 MB / 0.6001 GB, free: 15.76 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.14e-06/0.5703, allocations: 0 / 0.6001 GB, free: 15.76 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.925e-05/0.5704, allocations: 23.94 kB / 0.6002 GB, free: 15.74 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.004136/0.5746, allocations: 1.264 MB / 0.6014 GB, free: 14.42 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.5746, allocations: 8.031 kB / 0.6014 GB, free: 14.41 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.5757, allocations: 139.8 kB / 0.6015 GB, free: 14.27 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003062/0.5788, allocations: 0.9299 MB / 0.6025 GB, free: 13.31 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003947/0.5792, allocations: 180.2 kB / 0.6026 GB, free: 13.11 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005247/0.5798, allocations: 79.98 kB / 0.6027 GB, free: 13.04 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003116/0.5829, allocations: 1.416 MB / 0.6041 GB, free: 11.57 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.351e-05/0.583, allocations: 7.906 kB / 0.6041 GB, free: 11.57 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/0.5831, allocations: 35.98 kB / 0.6041 GB, free: 11.53 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002045/0.5833, allocations: 77.89 kB / 0.6042 GB, free: 11.45 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002879/0.5862, allocations: 1.526 MB / 0.6057 GB, free: 9.93 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007815/0.594, allocations: 4.44 MB / 0.61 GB, free: 5.359 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002566/0.5966, allocations: 1.325 MB / 0.6113 GB, free: 3.992 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/0.5979, allocations: 0.7726 MB / 0.6121 GB, free: 3.219 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.199e-05/0.598, allocations: 16.64 kB / 0.6121 GB, free: 3.203 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.5981, allocations: 43.22 kB / 0.6121 GB, free: 3.152 MB / 442.7 MB Notification: Performance of pre-optimization done (n=103): time 4.879e-06/0.5981, allocations: 4 kB / 0.6121 GB, free: 3.148 MB / 442.7 MB Notification: Performance of matching and sorting (n=104): time 0.007177/0.6053, allocations: 3.729 MB / 0.6158 GB, free: 15.36 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/0.6054, allocations: 89.77 kB / 0.6159 GB, free: 15.26 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005565/0.606, allocations: 398 kB / 0.6162 GB, free: 14.86 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.096e-05/0.606, allocations: 41.7 kB / 0.6163 GB, free: 14.81 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/0.6063, allocations: 344.2 kB / 0.6166 GB, free: 14.47 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003178/0.6066, allocations: 350.8 kB / 0.6169 GB, free: 14.12 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.29e-05/0.6067, allocations: 20 kB / 0.617 GB, free: 14.1 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002149/0.6069, allocations: 382.7 kB / 0.6173 GB, free: 13.72 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/0.608, allocations: 0.6109 MB / 0.6179 GB, free: 13.11 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.6093, allocations: 0.7658 MB / 0.6187 GB, free: 12.29 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002385/0.6117, allocations: 1.426 MB / 0.6201 GB, free: 10.82 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.6117, allocations: 3.938 kB / 0.6201 GB, free: 10.81 MB / 458.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002831/0.6145, allocations: 1.519 MB / 0.6216 GB, free: 9.289 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.6146, allocations: 8 kB / 0.6216 GB, free: 9.281 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.6146, allocations: 4 kB / 0.6216 GB, free: 9.277 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.6146, allocations: 8 kB / 0.6216 GB, free: 9.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002826/0.6174, allocations: 0.6245 MB / 0.6222 GB, free: 8.645 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005873/0.6233, allocations: 4.944 MB / 0.627 GB, free: 3.305 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/0.6244, allocations: 92 kB / 0.6271 GB, free: 3.215 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.656e-05/0.6245, allocations: 31.98 kB / 0.6271 GB, free: 3.184 MB / 458.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 98 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007165/0.6253, allocations: 317.5 kB / 0.6274 GB, free: 2.863 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/0.6255, allocations: 63.25 kB / 0.6275 GB, free: 2.801 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002847/0.6283, allocations: 1.508 MB / 0.629 GB, free: 1.285 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.637e-05/0.6284, allocations: 31.94 kB / 0.629 GB, free: 1.254 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.6284, allocations: 7.984 kB / 0.629 GB, free: 1.246 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-05/0.6284, allocations: 3.984 kB / 0.629 GB, free: 1.242 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005056/0.6335, allocations: 2.836 MB / 0.6318 GB, free: 14.33 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.6335, allocations: 4 kB / 0.6318 GB, free: 14.33 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002878/0.6364, allocations: 0.683 MB / 0.6324 GB, free: 13.64 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.46e-05/0.6364, allocations: 7.938 kB / 0.6325 GB, free: 13.64 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.338e-05/0.6365, allocations: 27.98 kB / 0.6325 GB, free: 13.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.326e-05/0.6366, allocations: 4 kB / 0.6325 GB, free: 13.61 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.6366, allocations: 3.938 kB / 0.6325 GB, free: 13.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004387/0.641, allocations: 2.485 MB / 0.6349 GB, free: 11.07 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002758/0.6413, allocations: 144.2 kB / 0.635 GB, free: 10.91 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.6414, allocations: 23.94 kB / 0.6351 GB, free: 10.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006045/0.642, allocations: 87.89 kB / 0.6352 GB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002114/0.6422, allocations: 68.55 kB / 0.6352 GB, free: 10.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.6423, allocations: 24 kB / 0.6352 GB, free: 10.71 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004119/0.6428, allocations: 275.1 kB / 0.6355 GB, free: 10.45 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6428, allocations: 0 / 0.6355 GB, free: 10.45 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001043/0.6438, allocations: 259.9 kB / 0.6358 GB, free: 10.19 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],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 (86): * Single equations (assignments): 81 * Array equations: 4 * 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.000406/0.6442, allocations: 187 kB / 0.6359 GB, free: 10 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004386/0.6486, allocations: 1.881 MB / 0.6378 GB, free: 8.121 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.6487, allocations: 0 / 0.6378 GB, free: 8.121 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002942/0.6516, allocations: 1.203 MB / 0.6389 GB, free: 6.918 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.6528, allocations: 146.1 kB / 0.6391 GB, free: 6.777 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006111/0.6589, allocations: 3.113 MB / 0.6421 GB, free: 3.609 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009325/0.6599, allocations: 1.076 MB / 0.6432 GB, free: 2.508 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005001/0.6604, allocations: 67.42 kB / 0.6432 GB, free: 2.441 MB / 474.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6604, allocations: 0 / 0.6432 GB, free: 2.441 MB / 474.7 MB Notification: Performance of Templates: time 0.317/0.9774, allocations: 20.85 MB / 0.6636 GB, free: 134.5 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1)