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.001247/0.001247, allocations: 170.2 kB / 7.646 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 221.5 MB / 229.6 MB, free: 7.527 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.0008545/0.0008544, allocations: 90.88 kB / 280.5 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02305/0.02305, allocations: 5.288 MB / 336.5 MB, free: 9.906 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.502e-05/1.493e-05, allocations: 4.625 kB / 396.3 MB, free: 51.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09663/0.09666, allocations: 51.62 MB / 447.9 MB, free: 11.04 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1078/0.2045, allocations: 84.79 MB / 0.5202 GB, free: 6.121 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.2048, allocations: 67.97 kB / 0.5203 GB, free: 6.055 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2661/0.4709, allocations: 14.61 MB / 0.5346 GB, free: 82.28 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.471, allocations: 1.094 kB / 0.5346 GB, free: 82.28 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.772e-05/0.471, allocations: 9.438 kB / 0.5346 GB, free: 82.28 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.00147/0.4725, allocations: 0.8147 MB / 0.5354 GB, free: 81.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.4725, allocations: 10.59 kB / 0.5354 GB, free: 81.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.4726, allocations: 55.38 kB / 0.5354 GB, free: 81.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005397/0.4732, allocations: 419.4 kB / 0.5358 GB, free: 81.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.4732, allocations: 10.47 kB / 0.5358 GB, free: 81.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.576e-05/0.4733, allocations: 19.53 kB / 0.5359 GB, free: 81.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007777/0.4741, allocations: 381.4 kB / 0.5362 GB, free: 81.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006447/0.4747, allocations: 368.2 kB / 0.5366 GB, free: 81.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.4747, allocations: 1.406 kB / 0.5366 GB, free: 81.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.747e-05/0.4748, allocations: 0 / 0.5366 GB, free: 81.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.4748, allocations: 8 kB / 0.5366 GB, free: 81.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002599/0.4774, allocations: 1.722 MB / 0.5383 GB, free: 80.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007679/0.4782, allocations: 0.5181 MB / 0.5388 GB, free: 80.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/0.4784, allocations: 150.4 kB / 0.5389 GB, free: 80.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/0.4784, allocations: 9.828 kB / 0.5389 GB, free: 80.26 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003036/0.4788, allocations: 225.3 kB / 0.5391 GB, free: 80.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.423e-06/0.4788, allocations: 0 / 0.5391 GB, free: 80.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.002735/0.4815, allocations: 0.6342 MB / 0.5398 GB, free: 79.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.4816, allocations: 135.4 kB / 0.5399 GB, free: 79.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000386/0.482, allocations: 410 kB / 0.5403 GB, free: 79.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.482, allocations: 25.7 kB / 0.5403 GB, free: 79.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.4821, allocations: 250.1 kB / 0.5405 GB, free: 79.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.664e-05/0.4822, allocations: 91.48 kB / 0.5406 GB, free: 79.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.4822, allocations: 0 / 0.5406 GB, free: 79.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.744e-05/0.4823, allocations: 352.4 kB / 0.541 GB, free: 78.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.4825, allocations: 144.3 kB / 0.5411 GB, free: 78.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/0.4827, allocations: 208.2 kB / 0.5413 GB, free: 78.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.4829, allocations: 154.8 kB / 0.5414 GB, free: 78.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4829, allocations: 0 / 0.5414 GB, free: 78.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002964/0.4859, allocations: 0.796 MB / 0.5422 GB, free: 78.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.486, allocations: 483.4 kB / 0.5427 GB, free: 77.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.486, allocations: 3.906 kB / 0.5427 GB, free: 77.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002422/0.4885, allocations: 0.5384 MB / 0.5432 GB, free: 77.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004083/0.4889, allocations: 95.66 kB / 0.5433 GB, free: 77.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004867/0.4938, allocations: 3.76 MB / 0.547 GB, free: 74.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006067/0.4944, allocations: 81.59 kB / 0.5471 GB, free: 74.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-05/0.4944, allocations: 19.67 kB / 0.5471 GB, free: 74.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/0.4944, allocations: 5.312 kB / 0.5471 GB, free: 74.29 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002945/0.4974, allocations: 0.7317 MB / 0.5478 GB, free: 73.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.4974, allocations: 0 / 0.5478 GB, free: 73.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002303/0.4997, allocations: 0.5442 MB / 0.5483 GB, free: 73.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/0.5001, allocations: 91.88 kB / 0.5484 GB, free: 73.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004756/0.5048, allocations: 3.74 MB / 0.5521 GB, free: 69.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005873/0.5055, allocations: 87.67 kB / 0.5522 GB, free: 69.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.271e-05/0.5055, allocations: 11.98 kB / 0.5522 GB, free: 69.15 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: variableResistor.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real 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 () * 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.0002292/0.5057, allocations: 116.9 kB / 0.5523 GB, free: 69.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.216e-05/0.5058, allocations: 43.53 kB / 0.5523 GB, free: 68.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/0.506, allocations: 48.92 kB / 0.5524 GB, free: 68.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.506, allocations: 0 / 0.5524 GB, free: 68.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.506, allocations: 4 kB / 0.5524 GB, free: 68.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.506, allocations: 8.125 kB / 0.5524 GB, free: 68.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003177/0.5092, allocations: 1.32 MB / 0.5537 GB, free: 67.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.5092, allocations: 0 / 0.5537 GB, free: 67.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/0.5095, allocations: 67.94 kB / 0.5537 GB, free: 67.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001892/0.5114, allocations: 476.4 kB / 0.5542 GB, free: 67.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/0.5114, allocations: 7.984 kB / 0.5542 GB, free: 67.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003729/0.5151, allocations: 2.218 MB / 0.5564 GB, free: 64.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.5152, allocations: 4.031 kB / 0.5564 GB, free: 64.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002532/0.5177, allocations: 0.744 MB / 0.5571 GB, free: 63.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.5179, allocations: 176.4 kB / 0.5573 GB, free: 63.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.836e-05/0.518, allocations: 4 kB / 0.5573 GB, free: 63.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004448/0.5184, allocations: 64.08 kB / 0.5573 GB, free: 63.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.2e-05/0.5185, allocations: 39.95 kB / 0.5574 GB, free: 63.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.5186, allocations: 19.91 kB / 0.5574 GB, free: 63.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002973/0.5189, allocations: 307 kB / 0.5577 GB, free: 63.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5189, allocations: 0 / 0.5577 GB, free: 63.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008177/0.5197, allocations: 255.5 kB / 0.5579 GB, free: 63.04 MB / 362.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) * 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.0001896/0.5199, allocations: 154.1 kB / 0.5581 GB, free: 62.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001354/0.5213, allocations: 1.159 MB / 0.5592 GB, free: 61.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5213, allocations: 0 / 0.5592 GB, free: 61.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003083/0.5216, allocations: 285.5 kB / 0.5595 GB, free: 61.37 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.5221, allocations: 78.41 kB / 0.5595 GB, free: 61.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009238/0.523, allocations: 0.5429 MB / 0.5601 GB, free: 60.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.5232, allocations: 0.8399 MB / 0.5609 GB, free: 59.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00032/0.5235, allocations: 71.22 kB / 0.561 GB, free: 59.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.747e-05/0.5236, allocations: 23.44 kB / 0.561 GB, free: 59.77 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5236, allocations: 0 / 0.561 GB, free: 59.77 MB / 362.7 MB Notification: Performance of Templates: time 0.01426/0.5379, allocations: 12.41 MB / 0.5731 GB, free: 47.41 MB / 362.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)