Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.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.SimplePlantSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric") translateModel(PhotoVoltaics.Examples.SimplePlantSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00106/0.00106, allocations: 188.3 kB / 16.25 MB, free: 6.617 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.389/1.389, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1829/0.1829, allocations: 5.387 MB / 295.5 MB, free: 2.969 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 63.89 kB / 360.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1209, allocations: 50.6 MB / 411 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.004059/0.125, allocations: 3.555 MB / 414.5 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.1267, allocations: 1.266 MB / 415.8 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.1269, allocations: 4 kB / 415.8 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005053/0.1274, allocations: 198.9 kB / 416 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003037/0.1277, allocations: 147 kB / 416.1 MB, free: 6.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001618/0.1279, allocations: 103.8 kB / 416.2 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005216/0.1284, allocations: 0.6066 MB / 416.8 MB, free: 5.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002077/0.1286, allocations: 132.1 kB / 417 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002157/0.1288, allocations: 223.1 kB / 417.2 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002549/0.1291, allocations: 262.9 kB / 417.4 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.419e-05/0.1292, allocations: 59.94 kB / 417.5 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.1293, allocations: 67.98 kB / 417.6 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.93e-05/0.1294, allocations: 119.5 kB / 417.7 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001852/0.1296, allocations: 242.8 kB / 417.9 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004681/0.13, allocations: 0.5529 MB / 418.5 MB, free: 4.309 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.13, allocations: 0 / 418.5 MB, free: 4.309 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1301, allocations: 0 / 418.5 MB, free: 4.309 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.1301, allocations: 0 / 418.5 MB, free: 4.309 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001972/0.132, allocations: 0.8374 MB / 419.3 MB, free: 3.422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.1321, allocations: 11.97 kB / 419.3 MB, free: 3.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.1322, allocations: 48.38 kB / 419.4 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.1336, allocations: 0.5102 MB / 419.9 MB, free: 2.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.1336, allocations: 24.69 kB / 419.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.403e-05/0.1336, allocations: 24 kB / 419.9 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007817/0.1344, allocations: 361.3 kB / 420.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1345, allocations: 0 / 420.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.646e-05/0.1345, allocations: 12 kB / 420.3 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.1345, allocations: 8 kB / 420.3 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009518/0.1355, allocations: 369.9 kB / 420.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00229/0.1378, allocations: 1.421 MB / 422.1 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.1389, allocations: 450.2 kB / 422.5 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2063/0.3451, allocations: 156.9 kB / 422.7 MB, free: 48.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.94e-05/0.3453, allocations: 2.406 kB / 422.7 MB, free: 48.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.846e-05/0.3453, allocations: 36.41 kB / 422.7 MB, free: 48.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 4.228e-06/0.3453, allocations: 0 / 422.7 MB, free: 48.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.01017/0.3555, allocations: 1.029 MB / 423.7 MB, free: 48.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.3556, allocations: 54.72 kB / 423.8 MB, free: 48.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007611/0.3564, allocations: 387 kB / 424.2 MB, free: 48.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.795e-05/0.3565, allocations: 28.33 kB / 424.2 MB, free: 48.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/0.3567, allocations: 226 kB / 424.4 MB, free: 47.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.056e-05/0.3568, allocations: 72.62 kB / 424.5 MB, free: 47.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/0.357, allocations: 74.34 kB / 424.6 MB, free: 47.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.3571, allocations: 343.7 kB / 424.9 MB, free: 47.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006843/0.3578, allocations: 150.4 kB / 425 MB, free: 47.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006653/0.3585, allocations: 179.2 kB / 425.2 MB, free: 47.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.3599, allocations: 312 kB / 425.5 MB, free: 47.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/0.36, allocations: 4.438 kB / 425.5 MB, free: 47.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.007499/0.3675, allocations: 0.8218 MB / 426.4 MB, free: 47.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.3675, allocations: 7.344 kB / 426.4 MB, free: 47.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.3675, allocations: 7.312 kB / 426.4 MB, free: 47.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001927/0.3695, allocations: 334.3 kB / 426.7 MB, free: 47.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004429/0.3699, allocations: 54.34 kB / 426.7 MB, free: 47.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0127/0.3827, allocations: 4.319 MB / 431.1 MB, free: 44.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006387/0.3833, allocations: 55.7 kB / 431.1 MB, free: 44.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.002e-05/0.3834, allocations: 13.22 kB / 431.1 MB, free: 44.04 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 (31): * Single equations (assignments): 29 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002461/0.3837, allocations: 156.8 kB / 431.3 MB, free: 43.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.3838, allocations: 38.88 kB / 431.3 MB, free: 43.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.688e-05/0.3839, allocations: 36.73 kB / 431.4 MB, free: 43.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.3839, allocations: 7.219 kB / 431.4 MB, free: 43.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3839, allocations: 0 / 431.4 MB, free: 43.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.3839, allocations: 3.516 kB / 431.4 MB, free: 43.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005112/0.389, allocations: 1.175 MB / 432.5 MB, free: 43.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.3891, allocations: 3.938 kB / 432.5 MB, free: 43.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.3892, allocations: 41.8 kB / 432.6 MB, free: 43.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006155/0.3898, allocations: 257.3 kB / 432.8 MB, free: 43.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.761e-05/0.3899, allocations: 10.72 kB / 432.9 MB, free: 43.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006112/0.396, allocations: 2.557 MB / 435.4 MB, free: 41.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.396, allocations: 0 / 435.4 MB, free: 41.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003522/0.3995, allocations: 0.7729 MB / 436.2 MB, free: 41.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.3997, allocations: 136 kB / 436.3 MB, free: 41.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.199e-05/0.3998, allocations: 11.16 kB / 436.3 MB, free: 41.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003488/0.4001, allocations: 30.25 kB / 436.4 MB, free: 41.08 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.4002, allocations: 20.34 kB / 436.4 MB, free: 41.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.4002, allocations: 10.41 kB / 436.4 MB, free: 41.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002485/0.4005, allocations: 268.8 kB / 436.6 MB, free: 40.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4005, allocations: 0 / 436.6 MB, free: 40.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005585/0.401, allocations: 113.6 kB / 436.8 MB, free: 40.91 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 (18): * Single equations (assignments): 17 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001444/0.4012, allocations: 102.2 kB / 436.9 MB, free: 40.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.4026, allocations: 0.6071 MB / 437.5 MB, free: 40.49 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.4026, allocations: 4 kB / 437.5 MB, free: 40.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004933/0.4031, allocations: 282.2 kB / 437.7 MB, free: 40.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005646/0.4037, allocations: 85.39 kB / 437.8 MB, free: 40.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.4053, allocations: 0.8367 MB / 438.7 MB, free: 39.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/0.4055, allocations: 0.7901 MB / 439.5 MB, free: 39.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001963/0.4057, allocations: 42.62 kB / 439.5 MB, free: 39.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.976e-05/0.4058, allocations: 33.77 kB / 439.5 MB, free: 39.08 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4058, allocations: 6.531 kB / 439.5 MB, free: 39.08 MB / 350.1 MB Notification: Performance of Templates: time 0.01282/0.4186, allocations: 8.067 MB / 447.6 MB, free: 38.6 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe 2>&1)