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.001038/0.001038, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.397/1.397, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0009393/0.0009395, allocations: 82.69 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02444/0.02444, allocations: 5.289 MB / 341.8 MB, free: 4.828 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.524e-05/3.535e-05, allocations: 4 kB / 403.7 MB, free: 62.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1109, allocations: 51.61 MB / 455.3 MB, free: 11.35 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4604/0.5714, allocations: 85.61 MB / 0.5283 GB, free: 5.469 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/0.5718, allocations: 67.22 kB / 0.5283 GB, free: 5.438 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04441/0.6162, allocations: 15.47 MB / 0.5434 GB, free: 8.102 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.6163, allocations: 3.938 kB / 0.5434 GB, free: 8.098 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.078e-05/0.6163, allocations: 8 kB / 0.5434 GB, free: 8.09 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.001743/0.618, allocations: 0.8266 MB / 0.5442 GB, free: 7.246 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.6181, allocations: 8.031 kB / 0.5442 GB, free: 7.238 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.6182, allocations: 63.25 kB / 0.5443 GB, free: 7.176 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006056/0.6188, allocations: 428.3 kB / 0.5447 GB, free: 6.789 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.144e-05/0.6189, allocations: 32.59 kB / 0.5447 GB, free: 6.766 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.892e-05/0.619, allocations: 35.62 kB / 0.5448 GB, free: 6.742 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007615/0.6197, allocations: 413.1 kB / 0.5452 GB, free: 6.461 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.6198, allocations: 7.953 kB / 0.5452 GB, free: 6.453 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.891e-05/0.6198, allocations: 14.38 kB / 0.5452 GB, free: 6.449 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.6198, allocations: 8 kB / 0.5452 GB, free: 6.441 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007424/0.6206, allocations: 404 kB / 0.5456 GB, free: 6.203 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002961/0.6236, allocations: 1.78 MB / 0.5473 GB, free: 4.699 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009366/0.6245, allocations: 0.511 MB / 0.5478 GB, free: 4.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003043/0.6248, allocations: 175.1 kB / 0.548 GB, free: 4.168 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.272e-05/0.6249, allocations: 8.297 kB / 0.548 GB, free: 4.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000424/0.6253, allocations: 255.5 kB / 0.5482 GB, free: 3.957 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 2.044e-06/0.6253, allocations: 0 / 0.5482 GB, free: 3.957 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.002953/0.6283, allocations: 0.6978 MB / 0.5489 GB, free: 3.379 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.825e-05/0.6284, allocations: 136.5 kB / 0.5491 GB, free: 3.215 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005184/0.6289, allocations: 413.8 kB / 0.5495 GB, free: 2.906 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.815e-05/0.629, allocations: 33.14 kB / 0.5495 GB, free: 2.871 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.6291, allocations: 253.1 kB / 0.5497 GB, free: 2.699 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.695e-05/0.6292, allocations: 110.7 kB / 0.5498 GB, free: 2.605 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.6293, allocations: 3.062 kB / 0.5498 GB, free: 2.605 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.6294, allocations: 363 kB / 0.5502 GB, free: 2.262 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.6297, allocations: 147.5 kB / 0.5503 GB, free: 2.184 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003059/0.63, allocations: 219.8 kB / 0.5505 GB, free: 2.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/0.6303, allocations: 191.2 kB / 0.5507 GB, free: 1.883 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.6303, allocations: 0 / 0.5507 GB, free: 1.883 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.003308/0.6336, allocations: 0.8632 MB / 0.5516 GB, free: 1.164 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002452/0.6339, allocations: 0.5518 MB / 0.5521 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.6339, allocations: 4 kB / 0.5521 GB, free: 0.5742 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002635/0.6365, allocations: 0.5529 MB / 0.5526 GB, free: 80 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004537/0.637, allocations: 99.56 kB / 0.5527 GB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006138/0.6432, allocations: 3.907 MB / 0.5565 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007282/0.6439, allocations: 91.5 kB / 0.5566 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.074e-05/0.644, allocations: 27.47 kB / 0.5567 GB, free: 12.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.644, allocations: 4 kB / 0.5567 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00318/0.6472, allocations: 0.7977 MB / 0.5574 GB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.6472, allocations: 0 / 0.5574 GB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002458/0.6497, allocations: 0.5491 MB / 0.558 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000398/0.6501, allocations: 91.31 kB / 0.5581 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00593/0.656, allocations: 3.9 MB / 0.5619 GB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007422/0.6568, allocations: 82.7 kB / 0.562 GB, free: 7.242 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.81e-05/0.6569, allocations: 23.22 kB / 0.562 GB, free: 7.223 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 () * 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.0001896/0.6571, allocations: 121.9 kB / 0.5621 GB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.6572, allocations: 47.44 kB / 0.5621 GB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002948/0.6601, allocations: 0.7383 MB / 0.5629 GB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.6601, allocations: 4 kB / 0.5629 GB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.6602, allocations: 0 / 0.5629 GB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.485e-06/0.6602, allocations: 3.984 kB / 0.5629 GB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003712/0.6639, allocations: 1.444 MB / 0.5643 GB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.6639, allocations: 4 kB / 0.5643 GB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003508/0.6643, allocations: 79.91 kB / 0.5644 GB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002086/0.6664, allocations: 483.2 kB / 0.5648 GB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.823e-05/0.6664, allocations: 7.359 kB / 0.5648 GB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004602/0.671, allocations: 2.297 MB / 0.5671 GB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.671, allocations: 0 / 0.5671 GB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003226/0.6743, allocations: 0.8162 MB / 0.5679 GB, free: 2.043 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004375/0.6747, allocations: 172.7 kB / 0.568 GB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.6749, allocations: 7.812 kB / 0.568 GB, free: 1.883 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006014/0.6755, allocations: 67.12 kB / 0.5681 GB, free: 1.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/0.6757, allocations: 43.58 kB / 0.5681 GB, free: 1.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-05/0.6758, allocations: 15.36 kB / 0.5682 GB, free: 1.773 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005955/0.6764, allocations: 327.3 kB / 0.5685 GB, free: 1.531 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6764, allocations: 0 / 0.5685 GB, free: 1.531 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001565/0.6779, allocations: 280.9 kB / 0.5687 GB, free: 1.277 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) * 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.0004488/0.6784, allocations: 140.4 kB / 0.5689 GB, free: 1.137 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002914/0.6813, allocations: 1.256 MB / 0.5701 GB, free: 36 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/0.6814, allocations: 3.125 kB / 0.5701 GB, free: 36 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006898/0.6821, allocations: 315.2 kB / 0.5704 GB, free: 15.79 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008669/0.6829, allocations: 90.81 kB / 0.5705 GB, free: 15.72 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.6847, allocations: 0.5842 MB / 0.5711 GB, free: 15.2 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006924/0.6855, allocations: 0.8526 MB / 0.5719 GB, free: 14.32 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005691/0.686, allocations: 71.3 kB / 0.572 GB, free: 14.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.6862, allocations: 30.25 kB / 0.572 GB, free: 14.22 MB / 394.7 MB Notification: Performance of SimCode: time 1.593e-06/0.6862, allocations: 4 kB / 0.572 GB, free: 14.21 MB / 394.7 MB Notification: Performance of Templates: time 0.02499/0.7112, allocations: 14.23 MB / 0.5859 GB, free: 56 kB / 394.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)