Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic.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.SimpleCellTemperatureCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic") translateModel(PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00509/0.00509, allocations: 172 kB / 15.11 MB, free: 5.969 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.33/1.33, 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.0009383/0.0009383, allocations: 112 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02428/0.02428, allocations: 5.395 MB / 346.7 MB, free: 5.566 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003692, allocations: 11.56 kB / 412.1 MB, free: 90.1 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08646/0.08684, allocations: 51.61 MB / 463.8 MB, free: 44.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2705/0.3574, allocations: 85.66 MB / 0.5365 GB, free: 19.22 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001821/0.3576, allocations: 66.44 kB / 0.5366 GB, free: 19.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0403/0.398, allocations: 15.46 MB / 0.5517 GB, free: 17.65 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.398, allocations: 0 / 0.5517 GB, free: 17.65 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.47e-05/0.398, allocations: 7.688 kB / 0.5517 GB, free: 17.65 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001665/0.3997, allocations: 0.9337 MB / 0.5526 GB, free: 17.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.835e-05/0.3997, allocations: 7.75 kB / 0.5526 GB, free: 17.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.3998, allocations: 60.78 kB / 0.5527 GB, free: 17.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004979/0.4003, allocations: 433.9 kB / 0.5531 GB, free: 16.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.4004, allocations: 31.81 kB / 0.5531 GB, free: 16.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.675e-05/0.4005, allocations: 30.12 kB / 0.5532 GB, free: 16.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.4016, allocations: 0.5314 MB / 0.5537 GB, free: 16.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.4016, allocations: 3.953 kB / 0.5537 GB, free: 16.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.895e-05/0.4017, allocations: 19.83 kB / 0.5537 GB, free: 16.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.4017, allocations: 7.969 kB / 0.5537 GB, free: 16.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.4032, allocations: 0.6373 MB / 0.5543 GB, free: 16.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002645/0.4058, allocations: 1.78 MB / 0.5561 GB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/0.4071, allocations: 0.6745 MB / 0.5567 GB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.372e-05/0.4072, allocations: 4.812 kB / 0.5567 GB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006673/0.4079, allocations: 362.7 kB / 0.5571 GB, free: 15.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 1.834e-06/0.4079, allocations: 0 / 0.5571 GB, free: 15.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.007422/0.4153, allocations: 1.57 MB / 0.5586 GB, free: 15.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/0.4154, allocations: 110.5 kB / 0.5587 GB, free: 15.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007546/0.4162, allocations: 420.2 kB / 0.5591 GB, free: 15.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.248e-05/0.4163, allocations: 36.52 kB / 0.5591 GB, free: 15.15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.4165, allocations: 249.9 kB / 0.5594 GB, free: 15.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.4167, allocations: 106.6 kB / 0.5595 GB, free: 14.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.4167, allocations: 7.375 kB / 0.5595 GB, free: 14.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.4168, allocations: 354.5 kB / 0.5598 GB, free: 14.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006171/0.4175, allocations: 249.1 kB / 0.5601 GB, free: 14.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006153/0.4181, allocations: 321.1 kB / 0.5604 GB, free: 14.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005951/0.4187, allocations: 282.5 kB / 0.5606 GB, free: 14.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.4187, allocations: 3.875 kB / 0.5606 GB, free: 14.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.004297/0.423, allocations: 1.067 MB / 0.5617 GB, free: 14.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002036/0.4232, allocations: 485.7 kB / 0.5622 GB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.4233, allocations: 1.562 kB / 0.5622 GB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003192/0.4265, allocations: 0.5904 MB / 0.5627 GB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000597/0.4271, allocations: 94.47 kB / 0.5628 GB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008725/0.4358, allocations: 4.193 MB / 0.5669 GB, free: 27.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009652/0.4368, allocations: 92.55 kB / 0.567 GB, free: 27.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-05/0.4369, allocations: 20.67 kB / 0.567 GB, free: 27.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.437, allocations: 8.969 kB / 0.567 GB, free: 27.05 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00411/0.4411, allocations: 0.984 MB / 0.568 GB, free: 26.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4411, allocations: 0 / 0.568 GB, free: 26.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002706/0.4438, allocations: 0.5915 MB / 0.5686 GB, free: 26.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004179/0.4442, allocations: 85.95 kB / 0.5687 GB, free: 26.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007198/0.4515, allocations: 4.184 MB / 0.5727 GB, free: 23.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006953/0.4522, allocations: 88.75 kB / 0.5728 GB, free: 23.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.433e-05/0.4522, allocations: 21.25 kB / 0.5728 GB, free: 23.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (38): * Single equations (assignments): 35 * 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.0004002/0.4527, allocations: 251.3 kB / 0.5731 GB, free: 23.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.4528, allocations: 45.59 kB / 0.5731 GB, free: 23.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00381/0.4566, allocations: 0.9468 MB / 0.5741 GB, free: 23.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.4566, allocations: 8.125 kB / 0.5741 GB, free: 23.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.4567, allocations: 0 / 0.5741 GB, free: 23.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.4567, allocations: 3.984 kB / 0.5741 GB, free: 23.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004586/0.4613, allocations: 1.552 MB / 0.5756 GB, free: 22.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.4613, allocations: 3.938 kB / 0.5756 GB, free: 22.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003533/0.4616, allocations: 78.47 kB / 0.5757 GB, free: 22.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002363/0.464, allocations: 0.5066 MB / 0.5762 GB, free: 22.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-05/0.4641, allocations: 10.17 kB / 0.5762 GB, free: 22.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005267/0.4693, allocations: 2.552 MB / 0.5787 GB, free: 20.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4694, allocations: 1.25 kB / 0.5787 GB, free: 20.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004135/0.4735, allocations: 1.025 MB / 0.5797 GB, free: 20.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003368/0.4739, allocations: 178.9 kB / 0.5798 GB, free: 20.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/0.474, allocations: 9.812 kB / 0.5798 GB, free: 20.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005847/0.4746, allocations: 67.31 kB / 0.5799 GB, free: 20.15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.4747, allocations: 39.34 kB / 0.5799 GB, free: 20.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.759e-05/0.4748, allocations: 14.17 kB / 0.58 GB, free: 20.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005725/0.4754, allocations: 327.8 kB / 0.5803 GB, free: 20.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4754, allocations: 4 kB / 0.5803 GB, free: 20 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001419/0.4768, allocations: 276.3 kB / 0.5805 GB, free: 19.97 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 (30): * Single equations (assignments): 27 * 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.0003063/0.4771, allocations: 157.4 kB / 0.5807 GB, free: 19.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003052/0.4802, allocations: 1.519 MB / 0.5822 GB, free: 19.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4802, allocations: 256 / 0.5822 GB, free: 19.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008795/0.4811, allocations: 428.3 kB / 0.5826 GB, free: 18.85 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006755/0.4818, allocations: 90.38 kB / 0.5827 GB, free: 18.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.4836, allocations: 1.045 MB / 0.5837 GB, free: 18.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.484, allocations: 0.8479 MB / 0.5845 GB, free: 17.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003035/0.4843, allocations: 58.59 kB / 0.5846 GB, free: 17.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.4844, allocations: 36.7 kB / 0.5846 GB, free: 17.38 MB / 378.7 MB Notification: Performance of SimCode: time 8.62e-07/0.4844, allocations: 0 / 0.5846 GB, free: 17.38 MB / 378.7 MB Notification: Performance of Templates: time 0.01729/0.5017, allocations: 13.59 MB / 0.5979 GB, free: 10.5 MB / 378.7 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic.pipe 2>&1)