Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic.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.SimpleCellIrradianceCharacteristic,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellIrradianceCharacteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellIrradianceCharacteristic",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.007422/0.007422, allocations: 169.6 kB / 15.11 MB, free: 5.582 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.38/1.38, allocations: 223.2 MB / 239 MB, free: 1.801 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.0009333/0.0009332, allocations: 98.08 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.02437/0.02437, allocations: 5.4 MB / 346.7 MB, free: 5.555 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003873/0.0003874, allocations: 12.22 kB / 412.2 MB, free: 90.07 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.103, allocations: 51.62 MB / 463.8 MB, free: 44.61 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3357/0.4388, allocations: 85.54 MB / 0.5365 GB, free: 19.33 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.4391, allocations: 75.55 kB / 0.5366 GB, free: 19.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04188/0.481, allocations: 14.79 MB / 0.551 GB, free: 17.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.481, allocations: 0 / 0.551 GB, free: 17.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.466e-05/0.481, allocations: 7.844 kB / 0.551 GB, free: 17.84 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.002319/0.4834, allocations: 0.9141 MB / 0.5519 GB, free: 17.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.4834, allocations: 11.75 kB / 0.5519 GB, free: 17.25 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001611/0.4836, allocations: 71.02 kB / 0.552 GB, free: 17.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.4838, allocations: 58.5 kB / 0.5521 GB, free: 17.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006474/0.4844, allocations: 419.5 kB / 0.5525 GB, free: 16.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.4845, allocations: 27.94 kB / 0.5525 GB, free: 16.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.566e-05/0.4845, allocations: 28.73 kB / 0.5525 GB, free: 16.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.4858, allocations: 0.526 MB / 0.553 GB, free: 16.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.4858, allocations: 0 / 0.553 GB, free: 16.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.742e-05/0.4859, allocations: 14.09 kB / 0.553 GB, free: 16.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.4859, allocations: 8.25 kB / 0.553 GB, free: 16.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/0.4876, allocations: 0.6239 MB / 0.5536 GB, free: 16.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003183/0.4908, allocations: 1.794 MB / 0.5554 GB, free: 16.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/0.4925, allocations: 0.7102 MB / 0.5561 GB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.027e-05/0.4925, allocations: 3.453 kB / 0.5561 GB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007766/0.4933, allocations: 333.6 kB / 0.5564 GB, free: 15.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 2.605e-06/0.4933, allocations: 0 / 0.5564 GB, free: 15.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.008026/0.5014, allocations: 1.619 MB / 0.558 GB, free: 15.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.5014, allocations: 108.1 kB / 0.5581 GB, free: 15.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006998/0.5022, allocations: 442.6 kB / 0.5585 GB, free: 15.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.974e-05/0.5022, allocations: 35.08 kB / 0.5586 GB, free: 15.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.5024, allocations: 254.2 kB / 0.5588 GB, free: 15.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.458e-05/0.5025, allocations: 90.64 kB / 0.5589 GB, free: 15.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.5025, allocations: 11.47 kB / 0.5589 GB, free: 15.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.676e-05/0.5026, allocations: 358.7 kB / 0.5592 GB, free: 14.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005745/0.5032, allocations: 247.5 kB / 0.5595 GB, free: 14.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005444/0.5037, allocations: 307.5 kB / 0.5598 GB, free: 14.74 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005502/0.5043, allocations: 277.8 kB / 0.56 GB, free: 14.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.5043, allocations: 4 kB / 0.56 GB, free: 14.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.004043/0.5084, allocations: 1.068 MB / 0.5611 GB, free: 14.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001322/0.5085, allocations: 392.6 kB / 0.5615 GB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.5085, allocations: 8.047 kB / 0.5615 GB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003022/0.5116, allocations: 0.5873 MB / 0.562 GB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005397/0.5121, allocations: 91.36 kB / 0.5621 GB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008124/0.5203, allocations: 4.216 MB / 0.5662 GB, free: 27.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009004/0.5212, allocations: 87 kB / 0.5663 GB, free: 27.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.5213, allocations: 20.12 kB / 0.5663 GB, free: 27.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.5214, allocations: 7.312 kB / 0.5663 GB, free: 27.31 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004255/0.5256, allocations: 0.9763 MB / 0.5673 GB, free: 27.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.5257, allocations: 1.688 kB / 0.5673 GB, free: 27.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002848/0.5285, allocations: 0.5936 MB / 0.5679 GB, free: 27.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004758/0.529, allocations: 91.75 kB / 0.568 GB, free: 27.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007448/0.5365, allocations: 4.183 MB / 0.5721 GB, free: 24.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008246/0.5373, allocations: 79.53 kB / 0.5721 GB, free: 24.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.502e-05/0.5375, allocations: 15.36 kB / 0.5721 GB, free: 24.18 MB / 378.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: 6 ($whenCondition1,triangleAndStep.integerToReal.u,$PRE.triangleAndStep.trapezoid.T_start,triangleAndStep.trapezoid.T_start,$PRE.triangleAndStep.trapezoid.count,triangleAndStep.trapezoid.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 34 * 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: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004884/0.538, allocations: 246.8 kB / 0.5724 GB, free: 23.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.5381, allocations: 45.59 kB / 0.5724 GB, free: 23.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001382/0.5383, allocations: 56.39 kB / 0.5725 GB, free: 23.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.5383, allocations: 3.125 kB / 0.5725 GB, free: 23.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.5383, allocations: 0 / 0.5725 GB, free: 23.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.5383, allocations: 7.984 kB / 0.5725 GB, free: 23.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004725/0.543, allocations: 1.474 MB / 0.5739 GB, free: 23.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/0.5431, allocations: 1.094 kB / 0.5739 GB, free: 23.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003318/0.5434, allocations: 82.12 kB / 0.574 GB, free: 23.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002424/0.5458, allocations: 0.5093 MB / 0.5745 GB, free: 23.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.926e-05/0.5459, allocations: 9.234 kB / 0.5745 GB, free: 23.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005561/0.5515, allocations: 2.563 MB / 0.577 GB, free: 21.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5515, allocations: 0 / 0.577 GB, free: 21.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003833/0.5554, allocations: 0.9832 MB / 0.578 GB, free: 21.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004032/0.5558, allocations: 168.3 kB / 0.5781 GB, free: 20.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.556, allocations: 6.375 kB / 0.5781 GB, free: 20.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005687/0.5566, allocations: 65.69 kB / 0.5782 GB, free: 20.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.5567, allocations: 45.28 kB / 0.5782 GB, free: 20.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.839e-05/0.5568, allocations: 14.14 kB / 0.5783 GB, free: 20.83 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005638/0.5573, allocations: 347.2 kB / 0.5786 GB, free: 20.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.22e-07/0.5573, allocations: 0 / 0.5786 GB, free: 20.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001334/0.5587, allocations: 279.8 kB / 0.5789 GB, free: 20.66 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,triangleAndStep.integerToReal.u,triangleAndStep.trapezoid.T_start,triangleAndStep.trapezoid.count) * Number of discrete states: 1 (triangleAndStep.trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004398/0.5631, allocations: 1.633 MB / 0.5805 GB, free: 19.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003574/0.5667, allocations: 1.495 MB / 0.5819 GB, free: 18.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.5667, allocations: 1.125 kB / 0.5819 GB, free: 18.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009188/0.5676, allocations: 403.7 kB / 0.5823 GB, free: 18.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007896/0.5685, allocations: 91.19 kB / 0.5824 GB, free: 18.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/0.5717, allocations: 1.821 MB / 0.5842 GB, free: 17.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/0.5722, allocations: 0.8398 MB / 0.585 GB, free: 16.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003867/0.5726, allocations: 54.42 kB / 0.585 GB, free: 16.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/0.5728, allocations: 157.5 kB / 0.5852 GB, free: 16.42 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.5729, allocations: 0 / 0.5852 GB, free: 16.42 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03669/0.6095, allocations: 17.67 MB / 0.6024 GB, free: 7.719 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002783/0.6099, allocations: 216.9 kB / 0.6026 GB, free: 7.48 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.461/3.071, allocations: 3.938 kB / 0.6027 GB, free: 7.477 MB / 378.7 MB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellIrradianceCharacteristic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellIrradianceCharacteristic.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic.pipe 2>&1)