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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007905/0.0007905, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008265/0.0008264, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.22/1.22, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1416/0.1416, allocations: 5.37 MB / 296.5 MB, free: 3.898 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002946/0.0002947, allocations: 15.97 kB / 361.9 MB, free: 14.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09175/0.09207, allocations: 51.6 MB / 413.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic): time 0.003528/0.09564, allocations: 3.328 MB / 416.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.09743, allocations: 1.399 MB / 418.2 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/0.09763, allocations: 4 kB / 418.2 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004341/0.09807, allocations: 206.8 kB / 418.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000275/0.09836, allocations: 138.9 kB / 418.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002973/0.09866, allocations: 155.7 kB / 418.7 MB, free: 5.352 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005278/0.0992, allocations: 0.6538 MB / 419.4 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002208/0.09943, allocations: 132.4 kB / 419.5 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/0.09965, allocations: 239 kB / 419.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002885/0.09994, allocations: 282.8 kB / 420 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.476e-05/0.1, allocations: 28 kB / 420.1 MB, free: 4.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.063e-05/0.1001, allocations: 32 kB / 420.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.47e-05/0.1002, allocations: 103.5 kB / 420.2 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.12e-05/0.1003, allocations: 117.5 kB / 420.3 MB, free: 3.762 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003993/0.1007, allocations: 0.5221 MB / 420.8 MB, free: 3.238 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1007, allocations: 0 / 420.8 MB, free: 3.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1007, allocations: 0 / 420.8 MB, free: 3.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.1007, allocations: 0 / 420.8 MB, free: 3.238 MB / 350.1 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.002008/0.1027, allocations: 0.9637 MB / 421.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.1028, allocations: 15.97 kB / 421.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.617e-05/0.1029, allocations: 59.25 kB / 421.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.1039, allocations: 0.5597 MB / 422.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.224e-05/0.104, allocations: 48.58 kB / 422.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.045e-05/0.1041, allocations: 32 kB / 422.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008353/0.1049, allocations: 463.5 kB / 423 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.105, allocations: 0 / 423 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.768e-05/0.105, allocations: 23.94 kB / 423 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.105, allocations: 8 kB / 423 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.1061, allocations: 446.3 kB / 423.4 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1612/0.2673, allocations: 1.594 MB / 425 MB, free: 44.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.2686, allocations: 0.6191 MB / 425.6 MB, free: 44.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004253/0.269, allocations: 216.6 kB / 425.8 MB, free: 44.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.2691, allocations: 3.891 kB / 425.8 MB, free: 44.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005369/0.2696, allocations: 276.1 kB / 426.1 MB, free: 44.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.783e-06/0.2696, allocations: 0 / 426.1 MB, free: 44.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003136/0.2728, allocations: 1.059 MB / 427.2 MB, free: 44.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.2728, allocations: 85.66 kB / 427.3 MB, free: 44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003804/0.2732, allocations: 455.8 kB / 427.7 MB, free: 43.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.2732, allocations: 32.58 kB / 427.7 MB, free: 43.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.2734, allocations: 257 kB / 428 MB, free: 43.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.38e-05/0.2734, allocations: 81.06 kB / 428.1 MB, free: 43.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.208e-05/0.2734, allocations: 3.5 kB / 428.1 MB, free: 43.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.4e-05/0.2735, allocations: 360.6 kB / 428.4 MB, free: 43.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004433/0.274, allocations: 202.3 kB / 428.6 MB, free: 43.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004282/0.2744, allocations: 255.5 kB / 428.9 MB, free: 43.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004418/0.2749, allocations: 235 kB / 429.1 MB, free: 43.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2749, allocations: 0.9688 kB / 429.1 MB, free: 43.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002261/0.2771, allocations: 0.8475 MB / 429.9 MB, free: 43.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.632e-05/0.2772, allocations: 143.7 kB / 430.1 MB, free: 43.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2772, allocations: 0.8438 kB / 430.1 MB, free: 43.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006576/0.2779, allocations: 252 kB / 430.3 MB, free: 43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003335/0.2782, allocations: 87.52 kB / 430.4 MB, free: 43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003789/0.282, allocations: 3.51 MB / 433.9 MB, free: 40.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004635/0.2825, allocations: 86.27 kB / 434 MB, free: 40.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-05/0.2825, allocations: 8.984 kB / 434 MB, free: 40.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.543e-06/0.2825, allocations: 4.312 kB / 434 MB, free: 40.28 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002155/0.2847, allocations: 0.7903 MB / 434.8 MB, free: 40.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.2847, allocations: 3.953 kB / 434.8 MB, free: 40.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005699/0.2853, allocations: 247.4 kB / 435.1 MB, free: 40.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/0.2856, allocations: 83.25 kB / 435.1 MB, free: 40.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003532/0.2892, allocations: 3.492 MB / 438.6 MB, free: 37.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004117/0.2896, allocations: 84.48 kB / 438.7 MB, free: 37.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.2896, allocations: 9.828 kB / 438.7 MB, free: 37.43 MB / 350.1 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.realToInteger.y,$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 (36): * Single equations (assignments): 33 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002182/0.2898, allocations: 248.8 kB / 439 MB, free: 37.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.314e-05/0.2899, allocations: 42.94 kB / 439 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.075e-05/0.29, allocations: 49.53 kB / 439.1 MB, free: 37.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.29, allocations: 3.281 kB / 439.1 MB, free: 37.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.29, allocations: 0 / 439.1 MB, free: 37.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.29, allocations: 7.422 kB / 439.1 MB, free: 37.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00235/0.2924, allocations: 1.202 MB / 440.3 MB, free: 36.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2924, allocations: 0 / 440.3 MB, free: 36.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/0.2926, allocations: 67.03 kB / 440.3 MB, free: 36.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002876/0.2929, allocations: 182.6 kB / 440.5 MB, free: 36.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.293, allocations: 11.89 kB / 440.5 MB, free: 36.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002416/0.2954, allocations: 1.941 MB / 442.5 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2954, allocations: 3.828 kB / 442.5 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/0.2972, allocations: 0.7734 MB / 443.2 MB, free: 34.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.2974, allocations: 154.9 kB / 443.4 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.737e-05/0.2974, allocations: 12.73 kB / 443.4 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003707/0.2978, allocations: 52.56 kB / 443.5 MB, free: 34.74 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.254e-05/0.2979, allocations: 37.92 kB / 443.5 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.2979, allocations: 10.28 kB / 443.5 MB, free: 34.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000268/0.2982, allocations: 314.9 kB / 443.8 MB, free: 34.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2982, allocations: 0 / 443.8 MB, free: 34.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006816/0.2989, allocations: 211.2 kB / 444 MB, free: 34.53 MB / 350.1 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.realToInteger.y,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 (23): * Single equations (assignments): 20 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001157/0.299, allocations: 107.5 kB / 444.1 MB, free: 34.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002153/0.3012, allocations: 1.314 MB / 445.4 MB, free: 33.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3012, allocations: 0 / 445.4 MB, free: 33.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004991/0.3017, allocations: 330.3 kB / 445.8 MB, free: 33.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005287/0.3023, allocations: 102 kB / 445.9 MB, free: 33.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.3034, allocations: 0.949 MB / 446.8 MB, free: 32.87 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/0.3036, allocations: 0.8271 MB / 447.6 MB, free: 32.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002868/0.3039, allocations: 65.17 kB / 447.7 MB, free: 32.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.604e-05/0.304, allocations: 36.83 kB / 447.7 MB, free: 32.12 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.304, allocations: 0 / 447.7 MB, free: 32.12 MB / 350.1 MB Notification: Performance of Templates: time 0.01116/0.3152, allocations: 9.024 MB / 456.8 MB, free: 31.54 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: