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.001284/0.001284, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001624/0.001624, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1714/0.1714, allocations: 5.377 MB / 296.4 MB, free: 3.918 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.0003429, allocations: 8 kB / 361.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1378, allocations: 51.6 MB / 413.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.005728/0.1436, allocations: 3.562 MB / 417 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0038/0.1475, allocations: 1.513 MB / 418.5 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005514/0.1481, allocations: 8 kB / 418.5 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006645/0.1487, allocations: 246.7 kB / 418.7 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008472/0.1496, allocations: 287.3 kB / 419 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004886/0.1501, allocations: 127.7 kB / 419.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2905/0.4406, allocations: 22.43 MB / 441.6 MB, free: 38.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0086/0.4493, allocations: 5.631 MB / 447.2 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01759/0.4669, allocations: 5.993 MB / 453.2 MB, free: 34.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02041/0.4874, allocations: 7.682 MB / 460.9 MB, free: 31.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007014/0.4945, allocations: 0.8161 MB / 461.7 MB, free: 31.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01018/0.5047, allocations: 0.8165 MB / 462.5 MB, free: 31.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006811/0.5115, allocations: 2.74 MB / 465.2 MB, free: 30.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009882/0.5215, allocations: 2.731 MB / 468 MB, free: 28.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02846/0.55, allocations: 22.7 MB / 490.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.55, allocations: 0 / 490.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.55, allocations: 4 kB / 490.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.001048/0.5511, allocations: 0.5625 kB / 490.7 MB, free: 12.85 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: 2129 * Number of variables: 2129 Notification: Performance of Generate backend data structure: time 0.09766/0.6487, allocations: 28.12 MB / 0.5066 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.6488, allocations: 8.031 kB / 0.5066 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01069/0.6595, allocations: 1.451 MB / 0.5081 GB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06837/0.7279, allocations: 18.67 MB / 0.5263 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008887/0.7288, allocations: 0.6256 MB / 0.5269 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004819/0.7337, allocations: 0.8171 MB / 0.5277 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05349/0.7872, allocations: 15.75 MB / 0.5431 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003398/0.7876, allocations: 27.75 kB / 0.5431 GB, free: 10.6 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005126/0.7927, allocations: 344 kB / 0.5434 GB, free: 10.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002052/0.7929, allocations: 212 kB / 0.5436 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04393/0.8369, allocations: 17.94 MB / 0.5612 GB, free: 8.09 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6202/1.457, allocations: 57.95 MB / 0.6178 GB, free: 71.15 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03764/1.495, allocations: 21.94 MB / 0.6392 GB, free: 61.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002952/1.495, allocations: 73.98 kB / 0.6393 GB, free: 61.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.881e-05/1.495, allocations: 77.42 kB / 0.6393 GB, free: 60.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=448): time 6.312e-06/1.495, allocations: 3.812 kB / 0.6393 GB, free: 60.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=448): time 0.1096/1.605, allocations: 37.85 MB / 0.6763 GB, free: 46.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/1.605, allocations: 101.5 kB / 0.6764 GB, free: 46.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0304/1.635, allocations: 15.08 MB / 0.6911 GB, free: 35.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002235/1.638, allocations: 114.3 kB / 0.6912 GB, free: 34.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.01002/1.648, allocations: 6.081 MB / 0.6972 GB, free: 29.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003608/1.651, allocations: 1.58 MB / 0.6987 GB, free: 27.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002788/1.654, allocations: 179.8 kB / 0.6989 GB, free: 27.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0007058/1.655, allocations: 0.6659 MB / 0.6995 GB, free: 26.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0161/1.671, allocations: 7.816 MB / 0.7072 GB, free: 19.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01741/1.688, allocations: 8.957 MB / 0.7159 GB, free: 9.797 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01759/1.706, allocations: 8.566 MB / 0.7243 GB, free: 1.184 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.843e-05/1.706, allocations: 8 kB / 0.7243 GB, free: 1.176 MB / 446.1 MB Notification: Performance of matching and sorting (n=1131) (initialization): time 0.1438/1.85, allocations: 41.24 MB / 0.7646 GB, free: 7.695 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.868e-05/1.85, allocations: 20.88 kB / 0.7646 GB, free: 7.676 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.037e-05/1.85, allocations: 20 kB / 0.7646 GB, free: 7.656 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3822/2.232, allocations: 25.93 MB / 0.7899 GB, free: 125.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01195/2.244, allocations: 1.5 MB / 0.7914 GB, free: 125.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7366/2.981, allocations: 200.9 MB / 0.9876 GB, free: 102.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01994/3.001, allocations: 2.661 MB / 0.9902 GB, free: 102 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002807/3.004, allocations: 377.6 kB / 0.9906 GB, free: 102 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * 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 (838): * Single equations (assignments): 789 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 48 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 48 {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: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {47 199} Notification: Performance of prepare postOptimizeDAE: time 0.01489/3.019, allocations: 4.513 MB / 0.995 GB, free: 100.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004102/3.023, allocations: 1.162 MB / 0.9961 GB, free: 99.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09518/3.118, allocations: 33.17 MB / 1.028 GB, free: 93.13 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.19e-05/3.118, allocations: 49.19 kB / 1.029 GB, free: 93.12 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/3.118, allocations: 0 / 1.029 GB, free: 93.12 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000118/3.118, allocations: 21.61 kB / 1.029 GB, free: 93.12 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1287/3.247, allocations: 50.58 MB / 1.078 GB, free: 51.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.776e-05/3.247, allocations: 0 / 1.078 GB, free: 51.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002131/3.249, allocations: 455.4 kB / 1.078 GB, free: 51.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02587/3.275, allocations: 15.78 MB / 1.094 GB, free: 35.64 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00221/3.277, allocations: 111.9 kB / 1.094 GB, free: 35.53 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6729/3.95, allocations: 117.6 MB / 1.209 GB, free: 115.3 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/3.95, allocations: 4.438 kB / 1.209 GB, free: 115.3 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1028/4.053, allocations: 32.25 MB / 1.24 GB, free: 90 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01269/4.066, allocations: 2.698 MB / 1.243 GB, free: 87.33 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006736/4.073, allocations: 72 kB / 1.243 GB, free: 87.26 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01458/4.087, allocations: 1.501 MB / 1.244 GB, free: 85.76 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001336/4.089, allocations: 276.1 kB / 1.245 GB, free: 85.49 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00187/4.09, allocations: 147.7 kB / 1.245 GB, free: 85.35 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.02486/4.115, allocations: 10.39 MB / 1.255 GB, free: 75.04 MB / 0.4982 GB Notification: Performance of sort global known variables: time 1.693e-06/4.115, allocations: 0 / 1.255 GB, free: 75.04 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.02748/4.143, allocations: 3.719 MB / 1.259 GB, free: 71.41 MB / 0.4982 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {48 154} Notification: Performance of Backend phase and start with SimCode phase: time 0.002206/4.145, allocations: 186.3 kB / 1.259 GB, free: 71.24 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.08427/4.229, allocations: 33.99 MB / 1.292 GB, free: 36.52 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/4.23, allocations: 256 / 1.292 GB, free: 36.52 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.05718/4.287, allocations: 18.27 MB / 1.31 GB, free: 18.23 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01778/4.305, allocations: 2.977 MB / 1.313 GB, free: 15.38 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.372/4.677, allocations: 32.9 MB / 1.345 GB, free: 119.5 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01914/4.696, allocations: 8.912 MB / 1.354 GB, free: 118.4 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.01887/4.715, allocations: 3.843 MB / 1.357 GB, free: 118.3 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004355/4.719, allocations: 0.6337 MB / 1.358 GB, free: 118.3 MB / 0.4982 GB Notification: Performance of SimCode: time 3.096e-06/4.719, allocations: 0 / 1.358 GB, free: 118.3 MB / 0.4982 GB Notification: Performance of Templates: time 0.7688/5.488, allocations: 253.5 MB / 1.606 GB, free: 75.42 MB / 0.4982 GB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: