Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.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.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") translateModel(PhotoVoltaics.Examples.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 111.6 kB / 16.37 MB, free: 6.348 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.001951/0.001951, allocations: 192.3 kB / 17.3 MB, free: 5.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.096/2.096, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.04126/0.04126, allocations: 5.408 MB / 296.6 MB, free: 9.512 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 55.91 kB / 413.4 MB, free: 22.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1463, allocations: 50.63 MB / 464 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.008455/0.1548, allocations: 4.385 MB / 468.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004558/0.1594, allocations: 1.585 MB / 470 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.1605, allocations: 11.94 kB / 470 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001608/0.1621, allocations: 304.9 kB / 470.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001261/0.1635, allocations: 234.4 kB / 470.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006593/0.1642, allocations: 211.6 kB / 470.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02482/0.189, allocations: 25.69 MB / 496.4 MB, free: 3.387 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01303/0.2021, allocations: 7.947 MB / 0.4926 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01772/0.2199, allocations: 9.337 MB / 0.5017 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3986/0.6186, allocations: 10.84 MB / 0.5123 GB, free: 21.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01713/0.6358, allocations: 2.704 MB / 0.5149 GB, free: 21.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01928/0.6551, allocations: 2.715 MB / 0.5176 GB, free: 21.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01654/0.6718, allocations: 5.125 MB / 0.5226 GB, free: 19.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02608/0.6979, allocations: 9.526 MB / 0.5319 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03716/0.7351, allocations: 28.89 MB / 0.5601 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.157e-05/0.7352, allocations: 0 / 0.5601 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.7352, allocations: 0 / 0.5601 GB, free: 10.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0009897/0.7362, allocations: 3.156 kB / 0.5601 GB, free: 10.8 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2129 * Number of variables: 2129 Notification: Performance of Generate backend data structure: time 0.1506/0.8868, allocations: 31.41 MB / 0.5908 GB, free: 12.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.521e-05/0.8869, allocations: 8.031 kB / 0.5908 GB, free: 12.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01976/0.9067, allocations: 1.46 MB / 0.5922 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09805/1.005, allocations: 18.94 MB / 0.6107 GB, free: 8.211 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001197/1.006, allocations: 0.6295 MB / 0.6113 GB, free: 7.578 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007216/1.013, allocations: 0.8203 MB / 0.6121 GB, free: 6.758 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05588/1.069, allocations: 15.67 MB / 0.6274 GB, free: 6.621 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000645/1.07, allocations: 26.16 kB / 0.6274 GB, free: 6.609 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005871/1.076, allocations: 348 kB / 0.6278 GB, free: 6.27 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002984/1.076, allocations: 212 kB / 0.628 GB, free: 6.062 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05351/1.13, allocations: 17.59 MB / 0.6451 GB, free: 4.57 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.027/2.156, allocations: 57.25 MB / 0.7011 GB, free: 138.7 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07145/2.228, allocations: 21.36 MB / 0.7219 GB, free: 132.4 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02626/2.254, allocations: 7.449 MB / 0.7292 GB, free: 130.1 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005817/2.255, allocations: 69.61 kB / 0.7293 GB, free: 130.1 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/2.255, allocations: 77.14 kB / 0.7293 GB, free: 130 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=448): time 3.302e-05/2.255, allocations: 3.812 kB / 0.7293 GB, free: 130 MB / 0.5138 GB Notification: Performance of matching and sorting (n=448): time 0.2061/2.461, allocations: 36.3 MB / 0.7648 GB, free: 110 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/2.462, allocations: 102.9 kB / 0.7649 GB, free: 109.9 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06035/2.522, allocations: 15.18 MB / 0.7797 GB, free: 94.96 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.003062/2.525, allocations: 113.7 kB / 0.7798 GB, free: 94.84 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.01671/2.542, allocations: 6.086 MB / 0.7858 GB, free: 89.88 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.005772/2.548, allocations: 1.59 MB / 0.7873 GB, free: 88.33 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02023/2.568, allocations: 2.089 MB / 0.7893 GB, free: 86.23 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 7.99e-05/2.568, allocations: 305.1 kB / 0.7896 GB, free: 85.93 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02966/2.598, allocations: 7.648 MB / 0.7971 GB, free: 78.27 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03225/2.63, allocations: 8.833 MB / 0.8057 GB, free: 69.11 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06002/2.69, allocations: 14.4 MB / 0.8198 GB, free: 54.37 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.429e-05/2.69, allocations: 8 kB / 0.8198 GB, free: 54.36 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.2335/2.924, allocations: 39.93 MB / 0.8588 GB, free: 14.18 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.443e-05/2.924, allocations: 19.94 kB / 0.8588 GB, free: 14.16 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-05/2.924, allocations: 29.25 kB / 0.8589 GB, free: 14.13 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09199/3.016, allocations: 26.01 MB / 0.8842 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01426/3.03, allocations: 1.5 MB / 0.8857 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137/4.168, allocations: 202.8 MB / 1.084 GB, free: 17.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02828/4.196, allocations: 2.562 MB / 1.086 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004215/4.201, allocations: 379.7 kB / 1.087 GB, free: 15.45 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * 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 (840): * Single equations (assignments): 791 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 48 * 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): 48 systems {2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 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 {(47,200)} Notification: Performance of prepare postOptimizeDAE: time 0.0157/4.216, allocations: 4.519 MB / 1.091 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006877/4.223, allocations: 1.163 MB / 1.092 GB, free: 9.883 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5711/4.794, allocations: 31.8 MB / 1.123 GB, free: 163 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.985e-05/4.795, allocations: 43.34 kB / 1.123 GB, free: 163 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/4.795, allocations: 3.969 kB / 1.123 GB, free: 163 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001574/4.795, allocations: 22.55 kB / 1.123 GB, free: 163 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1669/4.962, allocations: 46.46 MB / 1.169 GB, free: 156.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.415e-05/4.962, allocations: 0 / 1.169 GB, free: 156.2 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002151/4.964, allocations: 458.8 kB / 1.169 GB, free: 156.2 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02698/4.991, allocations: 15.46 MB / 1.184 GB, free: 149.5 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00194/4.993, allocations: 110.4 kB / 1.184 GB, free: 149.4 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5436/5.536, allocations: 114.9 MB / 1.297 GB, free: 34.99 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.088e-05/5.537, allocations: 0 / 1.297 GB, free: 34.99 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1882/5.725, allocations: 30.88 MB / 1.327 GB, free: 4.395 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.5412/6.266, allocations: 2.652 MB / 1.329 GB, free: 159.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009987/6.276, allocations: 72.19 kB / 1.329 GB, free: 159.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02588/6.302, allocations: 1.403 MB / 1.331 GB, free: 159.3 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00195/6.304, allocations: 272 kB / 1.331 GB, free: 159.3 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002322/6.306, allocations: 147.3 kB / 1.331 GB, free: 159.3 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.05173/6.358, allocations: 10.49 MB / 1.341 GB, free: 159 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.783e-06/6.358, allocations: 0 / 1.341 GB, free: 159 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.0384/6.397, allocations: 3.712 MB / 1.345 GB, free: 159 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (250): * Single equations (assignments): 249 * 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 {(48,154)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003023/6.4, allocations: 195.6 kB / 1.345 GB, free: 158.9 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.1547/6.554, allocations: 33.13 MB / 1.378 GB, free: 148.4 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/6.554, allocations: 3.812 kB / 1.378 GB, free: 148.4 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.09436/6.649, allocations: 17.28 MB / 1.394 GB, free: 143.7 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03705/6.686, allocations: 3.125 MB / 1.397 GB, free: 141.1 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1308/6.817, allocations: 29.69 MB / 1.426 GB, free: 114.6 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02708/6.844, allocations: 8.659 MB / 1.435 GB, free: 105.9 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005486/6.85, allocations: 0.6673 MB / 1.436 GB, free: 105.2 MB / 0.5607 GB Notification: Performance of SimCode: time 2.224e-06/6.85, allocations: 0 / 1.436 GB, free: 105.2 MB / 0.5607 GB Notification: Performance of Templates: time 7.68/14.53, allocations: 2.014 GB / 3.45 GB, free: 92.24 MB / 0.6232 GB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe 2>&1)