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.004944/0.004944, allocations: 169.6 kB / 15.11 MB, free: 5.973 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.31/1.31, allocations: 223.2 MB / 239 MB, free: 1.797 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008651/0.0008651, allocations: 96.25 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02472/0.02472, allocations: 5.391 MB / 346.7 MB, free: 5.559 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003177/0.0003177, allocations: 8.906 kB / 408.8 MB, free: 92.01 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08191/0.08224, allocations: 51.63 MB / 460.4 MB, free: 48.07 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.329/0.4113, allocations: 94.63 MB / 0.542 GB, free: 20.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.4116, allocations: 73.97 kB / 0.5421 GB, free: 20.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09822/0.5098, allocations: 39.48 MB / 0.5807 GB, free: 10.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.5098, allocations: 0 / 0.5807 GB, free: 10.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002121/0.5101, allocations: 53.03 kB / 0.5807 GB, free: 10.73 MB / 362.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.00682/0.5169, allocations: 2.356 MB / 0.583 GB, free: 9.293 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.517, allocations: 11.73 kB / 0.583 GB, free: 9.289 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.5181, allocations: 252.4 kB / 0.5833 GB, free: 9.164 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003468/0.5216, allocations: 1.381 MB / 0.5846 GB, free: 8.531 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/0.5217, allocations: 156.2 kB / 0.5848 GB, free: 8.523 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006204/0.5224, allocations: 202 kB / 0.585 GB, free: 8.523 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005655/0.528, allocations: 2.693 MB / 0.5876 GB, free: 7.664 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.505e-05/0.5281, allocations: 0 / 0.5876 GB, free: 7.664 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003146/0.5284, allocations: 87.84 kB / 0.5877 GB, free: 7.664 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.871e-05/0.5285, allocations: 80.02 kB / 0.5878 GB, free: 7.656 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004606/0.5331, allocations: 2.231 MB / 0.5899 GB, free: 7.285 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01273/0.5459, allocations: 8.11 MB / 0.5978 GB, free: 3.398 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.5476, allocations: 1.299 MB / 0.5991 GB, free: 2.824 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.49e-05/0.5477, allocations: 11.77 kB / 0.5991 GB, free: 2.824 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008603/0.5486, allocations: 0.5854 MB / 0.5997 GB, free: 2.613 MB / 362.7 MB Notification: Performance of pre-optimization done (n=71): time 3.647e-06/0.5486, allocations: 0 / 0.5997 GB, free: 2.613 MB / 362.7 MB Notification: Performance of matching and sorting (n=71): time 0.005746/0.5544, allocations: 2.061 MB / 0.6017 GB, free: 2.012 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.5544, allocations: 139.8 kB / 0.6018 GB, free: 1.855 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/0.5562, allocations: 0.9855 MB / 0.6028 GB, free: 1.559 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.32e-05/0.5563, allocations: 40.64 kB / 0.6028 GB, free: 1.527 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008264/0.5572, allocations: 0.9581 MB / 0.6038 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001975/0.5574, allocations: 244.5 kB / 0.604 GB, free: 0.7344 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.988e-05/0.5575, allocations: 21.69 kB / 0.604 GB, free: 0.7266 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.054e-05/0.5575, allocations: 348.4 kB / 0.6044 GB, free: 408 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007808/0.5583, allocations: 0.4967 MB / 0.6049 GB, free: 60 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/0.5595, allocations: 0.7802 MB / 0.6056 GB, free: 15.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.5605, allocations: 0.6205 MB / 0.6062 GB, free: 14.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/0.5606, allocations: 4 kB / 0.6062 GB, free: 14.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003023/0.5636, allocations: 1.525 MB / 0.6077 GB, free: 13.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001277/0.5649, allocations: 3.339 MB / 0.611 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/0.5649, allocations: 12 kB / 0.611 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005488/0.5655, allocations: 100.6 kB / 0.6111 GB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.5666, allocations: 267.4 kB / 0.6113 GB, free: 9.848 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/0.5683, allocations: 1.582 MB / 0.6129 GB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.5696, allocations: 161.5 kB / 0.613 GB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.5697, allocations: 43.42 kB / 0.6131 GB, free: 8.047 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.5698, allocations: 4 kB / 0.6131 GB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002602/0.5724, allocations: 1.384 MB / 0.6144 GB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-05/0.5724, allocations: 8 kB / 0.6144 GB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004964/0.5729, allocations: 96.77 kB / 0.6145 GB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.574, allocations: 271.7 kB / 0.6148 GB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/0.5756, allocations: 1.565 MB / 0.6163 GB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.5768, allocations: 139.4 kB / 0.6165 GB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.5769, allocations: 43.98 kB / 0.6165 GB, free: 4.723 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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.001479/0.5784, allocations: 0.7518 MB / 0.6172 GB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003384/0.5787, allocations: 114.6 kB / 0.6173 GB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002613/0.5814, allocations: 1.353 MB / 0.6187 GB, free: 2.477 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.5814, allocations: 11.94 kB / 0.6187 GB, free: 2.465 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.5814, allocations: 0 / 0.6187 GB, free: 2.465 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.5814, allocations: 3.984 kB / 0.6187 GB, free: 2.461 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008903/0.5903, allocations: 3.432 MB / 0.622 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.5904, allocations: 3.984 kB / 0.622 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007959/0.5912, allocations: 147.8 kB / 0.6222 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002509/0.5937, allocations: 0.584 MB / 0.6227 GB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/0.5938, allocations: 23.97 kB / 0.6228 GB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.5949, allocations: 0.9248 MB / 0.6237 GB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.5949, allocations: 64 / 0.6237 GB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005711/0.6006, allocations: 2.287 MB / 0.6259 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007416/0.6014, allocations: 303.5 kB / 0.6262 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002806/0.6017, allocations: 20 kB / 0.6262 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008455/0.6025, allocations: 83.91 kB / 0.6263 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.6027, allocations: 52.42 kB / 0.6263 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.973e-05/0.6027, allocations: 23.98 kB / 0.6264 GB, free: 10.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001371/0.6041, allocations: 0.7569 MB / 0.6271 GB, free: 9.664 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.6041, allocations: 0 / 0.6271 GB, free: 9.664 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002399/0.6065, allocations: 0.8781 MB / 0.628 GB, free: 8.781 MB / 394.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.0003319/0.6069, allocations: 174.7 kB / 0.6281 GB, free: 8.609 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003846/0.6107, allocations: 2.222 MB / 0.6303 GB, free: 6.336 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.6108, allocations: 1.812 kB / 0.6303 GB, free: 6.336 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.6118, allocations: 0.6313 MB / 0.6309 GB, free: 5.691 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.6133, allocations: 240.1 kB / 0.6311 GB, free: 5.457 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007445/0.6207, allocations: 4.131 MB / 0.6352 GB, free: 1.285 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001713/0.6225, allocations: 1.745 MB / 0.6369 GB, free: 15.51 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001302/0.6238, allocations: 360.2 kB / 0.6372 GB, free: 15.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003453/0.6242, allocations: 83.41 kB / 0.6373 GB, free: 15.07 MB / 410.7 MB Notification: Performance of SimCode: time 1.021e-06/0.6242, allocations: 0 / 0.6373 GB, free: 15.07 MB / 410.7 MB Notification: Performance of Templates: time 0.02851/0.6527, allocations: 15.46 MB / 0.6524 GB, free: 15.76 MB / 426.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)