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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.008706/0.008706, allocations: 173.9 kB / 16.27 MB, free: 6.676 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.474/1.474, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1709/0.1709, allocations: 5.378 MB / 296.8 MB, free: 3.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005611/0.0005612, allocations: 8 kB / 362.6 MB, free: 13.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1309, allocations: 51.6 MB / 414.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.003678/0.1346, allocations: 2.952 MB / 417.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002126/0.1367, allocations: 1.192 MB / 418.3 MB, free: 6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003563/0.1371, allocations: 4 kB / 418.3 MB, free: 5.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007146/0.1379, allocations: 210.9 kB / 418.6 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006698/0.1385, allocations: 115.2 kB / 418.7 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.1388, allocations: 103.9 kB / 418.8 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006765/0.1395, allocations: 498.1 kB / 419.3 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002729/0.1398, allocations: 111.9 kB / 419.4 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003282/0.1402, allocations: 167.2 kB / 419.5 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003764/0.1405, allocations: 203.1 kB / 419.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.123e-05/0.1406, allocations: 20 kB / 419.7 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.1408, allocations: 31.98 kB / 419.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.427e-05/0.1408, allocations: 71.66 kB / 419.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002475/0.1411, allocations: 212.6 kB / 420.1 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000571/0.1417, allocations: 466.2 kB / 420.5 MB, free: 3.816 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1417, allocations: 0 / 420.5 MB, free: 3.816 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1417, allocations: 4 kB / 420.5 MB, free: 3.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.86e-05/0.1417, allocations: 0 / 420.5 MB, free: 3.812 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.002107/0.1438, allocations: 0.7325 MB / 421.2 MB, free: 3.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.1439, allocations: 8.031 kB / 421.3 MB, free: 3.023 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.1441, allocations: 40.47 kB / 421.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.1452, allocations: 472 kB / 421.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.1453, allocations: 20.56 kB / 421.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.281e-05/0.1453, allocations: 16 kB / 421.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006543/0.146, allocations: 291.4 kB / 422.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.146, allocations: 0 / 422.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.844e-05/0.146, allocations: 8 kB / 422.1 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.649e-06/0.146, allocations: 7.938 kB / 422.1 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006673/0.1467, allocations: 264.9 kB / 422.3 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002407/0.1491, allocations: 1.292 MB / 423.6 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003952/0.1496, allocations: 162.5 kB / 423.8 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/0.1499, allocations: 112.8 kB / 423.9 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.1499, allocations: 0 / 423.9 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.15, allocations: 42.48 kB / 424 MB, free: 160 kB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.893e-06/0.15, allocations: 4 kB / 424 MB, free: 156 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.2185/0.3685, allocations: 274.7 kB / 424.2 MB, free: 45.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.3686, allocations: 51.41 kB / 424.3 MB, free: 45.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005106/0.3691, allocations: 371.2 kB / 424.6 MB, free: 45.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.3691, allocations: 26.89 kB / 424.7 MB, free: 45.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.3692, allocations: 213.3 kB / 424.9 MB, free: 45.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.3693, allocations: 28.91 kB / 424.9 MB, free: 45.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.3693, allocations: 25.78 kB / 424.9 MB, free: 45.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.197e-05/0.3694, allocations: 341.5 kB / 425.3 MB, free: 44.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002718/0.3697, allocations: 106.9 kB / 425.4 MB, free: 44.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002934/0.37, allocations: 141.9 kB / 425.5 MB, free: 44.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005626/0.3706, allocations: 225.3 kB / 425.7 MB, free: 44.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3706, allocations: 0 / 425.7 MB, free: 44.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009874/0.3716, allocations: 376.5 kB / 426.1 MB, free: 44.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.3716, allocations: 7.5 kB / 426.1 MB, free: 44.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.3716, allocations: 0 / 426.1 MB, free: 44.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004753/0.3721, allocations: 77.84 kB / 426.2 MB, free: 44.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/0.3724, allocations: 57.2 kB / 426.2 MB, free: 44.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/0.3737, allocations: 1.459 MB / 427.7 MB, free: 43.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000321/0.374, allocations: 40.08 kB / 427.7 MB, free: 43.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.374, allocations: 15.55 kB / 427.7 MB, free: 43.36 MB / 350.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: 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.0001505/0.3742, allocations: 143.2 kB / 427.9 MB, free: 43.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/0.3742, allocations: 33.62 kB / 427.9 MB, free: 43.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.638e-05/0.3743, allocations: 30.3 kB / 427.9 MB, free: 43.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.3743, allocations: 7.203 kB / 428 MB, free: 43.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.3743, allocations: 0 / 428 MB, free: 43.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3743, allocations: 0 / 428 MB, free: 43.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008249/0.3752, allocations: 0.6195 MB / 428.6 MB, free: 42.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3752, allocations: 0 / 428.6 MB, free: 42.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.3753, allocations: 39.62 kB / 428.6 MB, free: 42.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3754, allocations: 5.438 kB / 428.6 MB, free: 42.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.3754, allocations: 8.234 kB / 428.6 MB, free: 42.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3754, allocations: 0.5 kB / 428.6 MB, free: 42.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3754, allocations: 5.344 kB / 428.6 MB, free: 42.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004518/0.3758, allocations: 309.8 kB / 428.9 MB, free: 42.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.66e-05/0.3759, allocations: 123.5 kB / 429.1 MB, free: 42.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.794e-05/0.376, allocations: 3.938 kB / 429.1 MB, free: 42.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.3762, allocations: 26.81 kB / 429.1 MB, free: 42.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.3763, allocations: 3.062 kB / 429.1 MB, free: 42.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.3763, allocations: 6.344 kB / 429.1 MB, free: 42.63 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000248/0.3765, allocations: 259.4 kB / 429.3 MB, free: 42.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3765, allocations: 2.812 kB / 429.3 MB, free: 42.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003359/0.3769, allocations: 71.8 kB / 429.4 MB, free: 42.54 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: 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.0001204/0.377, allocations: 101.3 kB / 429.5 MB, free: 42.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007349/0.3778, allocations: 355.6 kB / 429.9 MB, free: 42.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.3778, allocations: 0 / 429.9 MB, free: 42.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.378, allocations: 88.58 kB / 429.9 MB, free: 42.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005679/0.3786, allocations: 75.5 kB / 430 MB, free: 42.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009292/0.3795, allocations: 0.6806 MB / 430.7 MB, free: 41.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.3797, allocations: 0.7722 MB / 431.5 MB, free: 41.22 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001969/0.3799, allocations: 42 kB / 431.5 MB, free: 41.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.655e-05/0.38, allocations: 27.8 kB / 431.5 MB, free: 41.21 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.38, allocations: 0 / 431.5 MB, free: 41.21 MB / 350.1 MB Notification: Performance of Templates: time 0.006913/0.3869, allocations: 3.388 MB / 434.9 MB, free: 41.04 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: