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.001306/0.001306, allocations: 117.2 kB / 16.37 MB, free: 6.012 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.001098/0.001098, allocations: 191.6 kB / 17.31 MB, free: 5.613 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.338/1.338, 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.02701/0.02701, allocations: 5.39 MB / 296.6 MB, free: 9.5 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 67.88 kB / 362.4 MB, free: 7.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2501, allocations: 50.62 MB / 413 MB, free: 29.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.004037/0.2542, allocations: 4.378 MB / 417.4 MB, free: 24.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.2559, allocations: 1.593 MB / 419 MB, free: 23.31 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002085/0.2562, allocations: 11.94 kB / 419 MB, free: 23.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006069/0.2568, allocations: 293 kB / 419.3 MB, free: 23.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003614/0.2572, allocations: 238.3 kB / 419.5 MB, free: 22.78 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.2575, allocations: 207.6 kB / 419.7 MB, free: 22.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0143/0.2718, allocations: 25.7 MB / 445.4 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01026/0.2821, allocations: 7.943 MB / 453.3 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01336/0.2954, allocations: 9.341 MB / 462.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01723/0.3127, allocations: 10.85 MB / 473.5 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006097/0.3188, allocations: 2.703 MB / 476.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007338/0.3262, allocations: 2.707 MB / 478.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007875/0.3341, allocations: 5.119 MB / 484.1 MB, free: 5.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01792/0.352, allocations: 9.539 MB / 493.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3595/0.7116, allocations: 28.88 MB / 0.5102 GB, free: 48.15 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.7117, allocations: 0.8125 kB / 0.5102 GB, free: 48.15 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.7117, allocations: 0 / 0.5102 GB, free: 48.15 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006776/0.7124, allocations: 0.6562 kB / 0.5102 GB, free: 48.15 MB / 366.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.1017/0.8141, allocations: 31.42 MB / 0.5409 GB, free: 25.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.8142, allocations: 12.03 kB / 0.5409 GB, free: 25.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008597/0.8228, allocations: 1.452 MB / 0.5424 GB, free: 24.51 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05236/0.8752, allocations: 18.95 MB / 0.5609 GB, free: 5.883 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005562/0.8758, allocations: 0.6256 MB / 0.5615 GB, free: 5.254 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004389/0.8802, allocations: 0.8163 MB / 0.5623 GB, free: 4.438 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04097/0.9211, allocations: 15.68 MB / 0.5776 GB, free: 4.297 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002205/0.9214, allocations: 22.44 kB / 0.5776 GB, free: 4.289 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002829/0.9242, allocations: 344 kB / 0.5779 GB, free: 3.953 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001873/0.9244, allocations: 212 kB / 0.5781 GB, free: 3.746 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04447/0.9689, allocations: 17.6 MB / 0.5953 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1213/1.09, allocations: 57.23 MB / 0.6512 GB, free: 9.051 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03426/1.125, allocations: 21.37 MB / 0.6721 GB, free: 3.047 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2098/1.334, allocations: 7.439 MB / 0.6793 GB, free: 155.1 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003737/1.335, allocations: 72.62 kB / 0.6794 GB, free: 155.1 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.718e-05/1.335, allocations: 81.08 kB / 0.6795 GB, free: 155 MB / 478.1 MB Notification: Performance of pre-optimization done (n=448): time 7.173e-06/1.335, allocations: 0 / 0.6795 GB, free: 155 MB / 478.1 MB Notification: Performance of matching and sorting (n=448): time 0.1057/1.441, allocations: 36.3 MB / 0.7149 GB, free: 140.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.389e-05/1.441, allocations: 102.3 kB / 0.715 GB, free: 140.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0264/1.467, allocations: 15.19 MB / 0.7299 GB, free: 125.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001813/1.469, allocations: 109.7 kB / 0.73 GB, free: 125.4 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005233/1.474, allocations: 6.096 MB / 0.7359 GB, free: 120.6 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002355/1.477, allocations: 1.578 MB / 0.7375 GB, free: 119.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004244/1.481, allocations: 2.097 MB / 0.7395 GB, free: 117.1 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.613e-05/1.481, allocations: 309.1 kB / 0.7398 GB, free: 116.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01239/1.493, allocations: 7.644 MB / 0.7473 GB, free: 109.1 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01445/1.508, allocations: 8.842 MB / 0.7559 GB, free: 99.92 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02624/1.534, allocations: 14.39 MB / 0.77 GB, free: 85.13 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.678e-05/1.534, allocations: 9.875 kB / 0.77 GB, free: 85.12 MB / 478.1 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.1195/1.654, allocations: 39.94 MB / 0.809 GB, free: 44.93 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.449e-05/1.654, allocations: 16 kB / 0.809 GB, free: 44.92 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-05/1.654, allocations: 24 kB / 0.809 GB, free: 44.89 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04421/1.698, allocations: 26.01 MB / 0.8344 GB, free: 18.74 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006918/1.705, allocations: 1.49 MB / 0.8359 GB, free: 17.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7989/2.504, allocations: 202.8 MB / 1.034 GB, free: 130 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01973/2.524, allocations: 2.56 MB / 1.036 GB, free: 130 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003378/2.527, allocations: 380.8 kB / 1.037 GB, free: 130 MB / 494.1 MB 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.01129/2.538, allocations: 4.517 MB / 1.041 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003892/2.542, allocations: 1.159 MB / 1.042 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0901/2.632, allocations: 31.8 MB / 1.073 GB, free: 127.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.894e-05/2.632, allocations: 46.5 kB / 1.073 GB, free: 127.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/2.632, allocations: 0 / 1.073 GB, free: 127.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001108/2.633, allocations: 21.84 kB / 1.073 GB, free: 127.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1267/2.759, allocations: 46.46 MB / 1.119 GB, free: 92.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.168e-05/2.759, allocations: 0 / 1.119 GB, free: 92.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001842/2.761, allocations: 455.4 kB / 1.119 GB, free: 91.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02376/2.785, allocations: 15.46 MB / 1.134 GB, free: 76.52 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001449/2.786, allocations: 123.9 kB / 1.134 GB, free: 76.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5334/3.32, allocations: 114.9 MB / 1.247 GB, free: 139.5 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/3.32, allocations: 3.828 kB / 1.247 GB, free: 139.5 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09172/3.412, allocations: 30.87 MB / 1.277 GB, free: 130.2 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0103/3.422, allocations: 2.66 MB / 1.279 GB, free: 128 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004886/3.427, allocations: 75.94 kB / 1.28 GB, free: 127.9 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01186/3.439, allocations: 1.395 MB / 1.281 GB, free: 126.6 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007194/3.44, allocations: 280.1 kB / 1.281 GB, free: 126.3 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001002/3.441, allocations: 139.9 kB / 1.281 GB, free: 126.2 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.0179/3.458, allocations: 10.49 MB / 1.292 GB, free: 115.8 MB / 0.4982 GB Notification: Performance of sort global known variables: time 4.61e-07/3.458, allocations: 0 / 1.292 GB, free: 115.8 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01734/3.476, allocations: 3.714 MB / 1.295 GB, free: 112.2 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 (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.001376/3.477, allocations: 195.1 kB / 1.295 GB, free: 112 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.07527/3.552, allocations: 33.13 MB / 1.328 GB, free: 78.12 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/3.553, allocations: 448 / 1.328 GB, free: 78.12 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.05388/3.606, allocations: 17.29 MB / 1.345 GB, free: 60.8 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01725/3.624, allocations: 3.116 MB / 1.348 GB, free: 57.78 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06196/3.686, allocations: 29.56 MB / 1.377 GB, free: 28.28 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01006/3.696, allocations: 8.686 MB / 1.385 GB, free: 19.55 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.01073/3.707, allocations: 3.771 MB / 1.389 GB, free: 15.77 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00254/3.709, allocations: 0.636 MB / 1.389 GB, free: 15.13 MB / 0.4982 GB Notification: Performance of SimCode: time 1.142e-06/3.709, allocations: 0 / 1.389 GB, free: 15.13 MB / 0.4982 GB Notification: Performance of Templates: time 0.8015/4.511, allocations: 269.8 MB / 1.653 GB, free: 121.9 MB / 0.5138 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 -s gbode -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe 2>&1)