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.002081/0.002082, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.643/1.643, allocations: 221.5 MB / 229.6 MB, free: 3.133 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.001002/0.001002, allocations: 93.31 kB / 280.5 MB, free: 1.137 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02547/0.02547, allocations: 5.288 MB / 336.6 MB, free: 9.105 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.361e-05/1.364e-05, allocations: 4 kB / 394.3 MB, free: 70.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1261, allocations: 51.61 MB / 446 MB, free: 19.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4408/0.567, allocations: 93.91 MB / 0.5272 GB, free: 7.621 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.5673, allocations: 75.31 kB / 0.5273 GB, free: 7.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1067/0.674, allocations: 39.1 MB / 0.5655 GB, free: 7.219 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.674, allocations: 0 / 0.5655 GB, free: 7.219 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002704/0.6743, allocations: 63.88 kB / 0.5655 GB, free: 7.156 MB / 378.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.006719/0.6811, allocations: 2.141 MB / 0.5676 GB, free: 5.086 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.6811, allocations: 12.03 kB / 0.5676 GB, free: 5.074 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.6825, allocations: 257.1 kB / 0.5679 GB, free: 4.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003003/0.6855, allocations: 1.359 MB / 0.5692 GB, free: 3.633 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.457e-05/0.6856, allocations: 72 kB / 0.5693 GB, free: 3.562 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002681/0.6859, allocations: 119.9 kB / 0.5694 GB, free: 3.445 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003609/0.6895, allocations: 1.875 MB / 0.5712 GB, free: 1.562 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003937/0.6935, allocations: 2.27 MB / 0.5734 GB, free: 15.15 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.962e-05/0.6935, allocations: 3.984 kB / 0.5734 GB, free: 15.15 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001572/0.6937, allocations: 4 kB / 0.5734 GB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001069/0.6938, allocations: 88.03 kB / 0.5735 GB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0127/0.7065, allocations: 7.706 MB / 0.5811 GB, free: 7.113 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/0.7081, allocations: 1.185 MB / 0.5822 GB, free: 5.84 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006764/0.7088, allocations: 474.8 kB / 0.5827 GB, free: 5.375 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.728e-05/0.7089, allocations: 12.64 kB / 0.5827 GB, free: 5.363 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007629/0.7097, allocations: 0.5383 MB / 0.5832 GB, free: 4.801 MB / 394.7 MB Notification: Performance of pre-optimization done (n=75): time 2.716e-06/0.7097, allocations: 0 / 0.5832 GB, free: 4.801 MB / 394.7 MB Notification: Performance of matching and sorting (n=75): time 0.001767/0.7115, allocations: 0.9942 MB / 0.5842 GB, free: 3.797 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.828e-05/0.7116, allocations: 171 kB / 0.5843 GB, free: 3.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.7128, allocations: 0.8928 MB / 0.5852 GB, free: 2.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.437e-05/0.7129, allocations: 29.7 kB / 0.5852 GB, free: 2.645 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008326/0.7137, allocations: 0.9573 MB / 0.5862 GB, free: 1.672 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002359/0.714, allocations: 244.4 kB / 0.5864 GB, free: 1.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.252e-05/0.714, allocations: 0 / 0.5864 GB, free: 1.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.7142, allocations: 349.9 kB / 0.5867 GB, free: 1.082 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005959/0.7148, allocations: 422.5 kB / 0.5871 GB, free: 0.668 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008046/0.7156, allocations: 0.6898 MB / 0.5878 GB, free: 15.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007595/0.7164, allocations: 0.5197 MB / 0.5883 GB, free: 15.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.7164, allocations: 3.938 kB / 0.5883 GB, free: 15.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002267/0.7187, allocations: 1.269 MB / 0.5896 GB, free: 14.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001485/0.7202, allocations: 3.426 MB / 0.5929 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.578e-05/0.7202, allocations: 15.98 kB / 0.5929 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005456/0.7208, allocations: 96.78 kB / 0.593 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.7219, allocations: 279.5 kB / 0.5933 GB, free: 9.969 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001651/0.7236, allocations: 1.506 MB / 0.5948 GB, free: 8.344 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.7246, allocations: 131 kB / 0.5949 GB, free: 8.215 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-05/0.7247, allocations: 52.02 kB / 0.5949 GB, free: 8.164 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.477e-06/0.7248, allocations: 4 kB / 0.5949 GB, free: 8.16 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002042/0.7268, allocations: 1.148 MB / 0.5961 GB, free: 7.004 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.7268, allocations: 12.19 kB / 0.5961 GB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004629/0.7273, allocations: 96.78 kB / 0.5962 GB, free: 6.895 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.7283, allocations: 275.5 kB / 0.5964 GB, free: 6.625 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/0.7298, allocations: 1.498 MB / 0.5979 GB, free: 5.012 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009656/0.7308, allocations: 115.2 kB / 0.598 GB, free: 4.898 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.383e-05/0.7309, allocations: 43.98 kB / 0.598 GB, free: 4.855 MB / 410.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 (124): * Single equations (assignments): 122 * 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.0003122/0.7312, allocations: 178.4 kB / 0.5982 GB, free: 4.668 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/0.7314, allocations: 114.6 kB / 0.5983 GB, free: 4.555 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001961/0.7334, allocations: 1.114 MB / 0.5994 GB, free: 3.422 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.7334, allocations: 12 kB / 0.5994 GB, free: 3.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.7334, allocations: 0 / 0.5994 GB, free: 3.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.7335, allocations: 3.984 kB / 0.5994 GB, free: 3.406 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007324/0.7408, allocations: 3.017 MB / 0.6024 GB, free: 336 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.7408, allocations: 3.953 kB / 0.6024 GB, free: 332 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007365/0.7416, allocations: 163.8 kB / 0.6025 GB, free: 168 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002326/0.7439, allocations: 0.5332 MB / 0.603 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.791e-05/0.744, allocations: 23.91 kB / 0.6031 GB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009804/0.745, allocations: 0.8568 MB / 0.6039 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.745, allocations: 3.984 kB / 0.6039 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004889/0.7499, allocations: 2.01 MB / 0.6059 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007772/0.7507, allocations: 311.5 kB / 0.6062 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.7509, allocations: 4 kB / 0.6062 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006996/0.7516, allocations: 75.91 kB / 0.6062 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.7517, allocations: 52.7 kB / 0.6063 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.069e-05/0.7518, allocations: 27.97 kB / 0.6063 GB, free: 12.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00104/0.7529, allocations: 0.6779 MB / 0.607 GB, free: 11.51 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7529, allocations: 0 / 0.607 GB, free: 11.51 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002111/0.755, allocations: 0.8271 MB / 0.6078 GB, free: 10.68 MB / 426.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 (67): * Single equations (assignments): 66 * 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.0003444/0.7553, allocations: 165.7 kB / 0.6079 GB, free: 10.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003103/0.7584, allocations: 1.977 MB / 0.6099 GB, free: 8.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.7585, allocations: 4.625 kB / 0.6099 GB, free: 8.477 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000874/0.7593, allocations: 0.5723 MB / 0.6104 GB, free: 7.895 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.7608, allocations: 215.9 kB / 0.6106 GB, free: 7.688 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005862/0.7667, allocations: 2.592 MB / 0.6132 GB, free: 5.051 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001485/0.7682, allocations: 1.747 MB / 0.6149 GB, free: 3.273 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001703/0.7699, allocations: 0.527 MB / 0.6154 GB, free: 2.742 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/0.7702, allocations: 75.41 kB / 0.6155 GB, free: 2.668 MB / 426.7 MB Notification: Performance of SimCode: time 8.32e-07/0.7702, allocations: 0 / 0.6155 GB, free: 2.668 MB / 426.7 MB Notification: Performance of Templates: time 0.02974/0.7999, allocations: 15.03 MB / 0.6301 GB, free: 3.75 MB / 442.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)