Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.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.SimpleModuleShadow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow") translateModel(PhotoVoltaics.Examples.SimpleModuleShadow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, 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.001111/0.001111, allocations: 177.3 kB / 15.95 MB, free: 216 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.449/1.449, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.2259/0.2259, allocations: 5.382 MB / 296.4 MB, free: 3.949 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003228, allocations: 11.98 kB / 361.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.121, allocations: 51.61 MB / 413.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.004175/0.1252, allocations: 3.574 MB / 417 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002448/0.1277, allocations: 1.517 MB / 418.5 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002744/0.128, allocations: 8 kB / 418.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006157/0.1286, allocations: 238.8 kB / 418.7 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000611/0.1292, allocations: 291.3 kB / 419 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.1296, allocations: 135.7 kB / 419.2 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2667/0.3963, allocations: 22.42 MB / 441.6 MB, free: 38.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008594/0.405, allocations: 5.634 MB / 447.2 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01413/0.4192, allocations: 5.994 MB / 453.2 MB, free: 34.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01541/0.4346, allocations: 7.68 MB / 460.9 MB, free: 31.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005707/0.4404, allocations: 0.8127 MB / 461.7 MB, free: 31.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01147/0.4519, allocations: 0.824 MB / 462.5 MB, free: 31.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008208/0.4601, allocations: 2.74 MB / 465.3 MB, free: 30.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01277/0.4729, allocations: 2.732 MB / 468 MB, free: 28.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0261/0.4991, allocations: 22.71 MB / 490.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4991, allocations: 0 / 490.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.4991, allocations: 0 / 490.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0009208/0.5, allocations: 0 / 490.7 MB, free: 12.86 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.09965/0.5997, allocations: 28.12 MB / 0.5067 GB, free: 0.6211 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.5998, allocations: 8.031 kB / 0.5067 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01175/0.6115, allocations: 1.451 MB / 0.5081 GB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06082/0.6724, allocations: 18.67 MB / 0.5263 GB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009175/0.6734, allocations: 0.6295 MB / 0.5269 GB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005776/0.6791, allocations: 0.8164 MB / 0.5277 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05186/0.731, allocations: 15.76 MB / 0.5431 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003502/0.7314, allocations: 23.75 kB / 0.5431 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005334/0.7368, allocations: 344 kB / 0.5435 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002383/0.737, allocations: 212 kB / 0.5437 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04944/0.7865, allocations: 17.94 MB / 0.5612 GB, free: 8.102 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6084/1.395, allocations: 57.94 MB / 0.6178 GB, free: 71.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03568/1.431, allocations: 21.93 MB / 0.6392 GB, free: 61.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002614/1.431, allocations: 67.34 kB / 0.6393 GB, free: 61.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/1.431, allocations: 81.8 kB / 0.6393 GB, free: 61.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=448): time 5.37e-06/1.431, allocations: 0 / 0.6393 GB, free: 61.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=448): time 0.1204/1.551, allocations: 37.85 MB / 0.6763 GB, free: 46.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.148e-05/1.552, allocations: 103.4 kB / 0.6764 GB, free: 46.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03243/1.584, allocations: 15.09 MB / 0.6911 GB, free: 35.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002101/1.586, allocations: 113.7 kB / 0.6913 GB, free: 34.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006742/1.593, allocations: 6.078 MB / 0.6972 GB, free: 29.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003462/1.596, allocations: 1.575 MB / 0.6987 GB, free: 27.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004657/1.601, allocations: 184 kB / 0.6989 GB, free: 27.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0008068/1.602, allocations: 0.6659 MB / 0.6995 GB, free: 26.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01889/1.621, allocations: 7.82 MB / 0.7072 GB, free: 19.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01994/1.641, allocations: 8.953 MB / 0.7159 GB, free: 9.824 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01828/1.659, allocations: 8.565 MB / 0.7243 GB, free: 1.211 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.003e-05/1.659, allocations: 4 kB / 0.7243 GB, free: 1.207 MB / 446.1 MB Notification: Performance of matching and sorting (n=1131) (initialization): time 0.1629/1.822, allocations: 41.24 MB / 0.7646 GB, free: 7.719 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.604e-05/1.822, allocations: 16 kB / 0.7646 GB, free: 7.703 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.12e-05/1.822, allocations: 20 kB / 0.7646 GB, free: 7.684 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3526/2.175, allocations: 25.97 MB / 0.79 GB, free: 125.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008037/2.183, allocations: 1.49 MB / 0.7914 GB, free: 125.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6985/2.882, allocations: 200.9 MB / 0.9876 GB, free: 102.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02243/2.904, allocations: 2.666 MB / 0.9902 GB, free: 102.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003779/2.908, allocations: 378.1 kB / 0.9906 GB, free: 102.1 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.0174/2.925, allocations: 4.512 MB / 0.995 GB, free: 100.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005581/2.931, allocations: 1.157 MB / 0.9961 GB, free: 99.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1073/3.038, allocations: 33.17 MB / 1.029 GB, free: 93.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.424e-05/3.038, allocations: 41.38 kB / 1.029 GB, free: 93.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/3.038, allocations: 0 / 1.029 GB, free: 93.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001786/3.039, allocations: 21.84 kB / 1.029 GB, free: 93.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1473/3.186, allocations: 50.59 MB / 1.078 GB, free: 51.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-05/3.186, allocations: 2.297 kB / 1.078 GB, free: 51.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002235/3.188, allocations: 451.4 kB / 1.078 GB, free: 51.26 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02604/3.214, allocations: 15.78 MB / 1.094 GB, free: 35.54 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001954/3.216, allocations: 114.3 kB / 1.094 GB, free: 35.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6591/3.875, allocations: 117.6 MB / 1.209 GB, free: 115.1 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/3.875, allocations: 0 / 1.209 GB, free: 115.1 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1092/3.985, allocations: 32.24 MB / 1.24 GB, free: 89.84 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01526/4, allocations: 2.711 MB / 1.243 GB, free: 87.16 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01008/4.01, allocations: 68.5 kB / 1.243 GB, free: 87.1 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01861/4.029, allocations: 1.502 MB / 1.244 GB, free: 85.59 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001805/4.031, allocations: 280.1 kB / 1.245 GB, free: 85.32 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002354/4.033, allocations: 139.9 kB / 1.245 GB, free: 85.18 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.03123/4.064, allocations: 10.39 MB / 1.255 GB, free: 74.87 MB / 0.4982 GB Notification: Performance of sort global known variables: time 2.91e-07/4.064, allocations: 0 / 1.255 GB, free: 74.87 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.02953/4.094, allocations: 3.716 MB / 1.259 GB, free: 71.26 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.002677/4.097, allocations: 190.2 kB / 1.259 GB, free: 71.09 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.09504/4.192, allocations: 34 MB / 1.292 GB, free: 36.36 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.898e-05/4.192, allocations: 0 / 1.292 GB, free: 36.36 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.05713/4.249, allocations: 18.27 MB / 1.31 GB, free: 18.06 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01916/4.268, allocations: 2.973 MB / 1.313 GB, free: 15.21 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4099/4.678, allocations: 32.91 MB / 1.345 GB, free: 116.7 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02416/4.702, allocations: 8.91 MB / 1.354 GB, free: 115.6 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.01909/4.721, allocations: 3.852 MB / 1.357 GB, free: 115.5 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004692/4.726, allocations: 0.6304 MB / 1.358 GB, free: 115.5 MB / 0.4982 GB Notification: Performance of SimCode: time 1.012e-06/4.726, allocations: 0 / 1.358 GB, free: 115.5 MB / 0.4982 GB Notification: Performance of Templates: time 0.7519/5.478, allocations: 253.5 MB / 1.606 GB, free: 75.06 MB / 0.4982 GB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.makefile Environment - environmentSimulation: (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe 2>&1) Environment - environmentSimulation: