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.007444/0.007444, allocations: 100.6 kB / 15.73 MB, free: 6.023 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.00172/0.001721, allocations: 192.9 kB / 16.67 MB, free: 5.957 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1403/0.1403, allocations: 5.392 MB / 295.9 MB, free: 2.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 63.89 kB / 412.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2535, allocations: 50.61 MB / 463.4 MB, free: 21.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic): time 0.00475/0.2583, allocations: 3.901 MB / 467.3 MB, free: 18.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002384/0.2607, allocations: 1.505 MB / 468.8 MB, free: 17.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000244/0.261, allocations: 9.75 kB / 468.8 MB, free: 17.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005754/0.2616, allocations: 234.1 kB / 469.1 MB, free: 17.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004132/0.262, allocations: 187.8 kB / 469.2 MB, free: 17.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004218/0.2625, allocations: 223 kB / 469.5 MB, free: 17.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006976/0.2632, allocations: 0.7778 MB / 470.2 MB, free: 16.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000335/0.2635, allocations: 211.3 kB / 470.4 MB, free: 16.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003248/0.2638, allocations: 299.2 kB / 470.7 MB, free: 16.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004495/0.2643, allocations: 357.8 kB / 471.1 MB, free: 16.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.2644, allocations: 76 kB / 471.2 MB, free: 16.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.2646, allocations: 90.64 kB / 471.2 MB, free: 16.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.2647, allocations: 149.9 kB / 471.4 MB, free: 16.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002809/0.265, allocations: 321.7 kB / 471.7 MB, free: 16.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008545/0.2659, allocations: 0.7499 MB / 472.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2659, allocations: 4 kB / 472.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2659, allocations: 1.188 kB / 472.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.2659, allocations: 0.6562 kB / 472.5 MB, free: 15.88 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.002527/0.2685, allocations: 1.038 MB / 473.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.2685, allocations: 9.156 kB / 473.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.2686, allocations: 63.12 kB / 473.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.2699, allocations: 0.5754 MB / 474.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.407e-05/0.2699, allocations: 31.66 kB / 474.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.303e-05/0.27, allocations: 36.28 kB / 474.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009358/0.2709, allocations: 451.6 kB / 474.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.271, allocations: 0 / 474.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.078e-05/0.271, allocations: 10.59 kB / 474.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.271, allocations: 13.88 kB / 474.7 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.2721, allocations: 419 kB / 475.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00267/0.2748, allocations: 1.554 MB / 476.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.2761, allocations: 0.5458 MB / 477.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005459/0.2767, allocations: 207.3 kB / 477.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.597e-05/0.2767, allocations: 2.844 kB / 477.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006465/0.2774, allocations: 281.9 kB / 477.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.994e-06/0.2774, allocations: 0 / 477.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.00374/0.2811, allocations: 0.9476 MB / 478.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.2812, allocations: 80.67 kB / 478.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005175/0.2817, allocations: 441.3 kB / 479.1 MB, free: 12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/0.2818, allocations: 36.98 kB / 479.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.2819, allocations: 254.6 kB / 479.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.215e-05/0.282, allocations: 90.5 kB / 479.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.2821, allocations: 75.47 kB / 479.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.417e-05/0.2822, allocations: 357.1 kB / 479.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004805/0.2827, allocations: 184.7 kB / 480.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004875/0.2832, allocations: 244 kB / 480.3 MB, free: 11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000901/0.2841, allocations: 423.5 kB / 480.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2841, allocations: 0 / 480.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002645/0.2868, allocations: 0.7677 MB / 481.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.2868, allocations: 32.42 kB / 481.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.2868, allocations: 0.9688 kB / 481.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007979/0.2876, allocations: 238 kB / 481.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000389/0.288, allocations: 86.3 kB / 481.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00446/0.2925, allocations: 3.732 MB / 485.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005688/0.2931, allocations: 66.34 kB / 485.7 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.27e-05/0.2931, allocations: 12.19 kB / 485.7 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000581/0.2937, allocations: 309.3 kB / 486 MB, free: 6.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004733/0.2942, allocations: 230.1 kB / 486.2 MB, free: 6.266 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009353/0.2951, allocations: 407.5 kB / 486.6 MB, free: 6.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.084e-06/0.2951, allocations: 0 / 486.6 MB, free: 6.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.002684/0.2978, allocations: 0.7557 MB / 487.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.2979, allocations: 36.58 kB / 487.4 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.2979, allocations: 1.375 kB / 487.4 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007164/0.2986, allocations: 242 kB / 487.6 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003564/0.299, allocations: 85.16 kB / 487.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004143/0.3031, allocations: 3.725 MB / 491.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005631/0.3037, allocations: 67.12 kB / 491.5 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-05/0.3037, allocations: 12.44 kB / 491.5 MB, free: 1.891 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.0001518/0.3039, allocations: 202.9 kB / 491.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.229e-05/0.304, allocations: 48.89 kB / 491.8 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002328/0.3063, allocations: 0.6477 MB / 492.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3063, allocations: 2.75 kB / 492.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.3063, allocations: 0 / 492.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3063, allocations: 1.375 kB / 492.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002735/0.3091, allocations: 1.198 MB / 493.6 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.3091, allocations: 1.469 kB / 493.6 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003119/0.3094, allocations: 60.27 kB / 493.7 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003189/0.3097, allocations: 171.1 kB / 493.8 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.3098, allocations: 6.844 kB / 493.8 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003246/0.313, allocations: 1.993 MB / 495.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.313, allocations: 5.031 kB / 495.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002426/0.3155, allocations: 0.717 MB / 496.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002044/0.3157, allocations: 153.2 kB / 496.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.878e-05/0.3158, allocations: 13.22 kB / 496.7 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004459/0.3162, allocations: 43.84 kB / 496.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.3164, allocations: 39.7 kB / 496.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.3164, allocations: 5.688 kB / 496.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003634/0.3168, allocations: 307.3 kB / 497.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.633e-06/0.3168, allocations: 0 / 497.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009044/0.3177, allocations: 222.2 kB / 497.3 MB, free: 13.72 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.0001625/0.3178, allocations: 112 kB / 497.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002528/0.3204, allocations: 1.283 MB / 498.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3204, allocations: 0 / 498.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006284/0.321, allocations: 334.8 kB / 499 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005807/0.3216, allocations: 99.56 kB / 499.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.3232, allocations: 0.8398 MB / 500 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.3236, allocations: 0.8315 MB / 0.4891 GB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002612/0.3238, allocations: 60.16 kB / 0.4891 GB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.3239, allocations: 47.42 kB / 0.4892 GB, free: 10.28 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3239, allocations: 0 / 0.4892 GB, free: 10.28 MB / 366.1 MB Notification: Performance of Templates: time 0.01769/0.3416, allocations: 10.39 MB / 0.4993 GB, free: 15.96 MB / 382.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)