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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 182.2 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.166/1.166, allocations: 222.9 MB / 239.6 MB, free: 10.99 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.0009349/0.0009349, allocations: 101.7 kB / 289.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02413/0.02413, allocations: 5.401 MB / 345.4 MB, free: 3.539 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 50.98 kB / 410.2 MB, free: 57.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06692/0.06802, allocations: 50.62 MB / 460.8 MB, free: 7.016 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.00347/0.07153, allocations: 3.547 MB / 464.4 MB, free: 3.438 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.07309, allocations: 1.274 MB / 465.7 MB, free: 2.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002919/0.07342, allocations: 7.938 kB / 465.7 MB, free: 2.152 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005185/0.07395, allocations: 203 kB / 465.9 MB, free: 1.953 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000349/0.07431, allocations: 139 kB / 466 MB, free: 1.816 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.07448, allocations: 111.9 kB / 466.1 MB, free: 1.707 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004097/0.0749, allocations: 0.5681 MB / 466.7 MB, free: 1.137 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.07507, allocations: 108 kB / 466.8 MB, free: 1.023 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.07527, allocations: 207 kB / 467 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.07551, allocations: 242.9 kB / 467.2 MB, free: 0.582 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.615e-05/0.07557, allocations: 28 kB / 467.3 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.541e-05/0.07567, allocations: 32 kB / 467.3 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.442e-05/0.07573, allocations: 87.58 kB / 467.4 MB, free: 448 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.07588, allocations: 218.8 kB / 467.6 MB, free: 228 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000407/0.07629, allocations: 0.5255 MB / 468.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.07631, allocations: 3.938 kB / 468.1 MB, free: 15.69 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.07631, allocations: 4 kB / 468.1 MB, free: 15.69 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.07633, allocations: 0 / 468.1 MB, free: 15.69 MB / 314.7 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.001927/0.07826, allocations: 0.8335 MB / 469 MB, free: 14.8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.07831, allocations: 8.875 kB / 469 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.07841, allocations: 52.38 kB / 469 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.07961, allocations: 0.5102 MB / 469.5 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.07965, allocations: 28.62 kB / 469.6 MB, free: 14.17 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.003e-05/0.07969, allocations: 24 kB / 469.6 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006626/0.08036, allocations: 361.2 kB / 469.9 MB, free: 13.78 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.08038, allocations: 4 kB / 469.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/0.08042, allocations: 8 kB / 469.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.08043, allocations: 8 kB / 469.9 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000907/0.08135, allocations: 373.9 kB / 470.3 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002077/0.08343, allocations: 1.421 MB / 471.7 MB, free: 11.89 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009853/0.08443, allocations: 443.6 kB / 472.2 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004343/0.08488, allocations: 156.8 kB / 472.3 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.08491, allocations: 4.094 kB / 472.3 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.08495, allocations: 38.5 kB / 472.4 MB, free: 11.22 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 1.343e-06/0.08495, allocations: 4 kB / 472.4 MB, free: 11.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.005152/0.09011, allocations: 1.022 MB / 473.4 MB, free: 10.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.09015, allocations: 55.41 kB / 473.4 MB, free: 10.1 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003771/0.09054, allocations: 389.7 kB / 473.8 MB, free: 9.711 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.09057, allocations: 25.7 kB / 473.8 MB, free: 9.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.0907, allocations: 228.1 kB / 474.1 MB, free: 9.453 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.338e-05/0.09076, allocations: 70.94 kB / 474.1 MB, free: 9.383 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.09088, allocations: 73.58 kB / 474.2 MB, free: 9.305 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.09099, allocations: 350.7 kB / 474.6 MB, free: 8.953 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003945/0.09139, allocations: 147.9 kB / 474.7 MB, free: 8.809 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004027/0.09181, allocations: 179.6 kB / 474.9 MB, free: 8.621 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007421/0.09256, allocations: 313.4 kB / 475.2 MB, free: 8.305 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.09257, allocations: 0 / 475.2 MB, free: 8.305 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.003862/0.09644, allocations: 0.8278 MB / 476 MB, free: 7.465 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.09646, allocations: 4 kB / 476 MB, free: 7.461 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.09648, allocations: 7.938 kB / 476 MB, free: 7.453 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/0.09756, allocations: 329.4 kB / 476.3 MB, free: 7.125 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.09781, allocations: 59.91 kB / 476.4 MB, free: 7.066 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007469/0.1053, allocations: 3.954 MB / 480.4 MB, free: 2.832 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003926/0.1057, allocations: 55.72 kB / 480.4 MB, free: 2.777 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.1057, allocations: 15.98 kB / 480.4 MB, free: 2.762 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 (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.0001653/0.1059, allocations: 152 kB / 480.6 MB, free: 2.605 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.626e-05/0.106, allocations: 39.52 kB / 480.6 MB, free: 2.566 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.807e-05/0.1061, allocations: 51.53 kB / 480.7 MB, free: 2.516 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1061, allocations: 0 / 480.7 MB, free: 2.516 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.1061, allocations: 128 / 480.7 MB, free: 2.516 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1061, allocations: 0 / 480.7 MB, free: 2.516 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004015/0.1101, allocations: 1.179 MB / 481.8 MB, free: 1.273 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.1101, allocations: 3.938 kB / 481.8 MB, free: 1.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.1103, allocations: 35.91 kB / 481.9 MB, free: 1.234 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00061/0.1109, allocations: 252.6 kB / 482.1 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.1109, allocations: 7.984 kB / 482.1 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1448/0.2557, allocations: 2.359 MB / 484.5 MB, free: 31.8 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.2557, allocations: 0.5156 kB / 484.5 MB, free: 31.8 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004066/0.2598, allocations: 1.515 MB / 486 MB, free: 31.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.26, allocations: 135.7 kB / 486.1 MB, free: 30.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.238e-05/0.26, allocations: 5.75 kB / 486.1 MB, free: 30.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003242/0.2604, allocations: 32.81 kB / 486.2 MB, free: 30.95 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.047e-05/0.2604, allocations: 15.61 kB / 486.2 MB, free: 30.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.2605, allocations: 11.78 kB / 486.2 MB, free: 30.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003063/0.2608, allocations: 271.1 kB / 486.5 MB, free: 30.8 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.62e-07/0.2608, allocations: 3.969 kB / 486.5 MB, free: 30.8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006228/0.2614, allocations: 119.2 kB / 486.6 MB, free: 30.79 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 (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.0001196/0.2615, allocations: 99.28 kB / 486.7 MB, free: 30.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001252/0.2628, allocations: 0.5973 MB / 487.3 MB, free: 30.39 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2628, allocations: 0 / 487.3 MB, free: 30.39 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004828/0.2633, allocations: 276 kB / 487.6 MB, free: 30.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005314/0.2638, allocations: 88.67 kB / 487.6 MB, free: 30.21 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.2652, allocations: 0.9976 MB / 488.6 MB, free: 29.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.2654, allocations: 0.8013 MB / 489.4 MB, free: 28.88 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001784/0.2656, allocations: 47.27 kB / 489.5 MB, free: 28.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.688e-05/0.2657, allocations: 27.86 kB / 489.5 MB, free: 28.88 MB / 314.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2657, allocations: 0 / 489.5 MB, free: 28.88 MB / 314.7 MB Notification: Performance of Templates: time 0.01136/0.2771, allocations: 7.972 MB / 497.5 MB, free: 26.61 MB / 314.7 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)