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: "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModulePolyphase,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModulePolyphase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModulePolyphase,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModulePolyphase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 175.1 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.374/1.374, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0009907/0.0009908, allocations: 89.3 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02432/0.02432, allocations: 5.29 MB / 341.8 MB, free: 4.805 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.821e-05/2.831e-05, allocations: 7.938 kB / 401.3 MB, free: 65.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09074/0.09078, allocations: 51.61 MB / 452.9 MB, free: 13.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3748/0.4656, allocations: 94.82 MB / 0.5349 GB, free: 14.37 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/0.4659, allocations: 71.25 kB / 0.535 GB, free: 14.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1091/0.575, allocations: 39.54 MB / 0.5736 GB, free: 12.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.575, allocations: 0 / 0.5736 GB, free: 12.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002348/0.5753, allocations: 59.88 kB / 0.5737 GB, free: 12.82 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.006769/0.5821, allocations: 2.136 MB / 0.5757 GB, free: 10.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.5821, allocations: 8.031 kB / 0.5758 GB, free: 10.74 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00117/0.5833, allocations: 303.1 kB / 0.576 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001265/0.5846, allocations: 257.1 kB / 0.5763 GB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003494/0.5881, allocations: 1.372 MB / 0.5776 GB, free: 9.223 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000142/0.5883, allocations: 148.6 kB / 0.5778 GB, free: 9.137 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005975/0.5889, allocations: 202.7 kB / 0.578 GB, free: 9.004 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005907/0.5948, allocations: 2.575 MB / 0.5805 GB, free: 6.324 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.107e-05/0.5949, allocations: 7.938 kB / 0.5805 GB, free: 6.316 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003276/0.5953, allocations: 84 kB / 0.5806 GB, free: 6.234 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.696e-05/0.5954, allocations: 84.05 kB / 0.5806 GB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004398/0.5998, allocations: 2.015 MB / 0.5826 GB, free: 4.117 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01921/0.619, allocations: 8.106 MB / 0.5905 GB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001948/0.621, allocations: 1.174 MB / 0.5917 GB, free: 10.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008155/0.6219, allocations: 486.3 kB / 0.5921 GB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.166e-05/0.622, allocations: 8.562 kB / 0.5922 GB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008664/0.6228, allocations: 0.5473 MB / 0.5927 GB, free: 9.438 MB / 410.7 MB Notification: Performance of pre-optimization done (n=71): time 4.419e-06/0.6229, allocations: 0 / 0.5927 GB, free: 9.438 MB / 410.7 MB Notification: Performance of matching and sorting (n=71): time 0.002162/0.625, allocations: 1.047 MB / 0.5937 GB, free: 8.375 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.601e-05/0.6251, allocations: 166.8 kB / 0.5939 GB, free: 8.172 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/0.627, allocations: 0.9734 MB / 0.5948 GB, free: 7.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001462/0.6272, allocations: 41.7 kB / 0.5949 GB, free: 7.133 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001077/0.6283, allocations: 0.965 MB / 0.5958 GB, free: 6.152 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003347/0.6286, allocations: 244.6 kB / 0.596 GB, free: 5.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.6288, allocations: 19.94 kB / 0.5961 GB, free: 5.891 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.6289, allocations: 341.9 kB / 0.5964 GB, free: 5.551 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000792/0.6297, allocations: 433.8 kB / 0.5968 GB, free: 5.125 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008739/0.6306, allocations: 0.7049 MB / 0.5975 GB, free: 4.297 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008227/0.6314, allocations: 0.5503 MB / 0.598 GB, free: 3.738 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/0.6314, allocations: 4 kB / 0.598 GB, free: 3.734 MB / 410.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002493/0.6339, allocations: 1.372 MB / 0.5994 GB, free: 2.344 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001433/0.6354, allocations: 3.423 MB / 0.6027 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.195e-05/0.6354, allocations: 8 kB / 0.6027 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005985/0.636, allocations: 108.7 kB / 0.6028 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.6374, allocations: 267.6 kB / 0.6031 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/0.6391, allocations: 1.557 MB / 0.6046 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.6403, allocations: 159.1 kB / 0.6047 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001548/0.6405, allocations: 47.97 kB / 0.6048 GB, free: 12.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.6405, allocations: 4 kB / 0.6048 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002231/0.6428, allocations: 1.251 MB / 0.606 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/0.6428, allocations: 15.98 kB / 0.606 GB, free: 11.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004903/0.6433, allocations: 105.1 kB / 0.6061 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.6444, allocations: 263.5 kB / 0.6064 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/0.6459, allocations: 1.554 MB / 0.6079 GB, free: 9.043 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.647, allocations: 135.5 kB / 0.608 GB, free: 8.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.6472, allocations: 47.97 kB / 0.6081 GB, free: 8.863 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.0003661/0.6476, allocations: 210.1 kB / 0.6083 GB, free: 8.645 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002837/0.6479, allocations: 110.6 kB / 0.6084 GB, free: 8.535 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002121/0.65, allocations: 1.184 MB / 0.6095 GB, free: 7.332 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.65, allocations: 11.95 kB / 0.6095 GB, free: 7.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.65, allocations: 4 kB / 0.6095 GB, free: 7.316 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.497e-06/0.65, allocations: 3.984 kB / 0.6096 GB, free: 7.312 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008176/0.6582, allocations: 3.344 MB / 0.6128 GB, free: 3.895 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.6583, allocations: 4 kB / 0.6128 GB, free: 3.891 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007731/0.659, allocations: 143.8 kB / 0.613 GB, free: 3.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002421/0.6615, allocations: 0.5333 MB / 0.6135 GB, free: 3.207 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001491/0.6617, allocations: 27.98 kB / 0.6135 GB, free: 3.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009939/0.6627, allocations: 0.8662 MB / 0.6144 GB, free: 2.281 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.6627, allocations: 0 / 0.6144 GB, free: 2.281 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002981/0.6657, allocations: 1.779 MB / 0.6161 GB, free: 476 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000833/0.6665, allocations: 299.5 kB / 0.6164 GB, free: 156 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003505/0.6669, allocations: 20.19 kB / 0.6164 GB, free: 136 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000875/0.6678, allocations: 87.91 kB / 0.6165 GB, free: 48 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.668, allocations: 52.55 kB / 0.6165 GB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.196e-05/0.668, allocations: 19.92 kB / 0.6165 GB, free: 15.98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001472/0.6695, allocations: 0.75 MB / 0.6173 GB, free: 15.21 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6695, allocations: 0 / 0.6173 GB, free: 15.21 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002817/0.6723, allocations: 0.8858 MB / 0.6181 GB, free: 14.32 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.003226/0.6756, allocations: 2.46 MB / 0.6205 GB, free: 11.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00369/0.6793, allocations: 2.033 MB / 0.6225 GB, free: 9.734 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.6793, allocations: 4.125 kB / 0.6225 GB, free: 9.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.6804, allocations: 0.5611 MB / 0.6231 GB, free: 9.156 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/0.682, allocations: 239 kB / 0.6233 GB, free: 8.926 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007213/0.6892, allocations: 3.15 MB / 0.6264 GB, free: 5.711 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001568/0.6908, allocations: 1.751 MB / 0.6281 GB, free: 3.926 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001638/0.6925, allocations: 0.5078 MB / 0.6286 GB, free: 3.414 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008626/0.6934, allocations: 0.6828 MB / 0.6293 GB, free: 2.73 MB / 442.7 MB Notification: Performance of SimCode: time 9.52e-07/0.6934, allocations: 0 / 0.6293 GB, free: 2.73 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2718/0.9652, allocations: 30 MB / 0.6586 GB, free: 132.2 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001345/0.9654, allocations: 177.6 kB / 0.6587 GB, free: 132 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.896/3.861, allocations: 3.438 kB / 0.6587 GB, free: 132 MB / 458.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModulePolyphase_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModulePolyphase.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.pipe 2>&1)