Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.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.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") translateModel(PhotoVoltaics.Examples.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007804/0.0007803, allocations: 86.8 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.0009848/0.0009848, 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.255/1.255, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1506/0.1506, allocations: 5.378 MB / 296.5 MB, free: 3.996 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003136/0.0003136, allocations: 8 kB / 361.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09732/0.09765, allocations: 51.62 MB / 413.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.003221/0.1009, allocations: 2.907 MB / 416.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.1028, allocations: 1.169 MB / 417.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000288/0.1031, allocations: 4 kB / 417.6 MB, free: 6.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005133/0.1036, allocations: 202.9 kB / 417.8 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003539/0.104, allocations: 123.1 kB / 417.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.1042, allocations: 67.91 kB / 418 MB, free: 6.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005064/0.1047, allocations: 498 kB / 418.5 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/0.1049, allocations: 94.03 kB / 418.6 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002194/0.1051, allocations: 171.2 kB / 418.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002691/0.1054, allocations: 211.1 kB / 418.9 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.468e-05/0.1055, allocations: 24 kB / 419 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.03e-05/0.1056, allocations: 35.98 kB / 419 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.176e-05/0.1057, allocations: 79.66 kB / 419.1 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.179e-05/0.1057, allocations: 93.5 kB / 419.2 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003294/0.1061, allocations: 390.9 kB / 419.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1061, allocations: 4 kB / 419.6 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1061, allocations: 0 / 419.6 MB, free: 4.555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.1061, allocations: 0 / 419.6 MB, free: 4.555 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001593/0.1077, allocations: 0.7595 MB / 420.3 MB, free: 3.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.1077, allocations: 12.03 kB / 420.3 MB, free: 3.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.594e-05/0.1078, allocations: 39.53 kB / 420.4 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009597/0.1088, allocations: 487 kB / 420.8 MB, free: 3.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.1088, allocations: 16.56 kB / 420.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.67e-05/0.1089, allocations: 20 kB / 420.9 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005233/0.1094, allocations: 309.1 kB / 421.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1094, allocations: 4 kB / 421.2 MB, free: 2.824 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.1095, allocations: 11.95 kB / 421.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.1095, allocations: 8 kB / 421.2 MB, free: 2.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005408/0.11, allocations: 269.5 kB / 421.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.112, allocations: 1.286 MB / 422.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004664/0.1125, allocations: 283.5 kB / 423 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/0.1127, allocations: 128.8 kB / 423.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.1128, allocations: 4 kB / 423.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.1128, allocations: 34.52 kB / 423.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.1128, allocations: 0 / 423.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.1573/0.2701, allocations: 0.8384 MB / 424 MB, free: 45.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.2702, allocations: 51.91 kB / 424.1 MB, free: 45.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004314/0.2706, allocations: 387.6 kB / 424.5 MB, free: 45.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.2706, allocations: 31.52 kB / 424.5 MB, free: 45.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.828e-05/0.2707, allocations: 216 kB / 424.7 MB, free: 45.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.2708, allocations: 42.17 kB / 424.7 MB, free: 45.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.362e-05/0.2708, allocations: 0 / 424.7 MB, free: 45.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.482e-05/0.2708, allocations: 348.7 kB / 425.1 MB, free: 44.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000249/0.2711, allocations: 108.3 kB / 425.2 MB, free: 44.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.2714, allocations: 147.6 kB / 425.3 MB, free: 44.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/0.2716, allocations: 120 kB / 425.4 MB, free: 44.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2716, allocations: 0 / 425.4 MB, free: 44.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001802/0.2734, allocations: 0.6124 MB / 426.1 MB, free: 44.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.2735, allocations: 6.531 kB / 426.1 MB, free: 44.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2735, allocations: 0 / 426.1 MB, free: 44.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006855/0.2742, allocations: 267.8 kB / 426.3 MB, free: 44.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.2744, allocations: 37.91 kB / 426.4 MB, free: 44.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003852/0.2782, allocations: 3.561 MB / 429.9 MB, free: 42.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/0.2785, allocations: 43.48 kB / 430 MB, free: 42.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.2786, allocations: 10.12 kB / 430 MB, free: 42.16 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): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.2787, allocations: 148 kB / 430.1 MB, free: 42.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.025e-05/0.2788, allocations: 46.83 kB / 430.2 MB, free: 42.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.026e-05/0.2788, allocations: 26.59 kB / 430.2 MB, free: 42.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2788, allocations: 3.25 kB / 430.2 MB, free: 42.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.2788, allocations: 0 / 430.2 MB, free: 42.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2788, allocations: 0 / 430.2 MB, free: 42.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.2806, allocations: 0.9118 MB / 431.1 MB, free: 41.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2806, allocations: 0 / 431.1 MB, free: 41.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.817e-05/0.2807, allocations: 21.3 kB / 431.1 MB, free: 41.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002791/0.281, allocations: 178 kB / 431.3 MB, free: 41.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.281, allocations: 4 kB / 431.3 MB, free: 41.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002449/0.2835, allocations: 1.959 MB / 433.3 MB, free: 40.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2835, allocations: 3.391 kB / 433.3 MB, free: 40.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.285, allocations: 0.5504 MB / 433.8 MB, free: 40.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.2851, allocations: 133 kB / 433.9 MB, free: 40.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.25e-05/0.2851, allocations: 2.5 kB / 434 MB, free: 40.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.2854, allocations: 34.02 kB / 434 MB, free: 40.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.2854, allocations: 10.19 kB / 434 MB, free: 40.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.2854, allocations: 3.969 kB / 434 MB, free: 40.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002388/0.2857, allocations: 269.3 kB / 434.3 MB, free: 40 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2857, allocations: 0 / 434.3 MB, free: 40 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004174/0.2861, allocations: 90.38 kB / 434.3 MB, free: 40 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 9.504e-05/0.2862, allocations: 101.9 kB / 434.4 MB, free: 39.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007678/0.287, allocations: 0.4945 MB / 434.9 MB, free: 39.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.287, allocations: 0 / 434.9 MB, free: 39.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002533/0.2873, allocations: 210.5 kB / 435.1 MB, free: 39.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.2877, allocations: 83.95 kB / 435.2 MB, free: 39.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000901/0.2886, allocations: 0.6965 MB / 435.9 MB, free: 39.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/0.2888, allocations: 0.7769 MB / 436.7 MB, free: 38.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001572/0.289, allocations: 43.31 kB / 436.7 MB, free: 38.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.827e-05/0.289, allocations: 23.34 kB / 436.8 MB, free: 38.44 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.289, allocations: 0 / 436.8 MB, free: 38.44 MB / 350.1 MB Notification: Performance of Templates: time 0.007893/0.2969, allocations: 5.618 MB / 442.4 MB, free: 38.11 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.makefile Environment - environmentSimulation: (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe 2>&1) Environment - environmentSimulation: