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.007368/0.007368, allocations: 100.6 kB / 15.73 MB, free: 6.031 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.001736/0.001736, allocations: 194.5 kB / 16.67 MB, free: 5.969 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1576/0.1576, allocations: 5.395 MB / 295.9 MB, free: 2.832 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 63.91 kB / 412.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2516, allocations: 50.61 MB / 463.4 MB, free: 21.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.004531/0.2562, allocations: 4.385 MB / 467.8 MB, free: 18.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002691/0.2589, allocations: 1.582 MB / 469.4 MB, free: 17.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003292/0.2592, allocations: 12.19 kB / 469.4 MB, free: 17.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008085/0.2601, allocations: 300.5 kB / 469.7 MB, free: 17.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005118/0.2606, allocations: 238.3 kB / 469.9 MB, free: 16.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004549/0.2611, allocations: 214.9 kB / 470.1 MB, free: 16.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01739/0.2785, allocations: 25.69 MB / 495.8 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008982/0.2875, allocations: 7.954 MB / 0.492 GB, free: 8.754 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01211/0.2996, allocations: 9.353 MB / 0.5011 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01766/0.3173, allocations: 10.84 MB / 0.5117 GB, free: 4.492 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006657/0.324, allocations: 2.707 MB / 0.5143 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008337/0.3324, allocations: 2.715 MB / 0.517 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006717/0.3391, allocations: 5.115 MB / 0.522 GB, free: 9.941 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0165/0.3557, allocations: 9.535 MB / 0.5313 GB, free: 376 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02844/0.3841, allocations: 28.92 MB / 0.5595 GB, free: 3.371 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.3842, allocations: 4 kB / 0.5595 GB, free: 3.367 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.3842, allocations: 0 / 0.5595 GB, free: 3.367 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0008496/0.3851, allocations: 0 / 0.5595 GB, free: 3.367 MB / 430.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.5727/0.9578, allocations: 31.41 MB / 0.5902 GB, free: 78.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.9579, allocations: 10.19 kB / 0.5902 GB, free: 78.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01059/0.9684, allocations: 1.45 MB / 0.5916 GB, free: 77.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05761/1.026, allocations: 18.96 MB / 0.6101 GB, free: 68.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009788/1.027, allocations: 0.6223 MB / 0.6107 GB, free: 67.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006157/1.033, allocations: 0.8167 MB / 0.6115 GB, free: 67.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04109/1.074, allocations: 15.67 MB / 0.6269 GB, free: 54.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004061/1.075, allocations: 31.69 kB / 0.6269 GB, free: 54.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004215/1.079, allocations: 348 kB / 0.6272 GB, free: 54.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001969/1.079, allocations: 212 kB / 0.6274 GB, free: 54.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0549/1.134, allocations: 17.59 MB / 0.6446 GB, free: 36.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.114/1.248, allocations: 57.24 MB / 0.7005 GB, free: 10.57 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03625/1.285, allocations: 21.37 MB / 0.7214 GB, free: 4.562 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01335/1.298, allocations: 7.449 MB / 0.7286 GB, free: 13.11 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002687/1.298, allocations: 74.19 kB / 0.7287 GB, free: 13.04 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.72e-05/1.298, allocations: 74.08 kB / 0.7288 GB, free: 12.96 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=448): time 5.631e-06/1.298, allocations: 8 kB / 0.7288 GB, free: 12.95 MB / 0.4982 GB Notification: Performance of matching and sorting (n=448): time 0.1104/1.409, allocations: 36.3 MB / 0.7642 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.428e-05/1.409, allocations: 94.92 kB / 0.7643 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02808/1.437, allocations: 15.19 MB / 0.7791 GB, free: 9.375 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001559/1.438, allocations: 109.7 kB / 0.7793 GB, free: 9.262 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.006839/1.445, allocations: 6.088 MB / 0.7852 GB, free: 3.129 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002577/1.448, allocations: 1.583 MB / 0.7867 GB, free: 1.523 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2381/1.686, allocations: 2.094 MB / 0.7888 GB, free: 174.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.998e-05/1.686, allocations: 313.8 kB / 0.7891 GB, free: 173.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0187/1.705, allocations: 7.645 MB / 0.7966 GB, free: 173.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01836/1.723, allocations: 8.835 MB / 0.8052 GB, free: 170.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0303/1.754, allocations: 14.4 MB / 0.8192 GB, free: 164.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.114e-05/1.754, allocations: 10.23 kB / 0.8193 GB, free: 164.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.1161/1.87, allocations: 39.94 MB / 0.8583 GB, free: 139.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.371e-05/1.87, allocations: 21.97 kB / 0.8583 GB, free: 139.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.492e-05/1.87, allocations: 22.16 kB / 0.8583 GB, free: 139.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04443/1.914, allocations: 26.01 MB / 0.8837 GB, free: 112.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006818/1.921, allocations: 1.498 MB / 0.8852 GB, free: 111.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7083/2.63, allocations: 202.8 MB / 1.083 GB, free: 133.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02079/2.65, allocations: 2.566 MB / 1.086 GB, free: 131.7 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002971/2.654, allocations: 371.7 kB / 1.086 GB, free: 131.3 MB / 0.5607 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.009384/2.663, allocations: 4.524 MB / 1.091 GB, free: 126.9 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004111/2.667, allocations: 1.155 MB / 1.092 GB, free: 126.3 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09415/2.761, allocations: 31.81 MB / 1.123 GB, free: 94.75 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.972e-05/2.761, allocations: 44 kB / 1.123 GB, free: 94.7 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/2.761, allocations: 0 / 1.123 GB, free: 94.7 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001163/2.761, allocations: 23.91 kB / 1.123 GB, free: 94.68 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1323/2.894, allocations: 46.47 MB / 1.168 GB, free: 48.34 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.154e-05/2.894, allocations: 0 / 1.168 GB, free: 48.34 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001792/2.896, allocations: 451.4 kB / 1.169 GB, free: 47.89 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02343/2.919, allocations: 15.45 MB / 1.184 GB, free: 32.47 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001214/2.92, allocations: 115.9 kB / 1.184 GB, free: 32.36 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5744/3.495, allocations: 114.9 MB / 1.296 GB, free: 132.1 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/3.495, allocations: 7.844 kB / 1.296 GB, free: 132.1 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09468/3.589, allocations: 30.88 MB / 1.326 GB, free: 102 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01204/3.602, allocations: 2.659 MB / 1.329 GB, free: 99.37 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007072/3.609, allocations: 71.98 kB / 1.329 GB, free: 99.3 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01396/3.623, allocations: 1.399 MB / 1.33 GB, free: 97.9 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001178/3.624, allocations: 272.1 kB / 1.33 GB, free: 97.64 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001657/3.626, allocations: 143.9 kB / 1.331 GB, free: 97.5 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.02487/3.65, allocations: 10.49 MB / 1.341 GB, free: 87.08 MB / 0.5607 GB Notification: Performance of sort global known variables: time 5.91e-07/3.65, allocations: 6.188 kB / 1.341 GB, free: 87.08 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.0271/3.678, allocations: 3.711 MB / 1.344 GB, free: 83.48 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.002074/3.68, allocations: 195.4 kB / 1.345 GB, free: 83.31 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.08275/3.762, allocations: 33.13 MB / 1.377 GB, free: 49.41 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/3.762, allocations: 0 / 1.377 GB, free: 49.41 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.05484/3.817, allocations: 17.3 MB / 1.394 GB, free: 32.09 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02406/3.841, allocations: 3.105 MB / 1.397 GB, free: 29.07 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07961/3.921, allocations: 29.56 MB / 1.426 GB, free: 15.6 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2888/4.21, allocations: 8.686 MB / 1.434 GB, free: 172.4 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.01287/4.223, allocations: 3.778 MB / 1.438 GB, free: 172.3 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003512/4.226, allocations: 0.6314 MB / 1.439 GB, free: 172.3 MB / 0.5763 GB Notification: Performance of SimCode: time 5.61e-07/4.226, allocations: 0 / 1.439 GB, free: 172.3 MB / 0.5763 GB Notification: Performance of Templates: time 0.6106/4.837, allocations: 278.4 MB / 1.71 GB, free: 144.9 MB / 0.5763 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)