Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(PhotoVoltaics.Examples.SimpleCellVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource") translateModel(PhotoVoltaics.Examples.SimpleCellVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.165/1.165, allocations: 222.9 MB / 239.7 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009503/0.0009503, allocations: 92.28 kB / 289.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02426/0.02426, allocations: 5.397 MB / 345.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 58.91 kB / 410.2 MB, free: 57.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07732/0.07842, allocations: 50.63 MB / 460.9 MB, free: 7.008 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.003704/0.08217, allocations: 3.316 MB / 464.2 MB, free: 3.664 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.08376, allocations: 1.223 MB / 465.4 MB, free: 2.438 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003134/0.08412, allocations: 4 kB / 465.4 MB, free: 2.434 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000594/0.08473, allocations: 203 kB / 465.6 MB, free: 2.234 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003548/0.0851, allocations: 119.2 kB / 465.7 MB, free: 2.117 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001529/0.08527, allocations: 95.91 kB / 465.8 MB, free: 2.023 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003485/0.08562, allocations: 0.4942 MB / 466.3 MB, free: 1.527 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.0858, allocations: 111.8 kB / 466.4 MB, free: 1.414 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.08593, allocations: 163.3 kB / 466.6 MB, free: 1.254 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.08612, allocations: 223 kB / 466.8 MB, free: 1.035 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.403e-05/0.08617, allocations: 24 kB / 466.8 MB, free: 1.012 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.015e-05/0.08625, allocations: 28 kB / 466.8 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.064e-05/0.08631, allocations: 83.66 kB / 466.9 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.08644, allocations: 194.9 kB / 467.1 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002842/0.08673, allocations: 482.4 kB / 467.6 MB, free: 244 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.08674, allocations: 0 / 467.6 MB, free: 244 kB / 298.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.08675, allocations: 0 / 467.6 MB, free: 244 kB / 298.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.08676, allocations: 0 / 467.6 MB, free: 244 kB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001669/0.08843, allocations: 0.7791 MB / 468.4 MB, free: 15.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.08847, allocations: 8.875 kB / 468.4 MB, free: 15.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.698e-05/0.08856, allocations: 44.41 kB / 468.4 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008223/0.08939, allocations: 460 kB / 468.9 MB, free: 14.87 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.08942, allocations: 20.56 kB / 468.9 MB, free: 14.85 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.649e-05/0.08946, allocations: 16 kB / 468.9 MB, free: 14.83 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004757/0.08994, allocations: 287.4 kB / 469.2 MB, free: 14.53 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.08996, allocations: 0 / 469.2 MB, free: 14.53 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.08999, allocations: 11.94 kB / 469.2 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.09, allocations: 8 kB / 469.2 MB, free: 14.51 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005247/0.09053, allocations: 228.9 kB / 469.4 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/0.09246, allocations: 1.262 MB / 470.7 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000353/0.09283, allocations: 142.5 kB / 470.8 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002677/0.0931, allocations: 96.8 kB / 470.9 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.09314, allocations: 4 kB / 470.9 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.09316, allocations: 34.56 kB / 471 MB, free: 12.65 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.09317, allocations: 4 kB / 471 MB, free: 12.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006622/0.09384, allocations: 245.1 kB / 471.2 MB, free: 12.4 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.09388, allocations: 55.41 kB / 471.3 MB, free: 12.33 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003485/0.09424, allocations: 365.7 kB / 471.6 MB, free: 11.97 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.09427, allocations: 33.7 kB / 471.6 MB, free: 11.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.09439, allocations: 211.9 kB / 471.8 MB, free: 11.72 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.09443, allocations: 31.55 kB / 471.9 MB, free: 11.69 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.048e-05/0.09452, allocations: 45.69 kB / 471.9 MB, free: 11.64 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.09464, allocations: 350.7 kB / 472.3 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.09488, allocations: 91.94 kB / 472.4 MB, free: 11.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.09513, allocations: 135.2 kB / 472.5 MB, free: 11.05 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004811/0.09562, allocations: 202.2 kB / 472.7 MB, free: 10.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.09564, allocations: 0 / 472.7 MB, free: 10.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008976/0.09654, allocations: 345.9 kB / 473 MB, free: 10.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.09657, allocations: 8 kB / 473 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.09658, allocations: 0 / 473 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004504/0.09703, allocations: 76.78 kB / 473.1 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/0.09733, allocations: 59.88 kB / 473.2 MB, free: 10.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/0.09862, allocations: 1.463 MB / 474.6 MB, free: 8.746 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/0.09892, allocations: 35.73 kB / 474.7 MB, free: 8.711 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.09895, allocations: 4 kB / 474.7 MB, free: 8.707 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001312/0.09909, allocations: 153.7 kB / 474.8 MB, free: 8.547 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.799e-05/0.09915, allocations: 31.56 kB / 474.8 MB, free: 8.516 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.222e-05/0.09921, allocations: 35.09 kB / 474.9 MB, free: 8.477 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.09922, allocations: 0 / 474.9 MB, free: 8.477 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.09923, allocations: 3.938 kB / 474.9 MB, free: 8.473 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.09923, allocations: 0 / 474.9 MB, free: 8.473 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008857/0.1001, allocations: 0.5928 MB / 475.5 MB, free: 7.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1001, allocations: 3.938 kB / 475.5 MB, free: 7.816 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.1003, allocations: 27.97 kB / 475.5 MB, free: 7.789 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1003, allocations: 4 kB / 475.5 MB, free: 7.785 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.1003, allocations: 3.984 kB / 475.5 MB, free: 7.781 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1004, allocations: 0 / 475.5 MB, free: 7.781 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1004, allocations: 48 / 475.5 MB, free: 7.781 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000862/0.1012, allocations: 0.9665 MB / 476.5 MB, free: 6.754 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.1013, allocations: 120.7 kB / 476.6 MB, free: 6.617 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.1014, allocations: 8 kB / 476.6 MB, free: 6.609 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.1016, allocations: 15.98 kB / 476.6 MB, free: 6.594 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.1016, allocations: 11.86 kB / 476.6 MB, free: 6.582 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.1017, allocations: 4 kB / 476.6 MB, free: 6.578 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002363/0.1019, allocations: 259.2 kB / 476.9 MB, free: 6.328 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-07/0.1019, allocations: 0 / 476.9 MB, free: 6.328 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004092/0.1023, allocations: 67.84 kB / 477 MB, free: 6.262 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001159/0.1024, allocations: 111.2 kB / 477.1 MB, free: 6.145 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007042/0.1032, allocations: 335.4 kB / 477.4 MB, free: 5.801 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1032, allocations: 0 / 477.4 MB, free: 5.801 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.1034, allocations: 76.08 kB / 477.5 MB, free: 5.727 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005359/0.1039, allocations: 61.47 kB / 477.5 MB, free: 5.664 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.1049, allocations: 0.767 MB / 478.3 MB, free: 4.859 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.1052, allocations: 0.7757 MB / 479.1 MB, free: 4.059 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001898/0.1054, allocations: 46.94 kB / 479.1 MB, free: 4.016 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.351e-05/0.1055, allocations: 31.42 kB / 479.2 MB, free: 3.984 MB / 314.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1055, allocations: 0 / 479.2 MB, free: 3.984 MB / 314.7 MB Notification: Performance of Templates: time 0.006601/0.1121, allocations: 3.525 MB / 482.7 MB, free: 0.5156 MB / 314.7 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe 2>&1)