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.001059/0.001059, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.423/1.423, allocations: 221.4 MB / 234.6 MB, free: 14.38 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.0008345/0.0008345, allocations: 94.53 kB / 285.6 MB, free: 12.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02399/0.02399, allocations: 5.286 MB / 341.8 MB, free: 4.785 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.402e-05/3.404e-05, allocations: 8 kB / 401.2 MB, free: 65.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08963/0.08967, allocations: 51.61 MB / 452.8 MB, free: 13.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4295/0.5192, allocations: 94.81 MB / 0.5348 GB, free: 14.45 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.5196, allocations: 77.88 kB / 0.5349 GB, free: 14.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1085/0.6281, allocations: 39.53 MB / 0.5735 GB, free: 12.95 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6281, allocations: 0 / 0.5735 GB, free: 12.95 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001749/0.6283, allocations: 59.88 kB / 0.5736 GB, free: 12.89 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.005852/0.6342, allocations: 2.133 MB / 0.5756 GB, free: 10.83 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.6342, allocations: 12.03 kB / 0.5757 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.6355, allocations: 260.6 kB / 0.5759 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003246/0.6387, allocations: 1.366 MB / 0.5772 GB, free: 9.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.6389, allocations: 155.9 kB / 0.5774 GB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005033/0.6394, allocations: 197.8 kB / 0.5776 GB, free: 9.258 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005008/0.6444, allocations: 2.578 MB / 0.5801 GB, free: 6.711 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.989e-05/0.6445, allocations: 0 / 0.5801 GB, free: 6.711 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002056/0.6447, allocations: 91.94 kB / 0.5802 GB, free: 6.621 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.816e-05/0.6448, allocations: 84.03 kB / 0.5803 GB, free: 6.535 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003724/0.6486, allocations: 2.015 MB / 0.5822 GB, free: 4.504 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01384/0.6624, allocations: 8.106 MB / 0.5901 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/0.6641, allocations: 1.17 MB / 0.5913 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007223/0.6648, allocations: 486.4 kB / 0.5918 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.091e-05/0.6649, allocations: 12.55 kB / 0.5918 GB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007658/0.6657, allocations: 0.5433 MB / 0.5923 GB, free: 9.828 MB / 410.7 MB Notification: Performance of pre-optimization done (n=71): time 2.514e-06/0.6657, allocations: 4 kB / 0.5923 GB, free: 9.824 MB / 410.7 MB Notification: Performance of matching and sorting (n=71): time 0.00189/0.6676, allocations: 1.039 MB / 0.5933 GB, free: 8.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.371e-05/0.6677, allocations: 178.7 kB / 0.5935 GB, free: 8.555 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/0.6691, allocations: 0.9734 MB / 0.5944 GB, free: 7.562 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.812e-05/0.6692, allocations: 37.7 kB / 0.5945 GB, free: 7.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008086/0.67, allocations: 0.9611 MB / 0.5954 GB, free: 6.543 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/0.6702, allocations: 240.6 kB / 0.5956 GB, free: 6.305 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.716e-05/0.6702, allocations: 20 kB / 0.5957 GB, free: 6.285 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.6704, allocations: 350 kB / 0.596 GB, free: 5.938 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006455/0.671, allocations: 433.8 kB / 0.5964 GB, free: 5.512 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007752/0.6718, allocations: 0.701 MB / 0.5971 GB, free: 4.688 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007556/0.6726, allocations: 0.5464 MB / 0.5976 GB, free: 4.133 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.6726, allocations: 0 / 0.5976 GB, free: 4.133 MB / 410.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002272/0.6749, allocations: 1.376 MB / 0.599 GB, free: 2.738 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001182/0.6761, allocations: 3.429 MB / 0.6023 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.6761, allocations: 8 kB / 0.6023 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005336/0.6766, allocations: 104.7 kB / 0.6024 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.6777, allocations: 279.5 kB / 0.6027 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/0.6793, allocations: 1.554 MB / 0.6042 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.6805, allocations: 155.1 kB / 0.6044 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-05/0.6806, allocations: 43.98 kB / 0.6044 GB, free: 12.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.6806, allocations: 9.812 kB / 0.6044 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002127/0.6828, allocations: 1.254 MB / 0.6056 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.6828, allocations: 8 kB / 0.6056 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004597/0.6833, allocations: 97.28 kB / 0.6057 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.6843, allocations: 267.5 kB / 0.606 GB, free: 11.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/0.686, allocations: 1.558 MB / 0.6075 GB, free: 9.434 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.6872, allocations: 139.1 kB / 0.6076 GB, free: 9.297 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.565e-05/0.6873, allocations: 39.98 kB / 0.6077 GB, free: 9.258 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 () * 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.0003973/0.6877, allocations: 210.2 kB / 0.6079 GB, free: 9.039 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002421/0.6879, allocations: 118.7 kB / 0.608 GB, free: 8.922 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002171/0.6901, allocations: 1.172 MB / 0.6091 GB, free: 7.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.6901, allocations: 8 kB / 0.6091 GB, free: 7.723 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.6902, allocations: 7.953 kB / 0.6092 GB, free: 7.715 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.6902, allocations: 0 / 0.6092 GB, free: 7.715 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008177/0.6984, allocations: 3.356 MB / 0.6124 GB, free: 4.285 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.6984, allocations: 0 / 0.6124 GB, free: 4.285 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007098/0.6991, allocations: 147.8 kB / 0.6126 GB, free: 4.141 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002331/0.7015, allocations: 0.5333 MB / 0.6131 GB, free: 3.598 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/0.7016, allocations: 31.97 kB / 0.6131 GB, free: 3.566 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/0.7027, allocations: 0.8623 MB / 0.614 GB, free: 2.672 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.7027, allocations: 0 / 0.614 GB, free: 2.672 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002684/0.7054, allocations: 1.783 MB / 0.6157 GB, free: 0.8516 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005958/0.706, allocations: 303.5 kB / 0.616 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/0.7061, allocations: 23.94 kB / 0.616 GB, free: 0.5117 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007041/0.7068, allocations: 79.92 kB / 0.6161 GB, free: 444 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.707, allocations: 48.48 kB / 0.6161 GB, free: 396 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-05/0.7071, allocations: 27.97 kB / 0.6162 GB, free: 368 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001077/0.7081, allocations: 0.7461 MB / 0.6169 GB, free: 15.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7081, allocations: 0 / 0.6169 GB, free: 15.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002003/0.7102, allocations: 0.878 MB / 0.6178 GB, free: 14.72 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) * 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.0003488/0.7105, allocations: 171.7 kB / 0.6179 GB, free: 14.54 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003146/0.7137, allocations: 2.036 MB / 0.6199 GB, free: 12.45 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.7137, allocations: 5.812 kB / 0.6199 GB, free: 12.45 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008584/0.7146, allocations: 0.5611 MB / 0.6205 GB, free: 11.88 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.7158, allocations: 243.2 kB / 0.6207 GB, free: 11.64 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004578/0.7204, allocations: 2.626 MB / 0.6233 GB, free: 8.969 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001274/0.7217, allocations: 1.747 MB / 0.625 GB, free: 7.188 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001521/0.7232, allocations: 0.5038 MB / 0.6255 GB, free: 6.68 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002142/0.7234, allocations: 63.42 kB / 0.6255 GB, free: 6.617 MB / 442.7 MB Notification: Performance of SimCode: time 6.71e-07/0.7234, allocations: 0 / 0.6255 GB, free: 6.617 MB / 442.7 MB Notification: Performance of Templates: time 0.03139/0.7548, allocations: 17.18 MB / 0.6423 GB, free: 5.551 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)