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.001483/0.001483, allocations: 169.3 kB / 7.64 MB, free: 1.414 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.358/1.358, allocations: 221.5 MB / 229.6 MB, free: 7.566 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.0008928/0.0008928, allocations: 101.7 kB / 280.5 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02298/0.02298, allocations: 5.294 MB / 336.5 MB, free: 9.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.187e-05/1.183e-05, allocations: 2.594 kB / 396.3 MB, free: 51.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08763/0.08766, allocations: 51.61 MB / 447.9 MB, free: 11.02 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1072/0.1949, allocations: 84.93 MB / 0.5204 GB, free: 5.973 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.1953, allocations: 67.97 kB / 0.5204 GB, free: 5.906 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2693/0.4646, allocations: 15.26 MB / 0.5353 GB, free: 82.26 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4647, allocations: 0 / 0.5353 GB, free: 82.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.477e-05/0.4647, allocations: 9.875 kB / 0.5353 GB, free: 82.26 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.00206/0.4668, allocations: 0.8289 MB / 0.5361 GB, free: 81.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.4669, allocations: 12 kB / 0.5362 GB, free: 81.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002517/0.4671, allocations: 61.44 kB / 0.5362 GB, free: 81.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007682/0.4679, allocations: 419.6 kB / 0.5366 GB, free: 81.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.4679, allocations: 13.75 kB / 0.5366 GB, free: 81.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.875e-05/0.468, allocations: 22.02 kB / 0.5366 GB, free: 81.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007477/0.4688, allocations: 398.4 kB / 0.537 GB, free: 81.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000553/0.4693, allocations: 360.8 kB / 0.5374 GB, free: 81.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.4693, allocations: 3.984 kB / 0.5374 GB, free: 81.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.165e-05/0.4694, allocations: 0 / 0.5374 GB, free: 81.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.4694, allocations: 13.25 kB / 0.5374 GB, free: 81.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002742/0.4722, allocations: 1.715 MB / 0.5391 GB, free: 80.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007046/0.4729, allocations: 0.4926 MB / 0.5395 GB, free: 80.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002522/0.4731, allocations: 170 kB / 0.5397 GB, free: 80.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.088e-05/0.4732, allocations: 4.125 kB / 0.5397 GB, free: 80.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003485/0.4735, allocations: 253.9 kB / 0.54 GB, free: 79.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 2.444e-06/0.4736, allocations: 0 / 0.54 GB, free: 79.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.002865/0.4764, allocations: 0.6618 MB / 0.5406 GB, free: 79.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.4765, allocations: 135.3 kB / 0.5407 GB, free: 79.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004231/0.4769, allocations: 380 kB / 0.5411 GB, free: 79.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.779e-05/0.477, allocations: 33.23 kB / 0.5411 GB, free: 79.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.4771, allocations: 249.1 kB / 0.5414 GB, free: 79.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.687e-05/0.4772, allocations: 93.78 kB / 0.5414 GB, free: 79.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.4773, allocations: 3.938 kB / 0.5415 GB, free: 79.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.628e-05/0.4773, allocations: 357.6 kB / 0.5418 GB, free: 78.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.4776, allocations: 141 kB / 0.5419 GB, free: 78.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.4778, allocations: 217.4 kB / 0.5421 GB, free: 78.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.478, allocations: 149.5 kB / 0.5423 GB, free: 78.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.478, allocations: 4.031 kB / 0.5423 GB, free: 78.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.003085/0.4811, allocations: 0.8103 MB / 0.5431 GB, free: 77.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001968/0.4813, allocations: 0.5539 MB / 0.5436 GB, free: 77.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.4814, allocations: 0 / 0.5436 GB, free: 77.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002542/0.4839, allocations: 0.546 MB / 0.5441 GB, free: 77.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004413/0.4844, allocations: 90.19 kB / 0.5442 GB, free: 77.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005217/0.4896, allocations: 3.745 MB / 0.5479 GB, free: 73.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007326/0.4904, allocations: 91.66 kB / 0.548 GB, free: 73.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.626e-05/0.4904, allocations: 15.98 kB / 0.548 GB, free: 73.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.396e-06/0.4905, allocations: 7.938 kB / 0.548 GB, free: 73.59 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002965/0.4934, allocations: 0.7288 MB / 0.5487 GB, free: 72.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.4934, allocations: 7.953 kB / 0.5487 GB, free: 72.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002376/0.4958, allocations: 0.5449 MB / 0.5493 GB, free: 72.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004098/0.4963, allocations: 91.88 kB / 0.5493 GB, free: 72.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005065/0.5013, allocations: 3.739 MB / 0.553 GB, free: 68.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007162/0.5021, allocations: 71.77 kB / 0.5531 GB, free: 68.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.032e-05/0.5022, allocations: 19.97 kB / 0.5531 GB, free: 68.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: 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 () * 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.0002598/0.5024, allocations: 116.8 kB / 0.5532 GB, free: 68.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.5026, allocations: 47.62 kB / 0.5532 GB, free: 67.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002771/0.5054, allocations: 0.6995 MB / 0.5539 GB, free: 67.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.5054, allocations: 4 kB / 0.5539 GB, free: 67.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5054, allocations: 4 kB / 0.5539 GB, free: 67.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.5054, allocations: 11.98 kB / 0.5539 GB, free: 67.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003568/0.509, allocations: 1.373 MB / 0.5553 GB, free: 65.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.509, allocations: 0 / 0.5553 GB, free: 65.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003657/0.5094, allocations: 79.89 kB / 0.5554 GB, free: 65.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001983/0.5114, allocations: 480.4 kB / 0.5558 GB, free: 65.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.417e-05/0.5114, allocations: 3.984 kB / 0.5558 GB, free: 65.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003922/0.5154, allocations: 2.216 MB / 0.558 GB, free: 62.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.5154, allocations: 4.219 kB / 0.558 GB, free: 62.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002796/0.5182, allocations: 0.7907 MB / 0.5588 GB, free: 62.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004343/0.5187, allocations: 168.4 kB / 0.5589 GB, free: 61.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001884/0.5189, allocations: 12 kB / 0.5589 GB, free: 61.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006398/0.5195, allocations: 59.94 kB / 0.559 GB, free: 61.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.5197, allocations: 47.89 kB / 0.559 GB, free: 61.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.874e-05/0.5197, allocations: 11.98 kB / 0.559 GB, free: 61.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000541/0.5203, allocations: 302.8 kB / 0.5593 GB, free: 61.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.5203, allocations: 0 / 0.5593 GB, free: 61.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001313/0.5216, allocations: 255.4 kB / 0.5596 GB, free: 61.28 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 (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.0003393/0.522, allocations: 147.2 kB / 0.5597 GB, free: 61.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001912/0.5239, allocations: 1.187 MB / 0.5609 GB, free: 59.87 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5239, allocations: 0 / 0.5609 GB, free: 59.87 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000421/0.5243, allocations: 309.5 kB / 0.5612 GB, free: 59.56 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005985/0.5249, allocations: 91.67 kB / 0.5613 GB, free: 59.47 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.5263, allocations: 0.5736 MB / 0.5618 GB, free: 58.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.5267, allocations: 0.8525 MB / 0.5627 GB, free: 57.99 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004224/0.5271, allocations: 67.23 kB / 0.5627 GB, free: 57.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.5272, allocations: 31.42 kB / 0.5627 GB, free: 57.89 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.5272, allocations: 4 kB / 0.5627 GB, free: 57.89 MB / 362.7 MB Notification: Performance of Templates: time 0.01966/0.5469, allocations: 12.55 MB / 0.575 GB, free: 45.39 MB / 362.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)