Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.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.SimpleModuleMP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP") translateModel(PhotoVoltaics.Examples.SimpleModuleMP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 174.7 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.368/1.368, allocations: 221.4 MB / 234.6 MB, free: 14.43 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.0008412/0.0008414, allocations: 91.17 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02521/0.02521, allocations: 5.28 MB / 341.8 MB, free: 4.801 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.549e-05/3.563e-05, allocations: 0 / 403.7 MB, free: 62.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1252, allocations: 51.61 MB / 455.3 MB, free: 11.33 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4073/0.5325, allocations: 93.49 MB / 0.536 GB, free: 13.62 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000196/0.5327, allocations: 72.97 kB / 0.536 GB, free: 13.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07575/0.6085, allocations: 30.02 MB / 0.5653 GB, free: 4.508 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.6086, allocations: 4 kB / 0.5653 GB, free: 4.504 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.255e-05/0.6086, allocations: 16 kB / 0.5654 GB, free: 4.488 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.002757/0.6114, allocations: 1.152 MB / 0.5665 GB, free: 3.363 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/0.6115, allocations: 8.031 kB / 0.5665 GB, free: 3.355 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001421/0.6129, allocations: 290.5 kB / 0.5668 GB, free: 3.094 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008372/0.6137, allocations: 0.5245 MB / 0.5673 GB, free: 2.656 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.962e-05/0.6138, allocations: 69.06 kB / 0.5673 GB, free: 2.617 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.6139, allocations: 91.56 kB / 0.5674 GB, free: 2.559 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.6156, allocations: 0.969 MB / 0.5684 GB, free: 1.898 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/0.6157, allocations: 4 kB / 0.5684 GB, free: 1.895 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.815e-05/0.6157, allocations: 37.19 kB / 0.5684 GB, free: 1.887 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.6158, allocations: 24 kB / 0.5684 GB, free: 1.863 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.6172, allocations: 0.8649 MB / 0.5693 GB, free: 1.324 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006124/0.6234, allocations: 4.028 MB / 0.5732 GB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001944/0.6254, allocations: 1.536 MB / 0.5747 GB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004489/0.6258, allocations: 249.8 kB / 0.575 GB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/0.626, allocations: 93.09 kB / 0.5751 GB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005429/0.6265, allocations: 316.4 kB / 0.5754 GB, free: 11.46 MB / 394.7 MB Notification: Performance of pre-optimization done (n=50): time 2.855e-06/0.6265, allocations: 0 / 0.5754 GB, free: 11.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=50): time 0.003414/0.63, allocations: 0.862 MB / 0.5762 GB, free: 10.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.6301, allocations: 166.6 kB / 0.5764 GB, free: 10.38 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008173/0.6309, allocations: 491.7 kB / 0.5768 GB, free: 9.887 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.379e-05/0.631, allocations: 37.7 kB / 0.5769 GB, free: 9.844 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004238/0.6314, allocations: 458.3 kB / 0.5773 GB, free: 9.387 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.6316, allocations: 173.6 kB / 0.5775 GB, free: 9.215 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.6316, allocations: 16 kB / 0.5775 GB, free: 9.199 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.6318, allocations: 366.8 kB / 0.5778 GB, free: 8.832 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004026/0.6322, allocations: 221.5 kB / 0.578 GB, free: 8.617 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005436/0.6328, allocations: 424.2 kB / 0.5784 GB, free: 8.117 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005175/0.6333, allocations: 316.8 kB / 0.5787 GB, free: 7.805 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/0.6333, allocations: 4 kB / 0.5787 GB, free: 7.801 MB / 394.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001665/0.635, allocations: 0.8517 MB / 0.5796 GB, free: 6.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.145e-05/0.6351, allocations: 33.7 kB / 0.5796 GB, free: 6.891 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.6351, allocations: 8.688 kB / 0.5796 GB, free: 6.883 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005294/0.6356, allocations: 96.77 kB / 0.5797 GB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007423/0.6364, allocations: 187.7 kB / 0.5799 GB, free: 6.602 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/0.6381, allocations: 1.558 MB / 0.5814 GB, free: 4.906 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007868/0.6389, allocations: 91.2 kB / 0.5815 GB, free: 4.816 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.761e-05/0.639, allocations: 39.97 kB / 0.5815 GB, free: 4.777 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,$PRE.mpTracker.vRef,mpTracker.vRef,converter.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * 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.0002455/0.6392, allocations: 186.4 kB / 0.5817 GB, free: 4.582 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.6394, allocations: 63.34 kB / 0.5818 GB, free: 4.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003402/0.6428, allocations: 0.9483 MB / 0.5827 GB, free: 3.559 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.6428, allocations: 8 kB / 0.5827 GB, free: 3.551 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.6428, allocations: 3.953 kB / 0.5827 GB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.6428, allocations: 3.984 kB / 0.5827 GB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002996/0.6458, allocations: 1.727 MB / 0.5844 GB, free: 1.738 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.6458, allocations: 0 / 0.5844 GB, free: 1.738 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003253/0.6462, allocations: 79.84 kB / 0.5845 GB, free: 1.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002341/0.6485, allocations: 0.5372 MB / 0.585 GB, free: 1.113 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.035e-05/0.6486, allocations: 19.98 kB / 0.585 GB, free: 1.094 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009904/0.6496, allocations: 0.8721 MB / 0.5859 GB, free: 196 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.6496, allocations: 0 / 0.5859 GB, free: 196 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.6513, allocations: 1.024 MB / 0.5869 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003764/0.6517, allocations: 200.2 kB / 0.5871 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.357e-05/0.6518, allocations: 16 kB / 0.5871 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004542/0.6523, allocations: 39.97 kB / 0.5871 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.939e-05/0.6524, allocations: 32.02 kB / 0.5871 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.193e-05/0.6524, allocations: 19.98 kB / 0.5872 GB, free: 14.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005563/0.653, allocations: 369.6 kB / 0.5875 GB, free: 14.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.653, allocations: 0 / 0.5875 GB, free: 14.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001094/0.6541, allocations: 267.1 kB / 0.5878 GB, free: 14.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (converter.potentialSensor.pin_p.reference.gamma,converter.integrator.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 (42): * Single equations (assignments): 41 * 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.0005241/0.6546, allocations: 227.5 kB / 0.588 GB, free: 13.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001552/0.6562, allocations: 0.7379 MB / 0.5887 GB, free: 13.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.6562, allocations: 3.938 kB / 0.5887 GB, free: 13.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005838/0.6568, allocations: 347.4 kB / 0.589 GB, free: 12.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006568/0.6575, allocations: 87.36 kB / 0.5891 GB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/0.6598, allocations: 0.9412 MB / 0.5901 GB, free: 11.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006989/0.6605, allocations: 0.9614 MB / 0.591 GB, free: 10.79 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000385/0.6609, allocations: 76.86 kB / 0.5911 GB, free: 10.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.6611, allocations: 47.41 kB / 0.5911 GB, free: 10.66 MB / 410.7 MB Notification: Performance of SimCode: time 1.723e-06/0.6611, allocations: 0 / 0.5911 GB, free: 10.66 MB / 410.7 MB Notification: Performance of Templates: time 0.0183/0.6794, allocations: 9.27 MB / 0.6002 GB, free: 1.449 MB / 410.7 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe 2>&1)