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.0007899/0.0007901, allocations: 86.88 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.0008868/0.0008869, 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.21/1.21, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1314/0.1314, allocations: 5.378 MB / 296.5 MB, free: 3.891 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000286/0.0002861, allocations: 8 kB / 361.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08463/0.08493, allocations: 51.6 MB / 413.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic): time 0.003376/0.08835, allocations: 3.37 MB / 416.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.09013, allocations: 1.395 MB / 418.3 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.09032, allocations: 7.938 kB / 418.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004128/0.09074, allocations: 210.8 kB / 418.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002838/0.09103, allocations: 154.8 kB / 418.6 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.09133, allocations: 143.8 kB / 418.8 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000538/0.09187, allocations: 0.6771 MB / 419.5 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002366/0.09212, allocations: 154.1 kB / 419.6 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002148/0.09234, allocations: 231 kB / 419.8 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002939/0.09264, allocations: 286.7 kB / 420.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.304e-05/0.09271, allocations: 35.94 kB / 420.2 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.995e-05/0.0928, allocations: 36 kB / 420.2 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.485e-05/0.0929, allocations: 99.55 kB / 420.3 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.691e-05/0.093, allocations: 125.4 kB / 420.4 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004173/0.09342, allocations: 0.5415 MB / 421 MB, free: 3.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.09343, allocations: 0 / 421 MB, free: 3.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.09344, allocations: 0 / 421 MB, free: 3.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.09345, allocations: 4 kB / 421 MB, free: 3.113 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.001958/0.09541, allocations: 0.9784 MB / 421.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.09545, allocations: 12.03 kB / 421.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.703e-05/0.09555, allocations: 59.25 kB / 422 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.0966, allocations: 0.5716 MB / 422.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.685e-05/0.09671, allocations: 44.98 kB / 422.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.985e-05/0.09677, allocations: 36 kB / 422.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008349/0.09761, allocations: 478 kB / 423.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.09763, allocations: 0 / 423.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.425e-05/0.09767, allocations: 12 kB / 423.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.09768, allocations: 12 kB / 423.1 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.09869, allocations: 467.6 kB / 423.6 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1597/0.2584, allocations: 1.595 MB / 425.2 MB, free: 44.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.2596, allocations: 0.5835 MB / 425.8 MB, free: 44.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004638/0.2601, allocations: 229.5 kB / 426 MB, free: 44.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.6e-05/0.2601, allocations: 7.422 kB / 426 MB, free: 44.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006034/0.2608, allocations: 303.1 kB / 426.3 MB, free: 44.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.863e-06/0.2608, allocations: 3.906 kB / 426.3 MB, free: 44.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.00324/0.264, allocations: 1.092 MB / 427.4 MB, free: 44.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.2641, allocations: 87.05 kB / 427.5 MB, free: 44.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004105/0.2645, allocations: 433.1 kB / 427.9 MB, free: 43.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.2645, allocations: 36.39 kB / 427.9 MB, free: 43.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.2647, allocations: 257.6 kB / 428.2 MB, free: 43.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.682e-05/0.2647, allocations: 97.92 kB / 428.3 MB, free: 43.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-05/0.2648, allocations: 3.5 kB / 428.3 MB, free: 43.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.965e-05/0.2648, allocations: 354.1 kB / 428.6 MB, free: 43.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004312/0.2653, allocations: 209.3 kB / 428.8 MB, free: 43.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004271/0.2657, allocations: 254.8 kB / 429.1 MB, free: 43.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004524/0.2662, allocations: 236.5 kB / 429.3 MB, free: 43.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2662, allocations: 0 / 429.3 MB, free: 43.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002212/0.2684, allocations: 0.8619 MB / 430.2 MB, free: 43.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.776e-05/0.2685, allocations: 146.4 kB / 430.3 MB, free: 43.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.2685, allocations: 3.312 kB / 430.3 MB, free: 43.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006965/0.2692, allocations: 246.3 kB / 430.6 MB, free: 43.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003403/0.2695, allocations: 96.02 kB / 430.7 MB, free: 43.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003772/0.2733, allocations: 3.498 MB / 434.2 MB, free: 40.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004438/0.2738, allocations: 82.72 kB / 434.2 MB, free: 40.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/0.2738, allocations: 15.69 kB / 434.3 MB, free: 40.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.684e-06/0.2738, allocations: 4.984 kB / 434.3 MB, free: 40.33 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002157/0.276, allocations: 0.7893 MB / 435.1 MB, free: 40.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/0.276, allocations: 3.938 kB / 435.1 MB, free: 40.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006065/0.2766, allocations: 249.9 kB / 435.3 MB, free: 40.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003081/0.2769, allocations: 87.25 kB / 435.4 MB, free: 40.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003494/0.2805, allocations: 3.497 MB / 438.9 MB, free: 37.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000423/0.2809, allocations: 77.34 kB / 439 MB, free: 37.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.2809, allocations: 16.02 kB / 439 MB, free: 37.47 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 ($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 (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 2} Notification: Performance of prepare postOptimizeDAE: time 0.000268/0.2812, allocations: 239.6 kB / 439.2 MB, free: 37.28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.596e-05/0.2813, allocations: 50.05 kB / 439.3 MB, free: 37.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001989/0.2833, allocations: 0.741 MB / 440 MB, free: 37.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2833, allocations: 3.125 kB / 440 MB, free: 37.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.2833, allocations: 0 / 440 MB, free: 37.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2833, allocations: 0 / 440 MB, free: 37.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002387/0.2857, allocations: 1.27 MB / 441.3 MB, free: 36.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.2857, allocations: 0.625 kB / 441.3 MB, free: 36.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00028/0.286, allocations: 71.5 kB / 441.3 MB, free: 36.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002871/0.2863, allocations: 183 kB / 441.5 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.2863, allocations: 3.25 kB / 441.5 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002393/0.2887, allocations: 1.948 MB / 443.5 MB, free: 34.94 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2887, allocations: 3.188 kB / 443.5 MB, free: 34.94 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/0.2907, allocations: 0.8051 MB / 444.3 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.2908, allocations: 166.8 kB / 444.4 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.482e-05/0.2909, allocations: 7.281 kB / 444.5 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003654/0.2912, allocations: 65.2 kB / 444.5 MB, free: 34.47 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.823e-05/0.2913, allocations: 38.16 kB / 444.6 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.2914, allocations: 6.156 kB / 444.6 MB, free: 34.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002461/0.2916, allocations: 299.8 kB / 444.9 MB, free: 34.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2916, allocations: 0 / 444.9 MB, free: 34.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007068/0.2923, allocations: 218.1 kB / 445.1 MB, free: 34.27 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 (29): * Single equations (assignments): 26 * 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.0001267/0.2925, allocations: 109.5 kB / 445.2 MB, free: 34.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001901/0.2944, allocations: 1.337 MB / 446.5 MB, free: 33.37 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2944, allocations: 0 / 446.5 MB, free: 33.37 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005176/0.2949, allocations: 353.3 kB / 446.9 MB, free: 33.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004939/0.2954, allocations: 91.34 kB / 446.9 MB, free: 33.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.2967, allocations: 1.013 MB / 448 MB, free: 32.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.2969, allocations: 0.8314 MB / 448.8 MB, free: 31.83 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003174/0.2973, allocations: 71.22 kB / 448.9 MB, free: 31.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.808e-05/0.2974, allocations: 40.75 kB / 448.9 MB, free: 31.8 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2974, allocations: 0 / 448.9 MB, free: 31.8 MB / 350.1 MB Notification: Performance of Templates: time 0.01175/0.3091, allocations: 8.957 MB / 457.9 MB, free: 31.22 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: