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.001361/0.001361, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00142/0.00142, allocations: 191.6 kB / 16.14 MB, free: 6.703 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.337/1.337, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1532/0.1532, allocations: 5.383 MB / 295.3 MB, free: 2.922 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 55.92 kB / 360.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09365/0.0949, allocations: 50.62 MB / 410.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.005534/0.1005, allocations: 4.404 MB / 415.2 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002937/0.1035, allocations: 1.582 MB / 416.8 MB, free: 5.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005415/0.1041, allocations: 8 kB / 416.8 MB, free: 5.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001238/0.1053, allocations: 327.3 kB / 417.1 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007212/0.1061, allocations: 214.6 kB / 417.3 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004974/0.1066, allocations: 179.8 kB / 417.5 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1824/0.289, allocations: 23.57 MB / 441 MB, free: 33.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007232/0.2962, allocations: 7.267 MB / 448.3 MB, free: 30.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01096/0.3072, allocations: 6.589 MB / 454.9 MB, free: 28.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01455/0.3218, allocations: 8.528 MB / 463.4 MB, free: 24.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00635/0.3282, allocations: 0.9572 MB / 464.4 MB, free: 24.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009596/0.3378, allocations: 0.9625 MB / 465.3 MB, free: 24.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005943/0.3438, allocations: 3.056 MB / 468.4 MB, free: 22.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01823/0.3621, allocations: 7.464 MB / 475.9 MB, free: 18.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03092/0.393, allocations: 27.11 MB / 0.4912 GB, free: 13.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.218e-05/0.3931, allocations: 0 / 0.4912 GB, free: 13.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.3931, allocations: 0 / 0.4912 GB, free: 13.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.001136/0.3943, allocations: 0 / 0.4912 GB, free: 13.86 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.1055/0.4998, allocations: 30.8 MB / 0.5213 GB, free: 14.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.4998, allocations: 8.031 kB / 0.5213 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006757/0.5066, allocations: 1.452 MB / 0.5227 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05253/0.5592, allocations: 18.79 MB / 0.541 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006452/0.5598, allocations: 0.6256 MB / 0.5416 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00415/0.564, allocations: 0.8203 MB / 0.5424 GB, free: 9.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04017/0.6042, allocations: 15.68 MB / 0.5578 GB, free: 9.145 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003232/0.6045, allocations: 27.75 kB / 0.5578 GB, free: 9.117 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00381/0.6084, allocations: 344 kB / 0.5581 GB, free: 8.781 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002016/0.6086, allocations: 212 kB / 0.5583 GB, free: 8.574 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0415/0.6501, allocations: 17.6 MB / 0.5755 GB, free: 6.957 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4493/1.099, allocations: 57.51 MB / 0.6317 GB, free: 72.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03276/1.132, allocations: 21.38 MB / 0.6525 GB, free: 61.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01048/1.143, allocations: 7.449 MB / 0.6598 GB, free: 58.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001999/1.143, allocations: 72.91 kB / 0.6599 GB, free: 58.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/1.143, allocations: 79.98 kB / 0.66 GB, free: 58.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=448): time 5.511e-06/1.143, allocations: 0.5469 kB / 0.66 GB, free: 58.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=448): time 0.1037/1.247, allocations: 36.3 MB / 0.6954 GB, free: 30.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/1.247, allocations: 102.9 kB / 0.6955 GB, free: 30.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02375/1.271, allocations: 15.18 MB / 0.7103 GB, free: 15.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001945/1.273, allocations: 117.7 kB / 0.7104 GB, free: 14.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006164/1.279, allocations: 6.092 MB / 0.7164 GB, free: 9.258 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003096/1.282, allocations: 1.579 MB / 0.7179 GB, free: 7.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005822/1.288, allocations: 2.093 MB / 0.72 GB, free: 5.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.331e-05/1.288, allocations: 308.5 kB / 0.7203 GB, free: 5.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01366/1.302, allocations: 7.648 MB / 0.7277 GB, free: 13.61 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.016/1.318, allocations: 8.827 MB / 0.7364 GB, free: 4.441 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03016/1.348, allocations: 14.4 MB / 0.7504 GB, free: 5.637 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.312e-05/1.348, allocations: 8 kB / 0.7504 GB, free: 5.629 MB / 478.1 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.3409/1.689, allocations: 39.94 MB / 0.7894 GB, free: 129.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/1.689, allocations: 15.47 kB / 0.7895 GB, free: 129.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.794e-05/1.689, allocations: 25.42 kB / 0.7895 GB, free: 129.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05023/1.739, allocations: 26.01 MB / 0.8149 GB, free: 126.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007415/1.747, allocations: 1.499 MB / 0.8163 GB, free: 126.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.574/2.321, allocations: 190.5 MB / 1.002 GB, free: 101.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01877/2.34, allocations: 2.562 MB / 1.005 GB, free: 101.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003056/2.343, allocations: 381.5 kB / 1.005 GB, free: 101.7 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.01026/2.353, allocations: 4.516 MB / 1.01 GB, free: 99.94 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004156/2.357, allocations: 1.155 MB / 1.011 GB, free: 99.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09491/2.452, allocations: 31.81 MB / 1.042 GB, free: 87.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.279e-05/2.452, allocations: 47.09 kB / 1.042 GB, free: 87.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/2.452, allocations: 3.438 kB / 1.042 GB, free: 87.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001208/2.452, allocations: 23.89 kB / 1.042 GB, free: 87.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1408/2.593, allocations: 46.64 MB / 1.087 GB, free: 41.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.189e-05/2.593, allocations: 0 / 1.087 GB, free: 41.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001933/2.595, allocations: 455.4 kB / 1.088 GB, free: 41.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02411/2.619, allocations: 15.47 MB / 1.103 GB, free: 25.87 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001504/2.621, allocations: 111.9 kB / 1.103 GB, free: 25.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.519/3.14, allocations: 108.3 MB / 1.209 GB, free: 114.2 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/3.14, allocations: 0 / 1.209 GB, free: 114.2 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09294/3.233, allocations: 30.87 MB / 1.239 GB, free: 90.64 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009787/3.243, allocations: 2.656 MB / 1.242 GB, free: 88.01 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007575/3.25, allocations: 75.75 kB / 1.242 GB, free: 87.94 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01425/3.265, allocations: 1.397 MB / 1.243 GB, free: 86.54 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001366/3.266, allocations: 280.1 kB / 1.243 GB, free: 86.27 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001478/3.267, allocations: 147.2 kB / 1.243 GB, free: 86.13 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.02152/3.289, allocations: 10.49 MB / 1.254 GB, free: 75.71 MB / 0.4982 GB Notification: Performance of sort global known variables: time 2e-07/3.289, allocations: 1.422 kB / 1.254 GB, free: 75.71 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01898/3.308, allocations: 3.71 MB / 1.257 GB, free: 72.11 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.001541/3.31, allocations: 194.2 kB / 1.258 GB, free: 71.93 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.08326/3.393, allocations: 32.8 MB / 1.29 GB, free: 38.44 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 7.555e-06/3.393, allocations: 0 / 1.29 GB, free: 38.44 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.0557/3.449, allocations: 17.18 MB / 1.306 GB, free: 21.29 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02197/3.471, allocations: 2.98 MB / 1.309 GB, free: 18.43 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2828/3.753, allocations: 33.91 MB / 1.342 GB, free: 116.9 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01573/3.769, allocations: 8.68 MB / 1.351 GB, free: 115.9 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.01355/3.783, allocations: 3.596 MB / 1.354 GB, free: 115.8 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003743/3.787, allocations: 0.6332 MB / 1.355 GB, free: 115.8 MB / 0.4982 GB Notification: Performance of SimCode: time 9.51e-07/3.787, allocations: 0 / 1.355 GB, free: 115.8 MB / 0.4982 GB Notification: Performance of Templates: time 0.5815/4.368, allocations: 262.2 MB / 1.611 GB, free: 70.97 MB / 0.4982 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)