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.001639/0.001639, allocations: 174.5 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.511/1.511, 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.0009309/0.0009311, allocations: 92.97 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.0245/0.0245, allocations: 5.28 MB / 341.8 MB, free: 4.812 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.897e-05/4.909e-05, allocations: 4 kB / 403.7 MB, free: 62.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1472, allocations: 51.6 MB / 455.3 MB, free: 11.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4983/0.6456, allocations: 85.49 MB / 0.5281 GB, free: 5.512 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.6459, allocations: 70.34 kB / 0.5282 GB, free: 5.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05991/0.7058, allocations: 14.79 MB / 0.5426 GB, free: 8.715 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.7059, allocations: 7.938 kB / 0.5427 GB, free: 8.707 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.852e-05/0.7059, allocations: 8.875 kB / 0.5427 GB, free: 8.699 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.002335/0.7083, allocations: 0.8092 MB / 0.5434 GB, free: 7.871 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.7083, allocations: 12.02 kB / 0.5435 GB, free: 7.859 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.7085, allocations: 63.19 kB / 0.5435 GB, free: 7.797 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008141/0.7093, allocations: 414.5 kB / 0.5439 GB, free: 7.422 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.826e-05/0.7094, allocations: 23.66 kB / 0.5439 GB, free: 7.406 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.499e-05/0.7095, allocations: 34.25 kB / 0.544 GB, free: 7.383 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009991/0.7105, allocations: 414.3 kB / 0.5444 GB, free: 7.086 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.7105, allocations: 7.938 kB / 0.5444 GB, free: 7.078 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.037e-05/0.7106, allocations: 11 kB / 0.5444 GB, free: 7.074 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.7106, allocations: 8 kB / 0.5444 GB, free: 7.066 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.7117, allocations: 399.9 kB / 0.5448 GB, free: 6.828 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004433/0.7162, allocations: 1.802 MB / 0.5465 GB, free: 5.348 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.7176, allocations: 0.5238 MB / 0.547 GB, free: 4.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004392/0.718, allocations: 156.9 kB / 0.5472 GB, free: 4.816 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.079e-05/0.7181, allocations: 4.234 kB / 0.5472 GB, free: 4.812 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006678/0.7188, allocations: 231.1 kB / 0.5474 GB, free: 4.629 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 3.096e-06/0.7188, allocations: 4 kB / 0.5474 GB, free: 4.625 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.004116/0.7229, allocations: 0.6477 MB / 0.5481 GB, free: 4.082 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/0.723, allocations: 144.2 kB / 0.5482 GB, free: 3.914 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000777/0.7238, allocations: 442.3 kB / 0.5486 GB, free: 3.586 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.884e-05/0.7239, allocations: 33.64 kB / 0.5486 GB, free: 3.551 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/0.7242, allocations: 258.2 kB / 0.5489 GB, free: 3.375 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.7243, allocations: 87.5 kB / 0.549 GB, free: 3.301 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.7243, allocations: 10.62 kB / 0.549 GB, free: 3.297 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.7245, allocations: 354.6 kB / 0.5493 GB, free: 2.961 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003661/0.7249, allocations: 145.2 kB / 0.5495 GB, free: 2.883 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004476/0.7253, allocations: 215 kB / 0.5497 GB, free: 2.727 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004242/0.7258, allocations: 182.6 kB / 0.5498 GB, free: 2.598 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.7258, allocations: 0 / 0.5498 GB, free: 2.598 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.004503/0.7303, allocations: 0.8718 MB / 0.5507 GB, free: 1.871 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003003/0.7306, allocations: 476.5 kB / 0.5511 GB, free: 1.375 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.7307, allocations: 0 / 0.5511 GB, free: 1.375 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003987/0.7347, allocations: 0.5396 MB / 0.5517 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006293/0.7353, allocations: 99.05 kB / 0.5518 GB, free: 0.8008 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009406/0.7447, allocations: 3.932 MB / 0.5556 GB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009993/0.7458, allocations: 94.47 kB / 0.5557 GB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-05/0.7458, allocations: 15.61 kB / 0.5557 GB, free: 13.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.7459, allocations: 9.547 kB / 0.5557 GB, free: 13 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004867/0.7507, allocations: 0.787 MB / 0.5565 GB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.7508, allocations: 0 / 0.5565 GB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003632/0.7544, allocations: 0.5561 MB / 0.557 GB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006772/0.7551, allocations: 83.25 kB / 0.5571 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01029/0.7654, allocations: 3.903 MB / 0.5609 GB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.7667, allocations: 83.19 kB / 0.561 GB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.818e-05/0.7668, allocations: 15.73 kB / 0.561 GB, free: 8.031 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 () * 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.000276/0.7671, allocations: 134.1 kB / 0.5611 GB, free: 7.906 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.7673, allocations: 47.42 kB / 0.5612 GB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/0.7675, allocations: 49.39 kB / 0.5612 GB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.7675, allocations: 4 kB / 0.5612 GB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.7675, allocations: 0 / 0.5612 GB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/0.7675, allocations: 7.984 kB / 0.5613 GB, free: 7.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00626/0.7738, allocations: 1.385 MB / 0.5626 GB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.7739, allocations: 0 / 0.5626 GB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005984/0.7745, allocations: 67.94 kB / 0.5627 GB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003735/0.7782, allocations: 473.7 kB / 0.5631 GB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.038e-05/0.7783, allocations: 11.73 kB / 0.5631 GB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007207/0.7855, allocations: 2.283 MB / 0.5654 GB, free: 4.172 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.7856, allocations: 3.984 kB / 0.5654 GB, free: 4.168 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005123/0.7907, allocations: 0.774 MB / 0.5661 GB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005977/0.7914, allocations: 170.8 kB / 0.5663 GB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.7915, allocations: 11.38 kB / 0.5663 GB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008415/0.7924, allocations: 67.83 kB / 0.5664 GB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/0.7926, allocations: 40.88 kB / 0.5664 GB, free: 3.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.348e-05/0.7926, allocations: 10.92 kB / 0.5664 GB, free: 3.223 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007621/0.7934, allocations: 342.3 kB / 0.5667 GB, free: 2.973 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.7934, allocations: 0 / 0.5667 GB, free: 2.973 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001713/0.7951, allocations: 272 kB / 0.567 GB, free: 2.727 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 (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.0003541/0.7955, allocations: 150.6 kB / 0.5671 GB, free: 2.574 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003139/0.7987, allocations: 1.223 MB / 0.5683 GB, free: 1.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.7987, allocations: 0 / 0.5683 GB, free: 1.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007386/0.7994, allocations: 300.2 kB / 0.5686 GB, free: 1.258 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000902/0.8004, allocations: 92.45 kB / 0.5687 GB, free: 1.191 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.8022, allocations: 0.5615 MB / 0.5693 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006048/0.8028, allocations: 0.8361 MB / 0.5701 GB, free: 15.82 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006552/0.8035, allocations: 75.3 kB / 0.5701 GB, free: 15.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.8036, allocations: 35.36 kB / 0.5702 GB, free: 15.72 MB / 394.7 MB Notification: Performance of SimCode: time 6.21e-07/0.8037, allocations: 0 / 0.5702 GB, free: 15.72 MB / 394.7 MB Notification: Performance of Templates: time 0.02657/0.8302, allocations: 14.29 MB / 0.5841 GB, free: 1.527 MB / 394.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)