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.005578/0.005578, allocations: 169.3 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.3/1.3, allocations: 223.2 MB / 239 MB, free: 1.785 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.0008407/0.0008406, allocations: 102.4 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.02526/0.02526, allocations: 5.394 MB / 346.7 MB, free: 5.551 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003728, allocations: 8.125 kB / 412.1 MB, free: 90.1 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08491/0.0853, allocations: 51.62 MB / 463.8 MB, free: 44.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2672/0.3526, allocations: 85.53 MB / 0.5364 GB, free: 25.13 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.3529, allocations: 72.2 kB / 0.5365 GB, free: 25.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0387/0.3916, allocations: 14.79 MB / 0.5509 GB, free: 22.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3916, allocations: 3.938 kB / 0.5509 GB, free: 22.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.649e-05/0.3917, allocations: 7.812 kB / 0.5509 GB, free: 22.78 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.00184/0.3935, allocations: 0.9134 MB / 0.5518 GB, free: 22.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.3936, allocations: 11.81 kB / 0.5518 GB, free: 22.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.3937, allocations: 58.06 kB / 0.5519 GB, free: 22.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004884/0.3942, allocations: 419.9 kB / 0.5523 GB, free: 21.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.3942, allocations: 27.81 kB / 0.5523 GB, free: 21.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.333e-05/0.3943, allocations: 25.69 kB / 0.5523 GB, free: 21.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.3954, allocations: 0.5271 MB / 0.5529 GB, free: 21.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.3954, allocations: 7.938 kB / 0.5529 GB, free: 21.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.163e-05/0.3955, allocations: 14.28 kB / 0.5529 GB, free: 21.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.3955, allocations: 8.875 kB / 0.5529 GB, free: 21.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001571/0.3971, allocations: 0.6199 MB / 0.5535 GB, free: 21.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00283/0.3999, allocations: 1.793 MB / 0.5552 GB, free: 21.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.4015, allocations: 0.7035 MB / 0.5559 GB, free: 20.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.5e-05/0.4015, allocations: 7.5 kB / 0.5559 GB, free: 20.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007478/0.4023, allocations: 337.7 kB / 0.5563 GB, free: 20.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.993e-06/0.4023, allocations: 0 / 0.5563 GB, free: 20.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.008057/0.4104, allocations: 1.618 MB / 0.5578 GB, free: 20.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.4104, allocations: 113.5 kB / 0.558 GB, free: 20.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005569/0.411, allocations: 438.2 kB / 0.5584 GB, free: 20.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.006e-05/0.4111, allocations: 33.02 kB / 0.5584 GB, free: 20.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.4112, allocations: 257.9 kB / 0.5586 GB, free: 20.13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.618e-05/0.4113, allocations: 98.83 kB / 0.5587 GB, free: 20.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.629e-05/0.4113, allocations: 3.375 kB / 0.5587 GB, free: 20.06 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.819e-05/0.4114, allocations: 362.1 kB / 0.5591 GB, free: 19.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005309/0.4119, allocations: 250.4 kB / 0.5593 GB, free: 19.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005642/0.4125, allocations: 301.1 kB / 0.5596 GB, free: 19.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005435/0.413, allocations: 283 kB / 0.5599 GB, free: 19.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4131, allocations: 0 / 0.5599 GB, free: 19.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.004038/0.4171, allocations: 1.066 MB / 0.5609 GB, free: 19.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.4172, allocations: 392 kB / 0.5613 GB, free: 19.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.4173, allocations: 3.328 kB / 0.5613 GB, free: 19.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002715/0.42, allocations: 0.5941 MB / 0.5619 GB, free: 19.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005289/0.4205, allocations: 93.7 kB / 0.562 GB, free: 19.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007521/0.4281, allocations: 4.205 MB / 0.5661 GB, free: 32.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007966/0.4289, allocations: 92.45 kB / 0.5662 GB, free: 32.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.219e-05/0.4289, allocations: 16.94 kB / 0.5662 GB, free: 32.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.429, allocations: 7.125 kB / 0.5662 GB, free: 32.26 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003936/0.4329, allocations: 0.9703 MB / 0.5671 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.4329, allocations: 1.469 kB / 0.5671 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002685/0.4356, allocations: 0.6019 MB / 0.5677 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004607/0.4361, allocations: 91.2 kB / 0.5678 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006714/0.4428, allocations: 4.178 MB / 0.5719 GB, free: 29.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007114/0.4436, allocations: 82.94 kB / 0.572 GB, free: 29.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-05/0.4436, allocations: 20.64 kB / 0.572 GB, free: 29.35 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.0003552/0.444, allocations: 246.5 kB / 0.5722 GB, free: 29.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.4441, allocations: 45.81 kB / 0.5723 GB, free: 29.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.933e-05/0.4442, allocations: 52.03 kB / 0.5723 GB, free: 29.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.4442, allocations: 2.625 kB / 0.5723 GB, free: 29.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.4442, allocations: 4 kB / 0.5723 GB, free: 29.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.4442, allocations: 3.797 kB / 0.5723 GB, free: 29.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004166/0.4484, allocations: 1.48 MB / 0.5738 GB, free: 28.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4484, allocations: 5.406 kB / 0.5738 GB, free: 28.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002962/0.4487, allocations: 72.45 kB / 0.5739 GB, free: 28.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002296/0.451, allocations: 0.5151 MB / 0.5744 GB, free: 28.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.612e-05/0.451, allocations: 8.328 kB / 0.5744 GB, free: 28.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005252/0.4563, allocations: 2.57 MB / 0.5769 GB, free: 27.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4563, allocations: 0 / 0.5769 GB, free: 27.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003627/0.46, allocations: 0.9792 MB / 0.5778 GB, free: 26.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002623/0.4602, allocations: 165 kB / 0.578 GB, free: 26.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.013e-05/0.4603, allocations: 9.641 kB / 0.578 GB, free: 26.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005063/0.4608, allocations: 66.09 kB / 0.5781 GB, free: 26.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.4609, allocations: 37.81 kB / 0.5781 GB, free: 26.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.461, allocations: 13.52 kB / 0.5781 GB, free: 26.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004241/0.4614, allocations: 349.3 kB / 0.5784 GB, free: 26.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4614, allocations: 0 / 0.5784 GB, free: 26.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009484/0.4624, allocations: 275.4 kB / 0.5787 GB, free: 26.38 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.0002068/0.4626, allocations: 154.7 kB / 0.5789 GB, free: 26.26 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002685/0.4653, allocations: 1.492 MB / 0.5803 GB, free: 25.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.4653, allocations: 1.031 kB / 0.5803 GB, free: 25.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007033/0.466, allocations: 397.6 kB / 0.5807 GB, free: 25.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004971/0.4665, allocations: 91.84 kB / 0.5808 GB, free: 25.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.468, allocations: 1.007 MB / 0.5818 GB, free: 24.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.4684, allocations: 0.8369 MB / 0.5826 GB, free: 23.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002739/0.4687, allocations: 54.56 kB / 0.5826 GB, free: 23.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.4688, allocations: 37.91 kB / 0.5827 GB, free: 23.82 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.4688, allocations: 0 / 0.5827 GB, free: 23.82 MB / 378.7 MB Notification: Performance of Templates: time 0.01777/0.4866, allocations: 13.64 MB / 0.596 GB, free: 16.91 MB / 378.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 -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic.pipe 2>&1)