Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.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.SimpleCellVoltageSource,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleCellVoltageSource,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource",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.005793/0.005793, allocations: 169.2 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.398/1.398, allocations: 223.2 MB / 239 MB, free: 76 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009392/0.0009393, allocations: 99.52 kB / 290.2 MB, free: 4.566 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02485/0.02485, allocations: 5.392 MB / 346.7 MB, free: 7.684 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.0003298, allocations: 12 kB / 412.2 MB, free: 6.105 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2285, allocations: 51.6 MB / 463.8 MB, free: 73.43 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09219/0.3208, allocations: 82.94 MB / 0.534 GB, free: 6.379 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.3211, allocations: 75.97 kB / 0.534 GB, free: 6.305 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2468/0.568, allocations: 12.08 MB / 0.5458 GB, free: 81.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.568, allocations: 0 / 0.5458 GB, free: 81.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.588e-05/0.568, allocations: 6.75 kB / 0.5458 GB, free: 81.62 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001448/0.5695, allocations: 0.6723 MB / 0.5465 GB, free: 81.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.5696, allocations: 10.62 kB / 0.5465 GB, free: 81.14 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.416e-05/0.5696, allocations: 62.48 kB / 0.5466 GB, free: 81.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.5698, allocations: 38.94 kB / 0.5466 GB, free: 81.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005475/0.5704, allocations: 337.8 kB / 0.5469 GB, free: 80.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.5704, allocations: 15.5 kB / 0.5469 GB, free: 80.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.711e-05/0.5705, allocations: 21.03 kB / 0.5469 GB, free: 80.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000825/0.5713, allocations: 347.8 kB / 0.5473 GB, free: 80.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.5713, allocations: 0 / 0.5473 GB, free: 80.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.214e-05/0.5714, allocations: 12.97 kB / 0.5473 GB, free: 80.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.5714, allocations: 4.719 kB / 0.5473 GB, free: 80.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.5725, allocations: 418.5 kB / 0.5477 GB, free: 80.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002146/0.5746, allocations: 1.417 MB / 0.5491 GB, free: 79.69 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004416/0.5751, allocations: 225.6 kB / 0.5493 GB, free: 79.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.5751, allocations: 11.88 kB / 0.5493 GB, free: 79.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.5751, allocations: 34.41 kB / 0.5493 GB, free: 79.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.844e-06/0.5752, allocations: 0 / 0.5493 GB, free: 79.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008172/0.576, allocations: 365.7 kB / 0.5497 GB, free: 79.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.576, allocations: 55.34 kB / 0.5497 GB, free: 79.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003934/0.5764, allocations: 375.8 kB / 0.5501 GB, free: 79.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.5764, allocations: 25.7 kB / 0.5501 GB, free: 79.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.5766, allocations: 206.9 kB / 0.5503 GB, free: 78.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.5766, allocations: 41.5 kB / 0.5504 GB, free: 78.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.848e-05/0.5766, allocations: 4 kB / 0.5504 GB, free: 78.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.548e-05/0.5767, allocations: 342 kB / 0.5507 GB, free: 78.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002825/0.577, allocations: 142.9 kB / 0.5508 GB, free: 78.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002809/0.5773, allocations: 181.6 kB / 0.551 GB, free: 78.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002946/0.5776, allocations: 143.8 kB / 0.5511 GB, free: 78.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5776, allocations: 0 / 0.5511 GB, free: 78.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001062/0.5787, allocations: 452 kB / 0.5516 GB, free: 78.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.5787, allocations: 11.86 kB / 0.5516 GB, free: 78.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.5787, allocations: 0 / 0.5516 GB, free: 78.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005264/0.5793, allocations: 87.89 kB / 0.5517 GB, free: 78.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004089/0.5797, allocations: 68.27 kB / 0.5517 GB, free: 78.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.5811, allocations: 1.566 MB / 0.5533 GB, free: 76.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000442/0.5815, allocations: 46.36 kB / 0.5533 GB, free: 76.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.229e-05/0.5816, allocations: 14.78 kB / 0.5533 GB, free: 76.7 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * 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.0001919/0.5818, allocations: 145.1 kB / 0.5535 GB, free: 76.56 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.3e-05/0.5819, allocations: 35.08 kB / 0.5535 GB, free: 76.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.16e-05/0.5819, allocations: 41.67 kB / 0.5535 GB, free: 76.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.5819, allocations: 0 / 0.5535 GB, free: 76.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.582, allocations: 0 / 0.5535 GB, free: 76.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.582, allocations: 0 / 0.5535 GB, free: 76.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003705/0.5823, allocations: 380.3 kB / 0.5539 GB, free: 76.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.5823, allocations: 0 / 0.5539 GB, free: 76.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002649/0.5826, allocations: 47.34 kB / 0.5539 GB, free: 76.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.5826, allocations: 3.344 kB / 0.5539 GB, free: 76.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.5827, allocations: 15.94 kB / 0.554 GB, free: 76.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.5827, allocations: 0 / 0.554 GB, free: 76.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.5827, allocations: 0 / 0.554 GB, free: 76.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005458/0.5832, allocations: 372.9 kB / 0.5543 GB, free: 75.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.5834, allocations: 142.2 kB / 0.5544 GB, free: 75.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.448e-05/0.5835, allocations: 0 / 0.5544 GB, free: 75.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/0.5838, allocations: 33.06 kB / 0.5545 GB, free: 75.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.5838, allocations: 10.3 kB / 0.5545 GB, free: 75.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.5838, allocations: 6.453 kB / 0.5545 GB, free: 75.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002827/0.5841, allocations: 294.8 kB / 0.5548 GB, free: 75.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5841, allocations: 0 / 0.5548 GB, free: 75.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004031/0.5845, allocations: 87.28 kB / 0.5549 GB, free: 75.56 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000798/0.5853, allocations: 0.9328 MB / 0.5558 GB, free: 74.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008377/0.5862, allocations: 426.7 kB / 0.5562 GB, free: 74.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5862, allocations: 0 / 0.5562 GB, free: 74.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002323/0.5864, allocations: 121.5 kB / 0.5563 GB, free: 74.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.5869, allocations: 66.94 kB / 0.5564 GB, free: 74.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.5884, allocations: 1.412 MB / 0.5577 GB, free: 73.17 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.5886, allocations: 0.7811 MB / 0.5585 GB, free: 72.42 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001736/0.5888, allocations: 29.53 kB / 0.5585 GB, free: 72.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.5889, allocations: 114.8 kB / 0.5586 GB, free: 72.32 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5889, allocations: 0 / 0.5586 GB, free: 72.32 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02144/0.6104, allocations: 7.418 MB / 0.5659 GB, free: 65.25 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/0.6106, allocations: 202.4 kB / 0.5661 GB, free: 65.01 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.141/2.752, allocations: 0 / 0.5661 GB, free: 65.01 MB / 362.7 MB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe 2>&1)