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: translateModel(PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic") translateModel(PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009069/0.0009068, allocations: 170.1 kB / 16.11 MB, free: 5.586 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.388/1.388, allocations: 223.3 MB / 240.1 MB, free: 9.973 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.000893/0.000893, allocations: 105.2 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.03475/0.03475, allocations: 5.406 MB / 347.8 MB, free: 2.199 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004487/0.0004487, allocations: 12 kB / 413.5 MB, free: 57.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1053, allocations: 51.61 MB / 465.1 MB, free: 5.707 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3651/0.4705, allocations: 85.58 MB / 0.5378 GB, free: 3.043 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001994/0.4707, allocations: 72.16 kB / 0.5378 GB, free: 3.008 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04406/0.5148, allocations: 14.78 MB / 0.5523 GB, free: 6.254 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.5148, allocations: 4 kB / 0.5523 GB, free: 6.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.622e-05/0.5149, allocations: 8 kB / 0.5523 GB, free: 6.242 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.002568/0.5175, allocations: 0.9059 MB / 0.5532 GB, free: 5.312 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.024e-05/0.5175, allocations: 16.81 kB / 0.5532 GB, free: 5.297 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002666/0.5178, allocations: 59.72 kB / 0.5532 GB, free: 5.242 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008456/0.5187, allocations: 431.6 kB / 0.5536 GB, free: 4.848 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.136e-05/0.5187, allocations: 29.16 kB / 0.5537 GB, free: 4.832 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-05/0.5188, allocations: 29.31 kB / 0.5537 GB, free: 4.812 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.5201, allocations: 0.5316 MB / 0.5542 GB, free: 4.391 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.5201, allocations: 4.172 kB / 0.5542 GB, free: 4.387 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.015e-05/0.5202, allocations: 18.38 kB / 0.5542 GB, free: 4.379 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.5202, allocations: 8 kB / 0.5542 GB, free: 4.371 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/0.5218, allocations: 0.619 MB / 0.5548 GB, free: 3.906 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003697/0.5255, allocations: 1.801 MB / 0.5566 GB, free: 2.426 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/0.5271, allocations: 0.6878 MB / 0.5573 GB, free: 1.828 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006187/0.5277, allocations: 258.1 kB / 0.5575 GB, free: 1.637 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.308e-05/0.5278, allocations: 8.625 kB / 0.5575 GB, free: 1.629 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008028/0.5286, allocations: 329.8 kB / 0.5578 GB, free: 1.348 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 3.246e-06/0.5286, allocations: 3.938 kB / 0.5578 GB, free: 1.344 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.007256/0.5359, allocations: 1.529 MB / 0.5593 GB, free: 15.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.845e-05/0.536, allocations: 140.3 kB / 0.5595 GB, free: 15.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008408/0.5368, allocations: 496.6 kB / 0.5599 GB, free: 15.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.14e-05/0.5369, allocations: 29.14 kB / 0.56 GB, free: 15.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/0.5372, allocations: 255.5 kB / 0.5602 GB, free: 15.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.811e-05/0.5373, allocations: 90.05 kB / 0.5603 GB, free: 15.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.5373, allocations: 7.188 kB / 0.5603 GB, free: 15.13 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.5375, allocations: 356.2 kB / 0.5607 GB, free: 14.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006169/0.5381, allocations: 249.3 kB / 0.5609 GB, free: 14.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006885/0.5388, allocations: 312.5 kB / 0.5612 GB, free: 14.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.5401, allocations: 0.5161 MB / 0.5617 GB, free: 13.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.5401, allocations: 0 / 0.5617 GB, free: 13.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.004184/0.5443, allocations: 1.067 MB / 0.5627 GB, free: 13.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00014/0.5445, allocations: 151.2 kB / 0.5629 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.5445, allocations: 0 / 0.5629 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002786/0.5473, allocations: 0.5937 MB / 0.5635 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004673/0.5478, allocations: 98.61 kB / 0.5636 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00726/0.5551, allocations: 4.118 MB / 0.5676 GB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008049/0.5559, allocations: 87.69 kB / 0.5677 GB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.601e-05/0.556, allocations: 19.98 kB / 0.5677 GB, free: 7.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.556, allocations: 7.938 kB / 0.5677 GB, free: 7.742 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00387/0.5598, allocations: 0.9828 MB / 0.5686 GB, free: 6.746 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5599, allocations: 0 / 0.5686 GB, free: 6.746 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002719/0.5626, allocations: 0.5871 MB / 0.5692 GB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004643/0.5631, allocations: 91.88 kB / 0.5693 GB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007213/0.5703, allocations: 4.099 MB / 0.5733 GB, free: 1.699 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007566/0.5711, allocations: 83.78 kB / 0.5734 GB, free: 1.617 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.862e-05/0.5711, allocations: 15.98 kB / 0.5734 GB, free: 1.602 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 (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.0004072/0.5716, allocations: 245.7 kB / 0.5736 GB, free: 1.352 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.553e-05/0.5717, allocations: 55.34 kB / 0.5737 GB, free: 1.297 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.728e-05/0.5718, allocations: 48.69 kB / 0.5737 GB, free: 1.246 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.5718, allocations: 4 kB / 0.5737 GB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.5718, allocations: 0 / 0.5737 GB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.5718, allocations: 0 / 0.5737 GB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004357/0.5762, allocations: 1.588 MB / 0.5753 GB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.5762, allocations: 7.938 kB / 0.5753 GB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.5765, allocations: 71.91 kB / 0.5754 GB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002223/0.5787, allocations: 0.5081 MB / 0.5759 GB, free: 15 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.643e-05/0.5788, allocations: 11.98 kB / 0.5759 GB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005228/0.584, allocations: 2.479 MB / 0.5783 GB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.5841, allocations: 4.031 kB / 0.5783 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003565/0.5876, allocations: 0.9698 MB / 0.5792 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000405/0.588, allocations: 172.4 kB / 0.5794 GB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.2e-05/0.5881, allocations: 11.94 kB / 0.5794 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004723/0.5886, allocations: 63.94 kB / 0.5795 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.5887, allocations: 39.94 kB / 0.5795 GB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.27e-05/0.5888, allocations: 15.98 kB / 0.5795 GB, free: 11.06 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004694/0.5893, allocations: 343.1 kB / 0.5799 GB, free: 10.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.974e-06/0.5893, allocations: 0 / 0.5799 GB, free: 10.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001054/0.5903, allocations: 279.5 kB / 0.5801 GB, free: 10.45 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 (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.0002651/0.5906, allocations: 143.1 kB / 0.5803 GB, free: 10.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002907/0.5935, allocations: 1.485 MB / 0.5817 GB, free: 8.734 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5935, allocations: 0 / 0.5817 GB, free: 8.734 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007723/0.5943, allocations: 402.5 kB / 0.5821 GB, free: 8.328 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000691/0.595, allocations: 93.84 kB / 0.5822 GB, free: 8.238 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.5969, allocations: 0.9977 MB / 0.5832 GB, free: 7.211 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/0.5974, allocations: 0.8275 MB / 0.584 GB, free: 6.355 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003154/0.5978, allocations: 59.33 kB / 0.584 GB, free: 6.293 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.5979, allocations: 31.42 kB / 0.5841 GB, free: 6.266 MB / 394.7 MB Notification: Performance of SimCode: time 6.81e-07/0.5979, allocations: 0 / 0.5841 GB, free: 6.266 MB / 394.7 MB Notification: Performance of Templates: time 0.02249/0.6204, allocations: 13.74 MB / 0.5975 GB, free: 8.598 MB / 410.7 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic.makefile (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 & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic -abortSlowSimulation -alarm=480 -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic.pipe 2>&1)