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.00113/0.00113, allocations: 111.5 kB / 16.37 MB, free: 5.539 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.001133/0.001133, allocations: 192 kB / 17.31 MB, free: 5.18 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02668/0.02668, allocations: 5.394 MB / 296.6 MB, free: 9.48 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 63.91 kB / 362.4 MB, free: 7.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1928, allocations: 50.62 MB / 413 MB, free: 29.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.003365/0.1962, allocations: 3.507 MB / 416.5 MB, free: 25.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.1975, allocations: 1.293 MB / 417.8 MB, free: 24.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.1976, allocations: 4 kB / 417.8 MB, free: 24.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004333/0.1981, allocations: 218.7 kB / 418 MB, free: 24.24 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000275/0.1984, allocations: 166.7 kB / 418.2 MB, free: 24.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001488/0.1985, allocations: 115.9 kB / 418.3 MB, free: 23.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003691/0.1989, allocations: 0.6031 MB / 418.9 MB, free: 23.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.1991, allocations: 128.1 kB / 419 MB, free: 23.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.1992, allocations: 219.1 kB / 419.2 MB, free: 23.01 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.1995, allocations: 266.9 kB / 419.5 MB, free: 22.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.624e-05/0.1995, allocations: 56 kB / 419.5 MB, free: 22.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.113e-05/0.1996, allocations: 67.98 kB / 419.6 MB, free: 22.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.777e-05/0.1997, allocations: 115.5 kB / 419.7 MB, free: 22.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.1999, allocations: 246.8 kB / 420 MB, free: 22.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003391/0.2002, allocations: 0.5566 MB / 420.5 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2002, allocations: 0 / 420.5 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2002, allocations: 0 / 420.5 MB, free: 21.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.2002, allocations: 4 kB / 420.5 MB, free: 21.71 MB / 302.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.001659/0.2019, allocations: 0.8374 MB / 421.4 MB, free: 20.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.826e-05/0.2019, allocations: 8.031 kB / 421.4 MB, free: 20.81 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.772e-05/0.202, allocations: 48.38 kB / 421.4 MB, free: 20.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.2032, allocations: 0.5141 MB / 421.9 MB, free: 20.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.2032, allocations: 24.67 kB / 422 MB, free: 20.19 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.905e-05/0.2033, allocations: 28 kB / 422 MB, free: 20.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006255/0.2039, allocations: 357.3 kB / 422.3 MB, free: 19.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.2039, allocations: 3.938 kB / 422.3 MB, free: 19.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.051e-05/0.2039, allocations: 12 kB / 422.3 MB, free: 19.78 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.922e-06/0.204, allocations: 4 kB / 422.4 MB, free: 19.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008491/0.2048, allocations: 373.9 kB / 422.7 MB, free: 19.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001959/0.2068, allocations: 1.406 MB / 424.1 MB, free: 17.92 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009568/0.2077, allocations: 443.5 kB / 424.6 MB, free: 17.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004105/0.2082, allocations: 160.8 kB / 424.7 MB, free: 17.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.2082, allocations: 8 kB / 424.7 MB, free: 17.29 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.2082, allocations: 34.56 kB / 424.8 MB, free: 17.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.964e-06/0.2082, allocations: 0 / 424.8 MB, free: 17.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.005283/0.2135, allocations: 1.023 MB / 425.8 MB, free: 16.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.021e-05/0.2136, allocations: 59.34 kB / 425.8 MB, free: 16.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003289/0.2139, allocations: 397.5 kB / 426.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.2139, allocations: 29.7 kB / 426.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.366e-05/0.214, allocations: 224.2 kB / 426.5 MB, free: 15.47 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.2141, allocations: 74.94 kB / 426.5 MB, free: 15.4 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.2142, allocations: 69.58 kB / 426.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.301e-05/0.2142, allocations: 350.7 kB / 427 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003724/0.2146, allocations: 147.9 kB / 427.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003706/0.215, allocations: 183.5 kB / 427.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006858/0.2157, allocations: 306.3 kB / 427.6 MB, free: 14.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2157, allocations: 0 / 427.6 MB, free: 14.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.003858/0.2196, allocations: 0.8279 MB / 428.4 MB, free: 13.49 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.2196, allocations: 4 kB / 428.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2196, allocations: 4 kB / 428.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.2206, allocations: 333.4 kB / 428.7 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.2209, allocations: 59.91 kB / 428.8 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007178/0.2281, allocations: 4.319 MB / 433.1 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004637/0.2286, allocations: 47.66 kB / 433.2 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.2286, allocations: 16.09 kB / 433.2 MB, free: 8.422 MB / 302.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.0001567/0.2288, allocations: 149.8 kB / 433.3 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.324e-05/0.2288, allocations: 47.59 kB / 433.4 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.127e-05/0.2289, allocations: 39.59 kB / 433.4 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2289, allocations: 7.938 kB / 433.4 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.2289, allocations: 0 / 433.4 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2289, allocations: 3.984 kB / 433.4 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003944/0.2329, allocations: 1.176 MB / 434.6 MB, free: 6.926 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2329, allocations: 0 / 434.6 MB, free: 6.926 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.233, allocations: 31.98 kB / 434.6 MB, free: 6.895 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005891/0.2336, allocations: 252.7 kB / 434.9 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.2337, allocations: 7.984 kB / 434.9 MB, free: 6.637 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005777/0.2395, allocations: 2.554 MB / 437.4 MB, free: 3.941 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2395, allocations: 0 / 437.4 MB, free: 3.941 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004162/0.2436, allocations: 0.7773 MB / 438.2 MB, free: 3.141 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.2438, allocations: 144.7 kB / 438.4 MB, free: 2.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.969e-05/0.2439, allocations: 7.938 kB / 438.4 MB, free: 2.973 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004274/0.2443, allocations: 27.95 kB / 438.4 MB, free: 2.945 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.2443, allocations: 23.88 kB / 438.4 MB, free: 2.922 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.2444, allocations: 15.98 kB / 438.4 MB, free: 2.906 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002308/0.2446, allocations: 271.2 kB / 438.7 MB, free: 2.645 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2446, allocations: 4 kB / 438.7 MB, free: 2.641 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004827/0.2451, allocations: 107.8 kB / 438.8 MB, free: 2.535 MB / 302.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.0001039/0.2452, allocations: 111.6 kB / 438.9 MB, free: 2.414 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001193/0.2464, allocations: 0.6083 MB / 439.5 MB, free: 1.781 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.2464, allocations: 0 / 439.5 MB, free: 1.781 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000506/0.247, allocations: 282.5 kB / 439.8 MB, free: 1.492 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004954/0.2475, allocations: 85.45 kB / 439.9 MB, free: 1.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.2487, allocations: 0.6965 MB / 440.6 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.249, allocations: 0.7884 MB / 441.4 MB, free: 15.87 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001588/0.2492, allocations: 51.25 kB / 441.4 MB, free: 15.82 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.387e-05/0.2493, allocations: 23.44 kB / 441.4 MB, free: 15.8 MB / 318.1 MB Notification: Performance of SimCode: time 1.793e-06/0.2493, allocations: 3.938 kB / 441.4 MB, free: 15.8 MB / 318.1 MB Notification: Performance of Templates: time 0.01332/0.2626, allocations: 8.155 MB / 449.6 MB, free: 7.688 MB / 318.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 -s cvode -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe 2>&1)