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.001132/0.001132, allocations: 105 kB / 16.35 MB, free: 5.824 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.001187/0.001187, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02593/0.02593, allocations: 5.39 MB / 296.5 MB, free: 9.496 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 59.91 kB / 362.4 MB, free: 7.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.2008, allocations: 50.61 MB / 413 MB, free: 29.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic): time 0.00437/0.2052, allocations: 3.856 MB / 416.8 MB, free: 25.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.2072, allocations: 1.492 MB / 418.3 MB, free: 23.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002598/0.2075, allocations: 7.938 kB / 418.3 MB, free: 23.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005316/0.208, allocations: 234.6 kB / 418.6 MB, free: 23.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003589/0.2084, allocations: 182.6 kB / 418.7 MB, free: 23.51 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003671/0.2088, allocations: 218.4 kB / 419 MB, free: 23.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000469/0.2093, allocations: 0.7592 MB / 419.7 MB, free: 22.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002247/0.2095, allocations: 173.9 kB / 419.9 MB, free: 22.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002119/0.2097, allocations: 294.9 kB / 420.2 MB, free: 22.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002697/0.21, allocations: 338.6 kB / 420.5 MB, free: 21.74 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.515e-05/0.2101, allocations: 75.94 kB / 420.6 MB, free: 21.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.2102, allocations: 84 kB / 420.7 MB, free: 21.58 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.356e-05/0.2103, allocations: 147.5 kB / 420.8 MB, free: 21.44 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001988/0.2105, allocations: 314.4 kB / 421.1 MB, free: 21.13 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004524/0.211, allocations: 0.7241 MB / 421.8 MB, free: 20.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.211, allocations: 0 / 421.8 MB, free: 20.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.211, allocations: 4 kB / 421.8 MB, free: 20.4 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.532e-05/0.211, allocations: 0 / 421.8 MB, free: 20.4 MB / 302.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.002219/0.2132, allocations: 1.026 MB / 422.9 MB, free: 19.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.2133, allocations: 8.031 kB / 422.9 MB, free: 19.31 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.2134, allocations: 56.28 kB / 422.9 MB, free: 19.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.2145, allocations: 0.5723 MB / 423.5 MB, free: 18.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.2146, allocations: 24.78 kB / 423.5 MB, free: 18.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.272e-05/0.2146, allocations: 36 kB / 423.6 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007837/0.2154, allocations: 439.5 kB / 424 MB, free: 18.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.2155, allocations: 7.938 kB / 424 MB, free: 18.13 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.744e-05/0.2155, allocations: 12 kB / 424 MB, free: 18.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.2155, allocations: 8 kB / 424 MB, free: 18.11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009392/0.2165, allocations: 402.3 kB / 424.4 MB, free: 17.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002261/0.2187, allocations: 1.568 MB / 426 MB, free: 16.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.2199, allocations: 0.5784 MB / 426.6 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000479/0.2204, allocations: 180.7 kB / 426.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.31e-05/0.2205, allocations: 16.23 kB / 426.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000553/0.221, allocations: 252.8 kB / 427 MB, free: 14.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.673e-06/0.221, allocations: 0 / 427 MB, free: 14.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.003427/0.2245, allocations: 0.9105 MB / 427.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.2245, allocations: 85.11 kB / 428 MB, free: 13.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003946/0.2249, allocations: 449.9 kB / 428.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.225, allocations: 29.7 kB / 428.5 MB, free: 13.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.2251, allocations: 260 kB / 428.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.794e-05/0.2251, allocations: 86.83 kB / 428.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.2253, allocations: 74.09 kB / 428.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.908e-05/0.2253, allocations: 358.7 kB / 429.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004648/0.2258, allocations: 193.9 kB / 429.4 MB, free: 12.49 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004538/0.2263, allocations: 229.5 kB / 429.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008274/0.2271, allocations: 397.3 kB / 430 MB, free: 11.85 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2271, allocations: 0 / 430 MB, free: 11.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002421/0.2295, allocations: 0.7612 MB / 430.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.2296, allocations: 29.7 kB / 430.8 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.2296, allocations: 7.938 kB / 430.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007418/0.2303, allocations: 241.6 kB / 431.1 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003571/0.2307, allocations: 71.88 kB / 431.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004147/0.2349, allocations: 3.727 MB / 434.9 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000518/0.2354, allocations: 75.72 kB / 434.9 MB, free: 6.621 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.2354, allocations: 8 kB / 434.9 MB, free: 6.613 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005286/0.236, allocations: 303.9 kB / 435.2 MB, free: 6.312 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000433/0.2364, allocations: 224.8 kB / 435.5 MB, free: 6.078 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007625/0.2372, allocations: 388.3 kB / 435.8 MB, free: 5.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.402e-06/0.2372, allocations: 0 / 435.8 MB, free: 5.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.002379/0.2396, allocations: 0.7572 MB / 436.6 MB, free: 4.902 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.2396, allocations: 37.69 kB / 436.6 MB, free: 4.859 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-06/0.2396, allocations: 0 / 436.6 MB, free: 4.859 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006741/0.2403, allocations: 241.7 kB / 436.9 MB, free: 4.617 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003323/0.2407, allocations: 75.88 kB / 436.9 MB, free: 4.543 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00405/0.2447, allocations: 3.731 MB / 440.7 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005352/0.2453, allocations: 67.81 kB / 440.7 MB, free: 476 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/0.2453, allocations: 15.98 kB / 440.7 MB, free: 460 kB / 302.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 (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 (36): * Single equations (assignments): 33 * 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.0001324/0.2454, allocations: 200.4 kB / 440.9 MB, free: 252 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.88e-05/0.2455, allocations: 47.38 kB / 441 MB, free: 204 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.2456, allocations: 44.02 kB / 441 MB, free: 164 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.2456, allocations: 7.984 kB / 441 MB, free: 156 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2456, allocations: 4 kB / 441 MB, free: 152 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2456, allocations: 0 / 441 MB, free: 152 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002784/0.2484, allocations: 1.127 MB / 442.2 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.2484, allocations: 0 / 442.2 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002672/0.2487, allocations: 55.89 kB / 442.2 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003337/0.2491, allocations: 164.8 kB / 442.4 MB, free: 14.74 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/0.2491, allocations: 7.984 kB / 442.4 MB, free: 14.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003209/0.2523, allocations: 2.011 MB / 444.4 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2523, allocations: 0 / 444.4 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002263/0.2546, allocations: 0.6837 MB / 445.1 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/0.2548, allocations: 156.4 kB / 445.2 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.467e-05/0.2549, allocations: 4 kB / 445.2 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004366/0.2553, allocations: 43.94 kB / 445.3 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.2554, allocations: 39.91 kB / 445.3 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.552e-05/0.2555, allocations: 11.98 kB / 445.3 MB, free: 11.6 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003648/0.2558, allocations: 319.1 kB / 445.7 MB, free: 11.29 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2558, allocations: 0 / 445.7 MB, free: 11.29 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008515/0.2567, allocations: 211.5 kB / 445.9 MB, free: 11.09 MB / 318.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 (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.0001505/0.2569, allocations: 108.4 kB / 446 MB, free: 10.97 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002389/0.2593, allocations: 1.238 MB / 447.2 MB, free: 9.652 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2593, allocations: 4.25 kB / 447.2 MB, free: 9.648 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006038/0.2599, allocations: 306.5 kB / 447.5 MB, free: 9.336 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005801/0.2605, allocations: 95.94 kB / 447.6 MB, free: 9.25 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.2619, allocations: 0.8078 MB / 448.4 MB, free: 8.406 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.2623, allocations: 0.8236 MB / 449.2 MB, free: 7.555 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002678/0.2626, allocations: 68.14 kB / 449.3 MB, free: 7.488 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.2627, allocations: 39.42 kB / 449.3 MB, free: 7.449 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2627, allocations: 0 / 449.3 MB, free: 7.449 MB / 318.1 MB Notification: Performance of Templates: time 0.01556/0.2783, allocations: 10.07 MB / 459.4 MB, free: 13.46 MB / 334.1 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 -s cvode -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic.pipe 2>&1)