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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007837/0.007837, allocations: 102.6 kB / 15.73 MB, free: 6.035 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.001719/0.001719, allocations: 198.9 kB / 16.67 MB, free: 5.969 MB / 14.72 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: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1363/0.1363, allocations: 5.39 MB / 295.9 MB, free: 2.863 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002537/0.002537, allocations: 59.91 kB / 412.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2673, allocations: 50.6 MB / 463.4 MB, free: 21.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic): time 0.004478/0.2718, allocations: 3.901 MB / 467.3 MB, free: 18.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002146/0.274, allocations: 1.508 MB / 468.8 MB, free: 17.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002882/0.2743, allocations: 9.469 kB / 468.8 MB, free: 17.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006036/0.2749, allocations: 234.8 kB / 469.1 MB, free: 17.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004015/0.2753, allocations: 187.6 kB / 469.2 MB, free: 17.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004389/0.2758, allocations: 222.6 kB / 469.5 MB, free: 17.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006689/0.2764, allocations: 0.777 MB / 470.2 MB, free: 16.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002985/0.2768, allocations: 211.1 kB / 470.4 MB, free: 16.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002942/0.2771, allocations: 295.6 kB / 470.7 MB, free: 16.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000392/0.2775, allocations: 358.1 kB / 471.1 MB, free: 16.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.2776, allocations: 76.81 kB / 471.2 MB, free: 16.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.2777, allocations: 82.42 kB / 471.2 MB, free: 16.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.2778, allocations: 157.6 kB / 471.4 MB, free: 16.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002478/0.2781, allocations: 326.6 kB / 471.7 MB, free: 16.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007768/0.2789, allocations: 0.7493 MB / 472.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2789, allocations: 0 / 472.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2789, allocations: 0 / 472.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.2789, allocations: 1.375 kB / 472.5 MB, free: 15.81 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.002498/0.2814, allocations: 1.038 MB / 473.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2815, allocations: 9.109 kB / 473.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.2816, allocations: 67.06 kB / 473.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.2828, allocations: 0.5743 MB / 474.1 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.51e-05/0.2829, allocations: 36 kB / 474.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.35e-05/0.283, allocations: 35.59 kB / 474.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008732/0.2838, allocations: 444.4 kB / 474.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.2839, allocations: 4 kB / 474.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.101e-05/0.2839, allocations: 13.22 kB / 474.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.2839, allocations: 8.656 kB / 474.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.285, allocations: 418.8 kB / 475.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002718/0.2877, allocations: 1.563 MB / 476.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.289, allocations: 0.5409 MB / 477.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005424/0.2896, allocations: 207.4 kB / 477.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/0.2896, allocations: 4.859 kB / 477.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007105/0.2904, allocations: 277.6 kB / 477.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.364e-06/0.2904, allocations: 5.062 kB / 477.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.004017/0.2944, allocations: 0.9502 MB / 478.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.2944, allocations: 81.61 kB / 478.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004624/0.2949, allocations: 437.8 kB / 479.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.295, allocations: 31.08 kB / 479.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.2951, allocations: 263.2 kB / 479.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.054e-05/0.2952, allocations: 90.44 kB / 479.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.2953, allocations: 68.36 kB / 479.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.533e-05/0.2954, allocations: 363.8 kB / 479.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004925/0.2959, allocations: 189.7 kB / 480.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004952/0.2964, allocations: 238.5 kB / 480.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009238/0.2973, allocations: 412.5 kB / 480.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2973, allocations: 4 kB / 480.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002705/0.3, allocations: 0.7722 MB / 481.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.3001, allocations: 31.86 kB / 481.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.3001, allocations: 1.688 kB / 481.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008252/0.3009, allocations: 241.8 kB / 481.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003961/0.3013, allocations: 78.19 kB / 481.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004707/0.306, allocations: 3.736 MB / 485.6 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005989/0.3067, allocations: 58.98 kB / 485.7 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/0.3067, allocations: 21.36 kB / 485.7 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005933/0.3073, allocations: 305.4 kB / 486 MB, free: 6.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004704/0.3078, allocations: 224.3 kB / 486.2 MB, free: 6.242 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008871/0.3087, allocations: 408.4 kB / 486.6 MB, free: 5.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.754e-06/0.3087, allocations: 0 / 486.6 MB, free: 5.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.002679/0.3114, allocations: 0.7633 MB / 487.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.3114, allocations: 32.98 kB / 487.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3114, allocations: 1.5 kB / 487.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000719/0.3121, allocations: 245.1 kB / 487.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003694/0.3125, allocations: 81.84 kB / 487.7 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004441/0.317, allocations: 3.72 MB / 491.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006529/0.3177, allocations: 63.77 kB / 491.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.359e-05/0.3177, allocations: 16.86 kB / 491.5 MB, free: 1.867 MB / 350.1 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 (triangleAndStep.trapezoid.count,$PRE.triangleAndStep.trapezoid.count,triangleAndStep.trapezoid.T_start,$PRE.triangleAndStep.trapezoid.T_start,triangleAndStep.realToInteger.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001707/0.3179, allocations: 209.9 kB / 491.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.609e-05/0.318, allocations: 44.78 kB / 491.8 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002392/0.3204, allocations: 0.6435 MB / 492.4 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.3204, allocations: 4 kB / 492.4 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.3204, allocations: 0 / 492.4 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.3204, allocations: 5.484 kB / 492.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002784/0.3232, allocations: 1.194 MB / 493.6 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.3232, allocations: 5.766 kB / 493.6 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003105/0.3235, allocations: 63.7 kB / 493.7 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000319/0.3238, allocations: 162.6 kB / 493.8 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.3239, allocations: 10.58 kB / 493.8 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003359/0.3273, allocations: 1.994 MB / 495.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.3273, allocations: 4.875 kB / 495.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00249/0.3298, allocations: 0.7127 MB / 496.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002198/0.33, allocations: 156.8 kB / 496.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.685e-05/0.3301, allocations: 10.41 kB / 496.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004686/0.3306, allocations: 47.41 kB / 496.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.3307, allocations: 30.88 kB / 496.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/0.3307, allocations: 14.45 kB / 496.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003572/0.3311, allocations: 303 kB / 497.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3311, allocations: 1.125 kB / 497.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009137/0.332, allocations: 217.2 kB / 497.3 MB, free: 13.7 MB / 366.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 (29): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001902/0.3322, allocations: 118.8 kB / 497.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002576/0.3348, allocations: 1.272 MB / 498.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3348, allocations: 0 / 498.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006456/0.3355, allocations: 338.7 kB / 499 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005848/0.3361, allocations: 91.92 kB / 499.1 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.3376, allocations: 0.8477 MB / 500 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.338, allocations: 0.8315 MB / 0.4891 GB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000282/0.3382, allocations: 68.14 kB / 0.4891 GB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.3384, allocations: 39.42 kB / 0.4892 GB, free: 10.27 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3384, allocations: 4 kB / 0.4892 GB, free: 10.26 MB / 366.1 MB Notification: Performance of Templates: time 0.01601/0.3544, allocations: 10.08 MB / 0.499 GB, free: 268 kB / 366.1 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)