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.001727/0.001728, allocations: 109.3 kB / 15.7 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002768/0.002768, allocations: 196.5 kB / 16.63 MB, free: 6.609 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.405/1.405, allocations: 222.9 MB / 240.3 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1559/0.1559, allocations: 5.393 MB / 295.9 MB, free: 2.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 71.89 kB / 412.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2613, allocations: 50.61 MB / 463.3 MB, free: 21.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.003825/0.2652, allocations: 3.378 MB / 466.7 MB, free: 19.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.2667, allocations: 1.265 MB / 468 MB, free: 18.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.2669, allocations: 8.344 kB / 468 MB, free: 18.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005221/0.2674, allocations: 214.9 kB / 468.2 MB, free: 18.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003144/0.2678, allocations: 145.8 kB / 468.3 MB, free: 18.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.268, allocations: 120.2 kB / 468.5 MB, free: 18.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005377/0.2686, allocations: 0.5635 MB / 469 MB, free: 17.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002324/0.2688, allocations: 129.7 kB / 469.1 MB, free: 17.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002359/0.2691, allocations: 209.8 kB / 469.4 MB, free: 17.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003181/0.2694, allocations: 250.8 kB / 469.6 MB, free: 17.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.579e-05/0.2695, allocations: 52.25 kB / 469.6 MB, free: 17.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.2696, allocations: 59.02 kB / 469.7 MB, free: 17.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.2697, allocations: 111.9 kB / 469.8 MB, free: 17.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000214/0.2699, allocations: 222 kB / 470 MB, free: 17.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000634/0.2706, allocations: 0.5239 MB / 470.6 MB, free: 17.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.2706, allocations: 4.609 kB / 470.6 MB, free: 17.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.2706, allocations: 0 / 470.6 MB, free: 17.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.2706, allocations: 0 / 470.6 MB, free: 17.04 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.001944/0.2725, allocations: 0.8109 MB / 471.4 MB, free: 16.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.2726, allocations: 10.12 kB / 471.4 MB, free: 16.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.069e-05/0.2727, allocations: 45.67 kB / 471.4 MB, free: 16.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.2737, allocations: 491.7 kB / 471.9 MB, free: 16.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.2738, allocations: 22.31 kB / 471.9 MB, free: 16.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.493e-05/0.2738, allocations: 19.22 kB / 471.9 MB, free: 16.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005597/0.2744, allocations: 297.5 kB / 472.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.2744, allocations: 4 kB / 472.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.2744, allocations: 10.25 kB / 472.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.2744, allocations: 6.031 kB / 472.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006094/0.2751, allocations: 245.1 kB / 472.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00206/0.2771, allocations: 1.262 MB / 473.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004874/0.2776, allocations: 264.3 kB / 474 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/0.2779, allocations: 117.4 kB / 474.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.278, allocations: 1.375 kB / 474.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.278, allocations: 33.02 kB / 474.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.774e-06/0.278, allocations: 1.5 kB / 474.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.003443/0.2815, allocations: 0.7315 MB / 474.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.2815, allocations: 53.55 kB / 475 MB, free: 14.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005447/0.2821, allocations: 388.2 kB / 475.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.2821, allocations: 31.02 kB / 475.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.2823, allocations: 220.2 kB / 475.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.2823, allocations: 39.45 kB / 475.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.2824, allocations: 56.12 kB / 475.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.283e-05/0.2825, allocations: 345.2 kB / 476 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.2828, allocations: 98.23 kB / 476.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/0.2831, allocations: 140.6 kB / 476.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004757/0.2835, allocations: 213.5 kB / 476.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2836, allocations: 0 / 476.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.002137/0.2857, allocations: 0.5556 MB / 477 MB, free: 13.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.2857, allocations: 5.906 kB / 477 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2857, allocations: 5.281 kB / 477 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008562/0.2866, allocations: 238.4 kB / 477.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.2868, allocations: 37.16 kB / 477.3 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004702/0.2915, allocations: 3.798 MB / 481.1 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003891/0.2919, allocations: 40.38 kB / 481.1 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.292, allocations: 9.625 kB / 481.1 MB, free: 9.641 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 (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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001622/0.2921, allocations: 145.8 kB / 481.3 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.524e-05/0.2922, allocations: 39.27 kB / 481.3 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.902e-05/0.2923, allocations: 40.22 kB / 481.3 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2923, allocations: 2.312 kB / 481.4 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.2923, allocations: 0 / 481.4 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2923, allocations: 4 kB / 481.4 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002078/0.2944, allocations: 0.8464 MB / 482.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2944, allocations: 0 / 482.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.048e-05/0.2945, allocations: 21.48 kB / 482.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003355/0.2948, allocations: 162.8 kB / 482.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.2949, allocations: 1.219 kB / 482.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00297/0.2978, allocations: 2.016 MB / 484.4 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2979, allocations: 0 / 484.4 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/0.2995, allocations: 0.505 MB / 484.9 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.2997, allocations: 127.1 kB / 485 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.301e-05/0.2997, allocations: 5.344 kB / 485 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/0.3, allocations: 20.89 kB / 485.1 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.3, allocations: 8.234 kB / 485.1 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.3001, allocations: 10.72 kB / 485.1 MB, free: 6.438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000264/0.3003, allocations: 269.2 kB / 485.3 MB, free: 6.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3003, allocations: 4 kB / 485.3 MB, free: 6.266 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004952/0.3008, allocations: 89.16 kB / 485.4 MB, free: 6.254 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 (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.000119/0.301, allocations: 108 kB / 485.5 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009095/0.3019, allocations: 483.9 kB / 486 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.3019, allocations: 0 / 486 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002843/0.3022, allocations: 201.4 kB / 486.2 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005206/0.3027, allocations: 88.03 kB / 486.3 MB, free: 5.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.3039, allocations: 0.5888 MB / 486.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.3041, allocations: 0.7849 MB / 487.7 MB, free: 4.449 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001388/0.3042, allocations: 40.52 kB / 487.7 MB, free: 4.426 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.586e-05/0.3043, allocations: 33.23 kB / 487.7 MB, free: 4.41 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3043, allocations: 0 / 487.7 MB, free: 4.41 MB / 350.1 MB Notification: Performance of Templates: time 0.01012/0.3144, allocations: 6.176 MB / 493.9 MB, free: 1.309 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.makefile (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)