Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PhotoVoltaics.Examples.SimpleModulePolyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase") translateModel(PhotoVoltaics.Examples.SimpleModulePolyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 172.2 kB / 16.11 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 223.3 MB / 240.1 MB, free: 9.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000809/0.0008091, allocations: 91.56 kB / 291.3 MB, free: 10.59 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02524/0.02524, allocations: 5.395 MB / 347.8 MB, free: 2.199 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003434, allocations: 8 kB / 410.1 MB, free: 60.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08892/0.08928, allocations: 51.62 MB / 461.7 MB, free: 9.102 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3488/0.4381, allocations: 94.73 MB / 0.5434 GB, free: 9.523 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/0.4384, allocations: 74.16 kB / 0.5434 GB, free: 9.488 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1067/0.5452, allocations: 39.44 MB / 0.582 GB, free: 8.113 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5452, allocations: 0 / 0.582 GB, free: 8.113 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001998/0.5454, allocations: 59.88 kB / 0.582 GB, free: 8.055 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.006378/0.5518, allocations: 2.334 MB / 0.5843 GB, free: 5.805 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.5519, allocations: 12.88 kB / 0.5843 GB, free: 5.793 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.5529, allocations: 254 kB / 0.5845 GB, free: 5.543 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003589/0.5565, allocations: 1.412 MB / 0.5859 GB, free: 4.301 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.5567, allocations: 156.4 kB / 0.5861 GB, free: 4.145 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006308/0.5573, allocations: 204.6 kB / 0.5863 GB, free: 3.945 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007005/0.5644, allocations: 2.714 MB / 0.5889 GB, free: 1.082 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.641e-05/0.5645, allocations: 7.984 kB / 0.5889 GB, free: 1.074 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004034/0.5649, allocations: 84 kB / 0.589 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001176/0.565, allocations: 88.03 kB / 0.5891 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005549/0.5706, allocations: 2.229 MB / 0.5913 GB, free: 14.65 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0162/0.5868, allocations: 8.103 MB / 0.5992 GB, free: 6.297 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002205/0.5891, allocations: 1.298 MB / 0.6004 GB, free: 4.914 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009549/0.5901, allocations: 0.5374 MB / 0.601 GB, free: 4.375 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.436e-05/0.5901, allocations: 12.53 kB / 0.601 GB, free: 4.363 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001071/0.5912, allocations: 0.6205 MB / 0.6016 GB, free: 3.719 MB / 410.7 MB Notification: Performance of pre-optimization done (n=71): time 3.366e-06/0.5912, allocations: 0 / 0.6016 GB, free: 3.719 MB / 410.7 MB Notification: Performance of matching and sorting (n=71): time 0.006104/0.5973, allocations: 2.043 MB / 0.6036 GB, free: 1.641 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.5975, allocations: 170.8 kB / 0.6037 GB, free: 1.438 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001702/0.5992, allocations: 1.107 MB / 0.6048 GB, free: 320 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.389e-05/0.5993, allocations: 41.7 kB / 0.6049 GB, free: 272 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000921/0.6002, allocations: 0.965 MB / 0.6058 GB, free: 15.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002377/0.6004, allocations: 236.6 kB / 0.606 GB, free: 15.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.949e-05/0.6005, allocations: 20 kB / 0.6061 GB, free: 15.03 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.6007, allocations: 349.9 kB / 0.6064 GB, free: 14.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009086/0.6016, allocations: 0.5016 MB / 0.6069 GB, free: 14.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.6027, allocations: 0.7789 MB / 0.6076 GB, free: 13.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002025/0.6047, allocations: 1.341 MB / 0.6089 GB, free: 11.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/0.6048, allocations: 4 kB / 0.6089 GB, free: 11.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002994/0.6078, allocations: 1.521 MB / 0.6104 GB, free: 10.26 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002497/0.608, allocations: 370.1 kB / 0.6108 GB, free: 9.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.608, allocations: 8 kB / 0.6108 GB, free: 9.762 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005097/0.6086, allocations: 100.7 kB / 0.6109 GB, free: 9.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.6097, allocations: 267.6 kB / 0.6111 GB, free: 9.398 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001669/0.6113, allocations: 1.573 MB / 0.6127 GB, free: 7.684 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.6124, allocations: 151 kB / 0.6128 GB, free: 7.535 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.724e-05/0.6125, allocations: 47.97 kB / 0.6129 GB, free: 7.488 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.934e-06/0.6125, allocations: 8.094 kB / 0.6129 GB, free: 7.48 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002607/0.6151, allocations: 1.377 MB / 0.6142 GB, free: 6.094 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.6151, allocations: 11.94 kB / 0.6142 GB, free: 6.082 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004426/0.6156, allocations: 100.9 kB / 0.6143 GB, free: 5.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.6166, allocations: 263.5 kB / 0.6146 GB, free: 5.723 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/0.6182, allocations: 1.561 MB / 0.6161 GB, free: 4.027 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/0.6193, allocations: 139.3 kB / 0.6162 GB, free: 3.891 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.6194, allocations: 43.98 kB / 0.6163 GB, free: 3.848 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,$PRE.mpTracker.vRef,mpTracker.vRef,converter.integratorOmega.local_reset,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001473/0.6209, allocations: 0.7443 MB / 0.617 GB, free: 3.086 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002842/0.6212, allocations: 118.6 kB / 0.6171 GB, free: 2.969 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002606/0.6238, allocations: 1.338 MB / 0.6184 GB, free: 1.617 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/0.6239, allocations: 8 kB / 0.6184 GB, free: 1.609 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.6239, allocations: 0 / 0.6184 GB, free: 1.609 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/0.6239, allocations: 7.984 kB / 0.6184 GB, free: 1.602 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008518/0.6324, allocations: 3.506 MB / 0.6219 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.6325, allocations: 4 kB / 0.6219 GB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007145/0.6332, allocations: 151.8 kB / 0.622 GB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002372/0.6356, allocations: 0.5839 MB / 0.6226 GB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.384e-05/0.6357, allocations: 27.97 kB / 0.6226 GB, free: 13.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/0.6368, allocations: 0.9286 MB / 0.6235 GB, free: 12.28 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.6368, allocations: 0 / 0.6235 GB, free: 12.28 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003508/0.6403, allocations: 1.996 MB / 0.6255 GB, free: 10.26 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006648/0.641, allocations: 299.5 kB / 0.6258 GB, free: 9.945 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002747/0.6413, allocations: 19.98 kB / 0.6258 GB, free: 9.926 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000831/0.6422, allocations: 87.86 kB / 0.6259 GB, free: 9.84 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.6423, allocations: 44.48 kB / 0.6259 GB, free: 9.793 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.186e-05/0.6424, allocations: 27.98 kB / 0.6259 GB, free: 9.766 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00151/0.6439, allocations: 0.7569 MB / 0.6267 GB, free: 9 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6439, allocations: 4 kB / 0.6267 GB, free: 8.996 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002528/0.6464, allocations: 0.8818 MB / 0.6275 GB, free: 8.109 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (converter.integrator.y,converter.integratorOmega.y,converter.firstOrder[1].y,converter.firstOrder[2].y,converter.firstOrder[3].y) * Number of discrete variables: 6 ($whenCondition1,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef) * Number of discrete states: 7 (mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 64 * 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: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003658/0.6468, allocations: 165.9 kB / 0.6277 GB, free: 7.938 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00415/0.651, allocations: 2.212 MB / 0.6299 GB, free: 5.676 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.651, allocations: 0 / 0.6299 GB, free: 5.676 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001261/0.6523, allocations: 0.6282 MB / 0.6305 GB, free: 5.035 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001869/0.6542, allocations: 244.3 kB / 0.6307 GB, free: 4.793 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008025/0.6622, allocations: 4.134 MB / 0.6347 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002067/0.6643, allocations: 1.706 MB / 0.6364 GB, free: 14.87 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001516/0.6659, allocations: 360.2 kB / 0.6367 GB, free: 14.52 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003791/0.6663, allocations: 87.39 kB / 0.6368 GB, free: 14.43 MB / 458.7 MB Notification: Performance of SimCode: time 6.91e-07/0.6663, allocations: 0 / 0.6368 GB, free: 14.43 MB / 458.7 MB Notification: Performance of Templates: time 0.2128/0.8791, allocations: 15.6 MB / 0.6521 GB, free: 133.5 MB / 458.7 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.pipe 2>&1)