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.001398/0.001399, allocations: 170.1 kB / 16.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.444/1.444, allocations: 223.3 MB / 240.1 MB, free: 9.965 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.0009416/0.0009421, allocations: 94.28 kB / 291.3 MB, free: 10.58 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.0251/0.0251, allocations: 5.395 MB / 347.8 MB, free: 2.203 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004639/0.0004642, allocations: 8 kB / 413.5 MB, free: 57.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1016, allocations: 51.61 MB / 465.1 MB, free: 5.699 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3815/0.4832, allocations: 85.7 MB / 0.5379 GB, free: 2.852 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001818/0.4834, allocations: 70.22 kB / 0.5379 GB, free: 2.816 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04349/0.5269, allocations: 15.45 MB / 0.553 GB, free: 5.488 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.5269, allocations: 0 / 0.553 GB, free: 5.488 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.388e-05/0.527, allocations: 12 kB / 0.553 GB, free: 5.477 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.001981/0.5289, allocations: 0.9207 MB / 0.5539 GB, free: 4.539 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.529, allocations: 16.75 kB / 0.554 GB, free: 4.523 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.5291, allocations: 64.19 kB / 0.554 GB, free: 4.461 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006005/0.5297, allocations: 446.7 kB / 0.5544 GB, free: 4.059 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.692e-05/0.5298, allocations: 25 kB / 0.5545 GB, free: 4.043 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.435e-05/0.5299, allocations: 34.88 kB / 0.5545 GB, free: 4.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.531, allocations: 0.5311 MB / 0.555 GB, free: 3.613 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.531, allocations: 4.172 kB / 0.555 GB, free: 3.609 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.918e-05/0.5311, allocations: 21.06 kB / 0.555 GB, free: 3.602 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.5311, allocations: 8 kB / 0.5551 GB, free: 3.594 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001511/0.5326, allocations: 0.6305 MB / 0.5557 GB, free: 3.117 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003068/0.5357, allocations: 1.795 MB / 0.5574 GB, free: 1.602 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/0.5371, allocations: 0.6727 MB / 0.5581 GB, free: 1.016 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005914/0.5377, allocations: 270.3 kB / 0.5583 GB, free: 0.8203 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.848e-05/0.5377, allocations: 4 kB / 0.5583 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007444/0.5385, allocations: 359.3 kB / 0.5587 GB, free: 0.5156 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 2.184e-06/0.5385, allocations: 3.938 kB / 0.5587 GB, free: 0.5117 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.007649/0.5462, allocations: 1.668 MB / 0.5603 GB, free: 15.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.346e-05/0.5463, allocations: 132.5 kB / 0.5604 GB, free: 14.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006664/0.547, allocations: 474.9 kB / 0.5609 GB, free: 14.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.113e-05/0.547, allocations: 29.64 kB / 0.5609 GB, free: 14.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.5472, allocations: 248.2 kB / 0.5612 GB, free: 14.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.511e-05/0.5473, allocations: 107.6 kB / 0.5613 GB, free: 14.19 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.5474, allocations: 11.56 kB / 0.5613 GB, free: 14.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.5475, allocations: 359.8 kB / 0.5616 GB, free: 13.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006088/0.5481, allocations: 251.2 kB / 0.5619 GB, free: 13.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006045/0.5487, allocations: 323.7 kB / 0.5622 GB, free: 13.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.5499, allocations: 0.5319 MB / 0.5627 GB, free: 12.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.5499, allocations: 0 / 0.5627 GB, free: 12.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.003932/0.5539, allocations: 1.073 MB / 0.5637 GB, free: 12.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001418/0.554, allocations: 159 kB / 0.5639 GB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.5541, allocations: 4 kB / 0.5639 GB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002696/0.5568, allocations: 0.5948 MB / 0.5645 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004364/0.5572, allocations: 87.88 kB / 0.5646 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006927/0.5641, allocations: 4.11 MB / 0.5686 GB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007713/0.5649, allocations: 95.72 kB / 0.5687 GB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.282e-05/0.565, allocations: 19.97 kB / 0.5687 GB, free: 6.664 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.686e-06/0.565, allocations: 4 kB / 0.5687 GB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003847/0.5689, allocations: 0.987 MB / 0.5696 GB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.5689, allocations: 0 / 0.5696 GB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002583/0.5715, allocations: 0.5909 MB / 0.5702 GB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004507/0.5719, allocations: 91.86 kB / 0.5703 GB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006782/0.5787, allocations: 4.092 MB / 0.5743 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007713/0.5795, allocations: 79.7 kB / 0.5744 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-05/0.5796, allocations: 23.97 kB / 0.5744 GB, free: 0.5078 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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.000508/0.5802, allocations: 249.7 kB / 0.5746 GB, free: 260 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.5803, allocations: 47.44 kB / 0.5747 GB, free: 212 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003665/0.584, allocations: 0.9396 MB / 0.5756 GB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.584, allocations: 4 kB / 0.5756 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.584, allocations: 4 kB / 0.5756 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.5841, allocations: 3.984 kB / 0.5756 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004509/0.5886, allocations: 1.658 MB / 0.5772 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.5886, allocations: 128 / 0.5772 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003486/0.5889, allocations: 83.88 kB / 0.5773 GB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002147/0.5911, allocations: 0.512 MB / 0.5778 GB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.365e-05/0.5912, allocations: 11.98 kB / 0.5778 GB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005176/0.5963, allocations: 2.459 MB / 0.5802 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.5964, allocations: 64 / 0.5802 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0037/0.6001, allocations: 1.027 MB / 0.5812 GB, free: 9.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003688/0.6005, allocations: 172.4 kB / 0.5814 GB, free: 9.082 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.6006, allocations: 11.98 kB / 0.5814 GB, free: 9.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005281/0.6011, allocations: 67.94 kB / 0.5815 GB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.6013, allocations: 43.88 kB / 0.5815 GB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/0.6013, allocations: 12.17 kB / 0.5815 GB, free: 8.949 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004763/0.6018, allocations: 327.1 kB / 0.5818 GB, free: 8.633 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6018, allocations: 0 / 0.5818 GB, free: 8.633 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001041/0.6029, allocations: 271.5 kB / 0.5821 GB, free: 8.367 MB / 394.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.0002468/0.6031, allocations: 161.5 kB / 0.5822 GB, free: 8.199 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003166/0.6063, allocations: 1.516 MB / 0.5837 GB, free: 6.602 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.6063, allocations: 0 / 0.5837 GB, free: 6.602 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008126/0.6071, allocations: 430.7 kB / 0.5841 GB, free: 6.168 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006706/0.6078, allocations: 89.78 kB / 0.5842 GB, free: 6.082 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.6097, allocations: 1.041 MB / 0.5852 GB, free: 5.016 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.6101, allocations: 0.84 MB / 0.5861 GB, free: 4.145 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003225/0.6105, allocations: 59.31 kB / 0.5861 GB, free: 4.082 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.6106, allocations: 31.44 kB / 0.5861 GB, free: 4.051 MB / 394.7 MB Notification: Performance of SimCode: time 8.71e-07/0.6106, allocations: 0 / 0.5861 GB, free: 4.051 MB / 394.7 MB Notification: Performance of Templates: time 0.02269/0.6333, allocations: 13.68 MB / 0.5995 GB, free: 6.422 MB / 410.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 -abortSlowSimulation -alarm=480 -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic.pipe 2>&1)