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.001457/0.001457, allocations: 110 kB / 16.37 MB, free: 6.016 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.001487/0.001487, allocations: 198.8 kB / 17.31 MB, free: 5.609 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.379/1.379, 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.02669/0.02669, allocations: 5.391 MB / 296.6 MB, free: 9.469 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 63.91 kB / 362.4 MB, free: 7.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1877, allocations: 50.61 MB / 413 MB, free: 29.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.003989/0.1917, allocations: 4.391 MB / 417.4 MB, free: 24.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.1936, allocations: 1.589 MB / 419 MB, free: 23.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002267/0.1938, allocations: 8 kB / 419 MB, free: 23.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000657/0.1945, allocations: 301 kB / 419.3 MB, free: 22.99 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003818/0.1949, allocations: 230.4 kB / 419.5 MB, free: 22.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.1952, allocations: 215.6 kB / 419.7 MB, free: 22.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01391/0.2091, allocations: 25.69 MB / 445.4 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009676/0.2189, allocations: 7.954 MB / 453.3 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01091/0.2298, allocations: 9.333 MB / 462.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01546/0.2453, allocations: 10.85 MB / 473.5 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005469/0.2508, allocations: 2.707 MB / 476.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006026/0.2568, allocations: 2.715 MB / 478.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005364/0.2622, allocations: 5.116 MB / 484.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01726/0.2795, allocations: 9.535 MB / 493.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3154/0.5949, allocations: 28.89 MB / 0.5102 GB, free: 48.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.5949, allocations: 2.75 kB / 0.5102 GB, free: 48.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5949, allocations: 0 / 0.5102 GB, free: 48.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006535/0.5956, allocations: 0 / 0.5102 GB, free: 48.18 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.09425/0.6899, allocations: 31.42 MB / 0.5409 GB, free: 26 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.6899, allocations: 8.031 kB / 0.5409 GB, free: 25.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008142/0.6981, allocations: 1.452 MB / 0.5424 GB, free: 24.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04872/0.7468, allocations: 18.95 MB / 0.5609 GB, free: 5.891 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004971/0.7474, allocations: 0.6256 MB / 0.5615 GB, free: 5.262 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004427/0.7518, allocations: 0.8163 MB / 0.5623 GB, free: 4.445 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03988/0.7917, allocations: 15.67 MB / 0.5776 GB, free: 4.309 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001854/0.7919, allocations: 22.06 kB / 0.5776 GB, free: 4.301 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002301/0.7942, allocations: 344 kB / 0.5779 GB, free: 3.965 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001824/0.7944, allocations: 220 kB / 0.5781 GB, free: 3.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04081/0.8352, allocations: 17.6 MB / 0.5953 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1194/0.9547, allocations: 57.23 MB / 0.6512 GB, free: 9.059 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03475/0.9895, allocations: 21.36 MB / 0.6721 GB, free: 3.062 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2014/1.191, allocations: 7.446 MB / 0.6793 GB, free: 154.8 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002335/1.191, allocations: 71.72 kB / 0.6794 GB, free: 154.8 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.725e-05/1.191, allocations: 81.17 kB / 0.6795 GB, free: 154.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=448): time 5.951e-06/1.191, allocations: 0 / 0.6795 GB, free: 154.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=448): time 0.09743/1.289, allocations: 36.3 MB / 0.7149 GB, free: 140.6 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/1.289, allocations: 102.3 kB / 0.715 GB, free: 140.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02213/1.311, allocations: 15.18 MB / 0.7299 GB, free: 125.6 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001548/1.313, allocations: 113.7 kB / 0.73 GB, free: 125.4 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00636/1.319, allocations: 6.097 MB / 0.7359 GB, free: 120.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00245/1.321, allocations: 1.577 MB / 0.7375 GB, free: 119.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004895/1.326, allocations: 2.101 MB / 0.7395 GB, free: 117.1 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.269e-05/1.326, allocations: 305.1 kB / 0.7398 GB, free: 116.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01351/1.34, allocations: 7.644 MB / 0.7473 GB, free: 109.1 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01521/1.355, allocations: 8.831 MB / 0.7559 GB, free: 99.93 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02481/1.38, allocations: 14.4 MB / 0.77 GB, free: 85.13 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.821e-05/1.38, allocations: 9.25 kB / 0.77 GB, free: 85.12 MB / 478.1 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.1148/1.495, allocations: 39.93 MB / 0.809 GB, free: 44.95 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.741e-05/1.495, allocations: 16 kB / 0.809 GB, free: 44.93 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.374e-05/1.495, allocations: 28.08 kB / 0.809 GB, free: 44.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04281/1.538, allocations: 26.01 MB / 0.8344 GB, free: 18.75 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006467/1.544, allocations: 1.498 MB / 0.8359 GB, free: 17.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7341/2.278, allocations: 202.8 MB / 1.034 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01962/2.298, allocations: 2.552 MB / 1.036 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002395/2.3, allocations: 379.2 kB / 1.037 GB, free: 129.9 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.00895/2.309, allocations: 4.52 MB / 1.041 GB, free: 129.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00308/2.313, allocations: 1.158 MB / 1.042 GB, free: 129.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08771/2.4, allocations: 31.8 MB / 1.073 GB, free: 127 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.164e-05/2.4, allocations: 46.53 kB / 1.073 GB, free: 127 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/2.4, allocations: 0 / 1.073 GB, free: 127 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001161/2.4, allocations: 19.55 kB / 1.073 GB, free: 127 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1222/2.523, allocations: 46.47 MB / 1.119 GB, free: 92.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.763e-05/2.523, allocations: 0 / 1.119 GB, free: 92.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001776/2.524, allocations: 455.4 kB / 1.119 GB, free: 91.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02306/2.548, allocations: 15.46 MB / 1.134 GB, free: 76.54 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00129/2.549, allocations: 115.9 kB / 1.134 GB, free: 76.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4649/3.014, allocations: 114.9 MB / 1.247 GB, free: 139.3 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/3.014, allocations: 3.828 kB / 1.247 GB, free: 139.3 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08844/3.102, allocations: 30.88 MB / 1.277 GB, free: 130.3 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009936/3.112, allocations: 2.648 MB / 1.279 GB, free: 128.1 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004324/3.117, allocations: 76 kB / 1.28 GB, free: 128 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01172/3.128, allocations: 1.4 MB / 1.281 GB, free: 126.6 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008825/3.129, allocations: 276.1 kB / 1.281 GB, free: 126.4 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001046/3.13, allocations: 143.9 kB / 1.281 GB, free: 126.2 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.01835/3.149, allocations: 10.49 MB / 1.292 GB, free: 115.8 MB / 0.4982 GB Notification: Performance of sort global known variables: time 3.81e-07/3.149, allocations: 0 / 1.292 GB, free: 115.8 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01571/3.164, allocations: 3.706 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.001385/3.166, allocations: 195.1 kB / 1.295 GB, free: 112 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.0755/3.241, allocations: 33.14 MB / 1.328 GB, free: 78.17 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/3.241, allocations: 4.062 kB / 1.328 GB, free: 78.16 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.05045/3.292, allocations: 17.28 MB / 1.345 GB, free: 60.85 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01892/3.311, allocations: 3.12 MB / 1.348 GB, free: 57.82 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05543/3.366, allocations: 29.58 MB / 1.377 GB, free: 28.31 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007794/3.374, allocations: 8.686 MB / 1.385 GB, free: 19.58 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.00987/3.384, allocations: 3.771 MB / 1.389 GB, free: 15.8 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002305/3.386, allocations: 0.6282 MB / 1.389 GB, free: 15.17 MB / 0.4982 GB Notification: Performance of SimCode: time 1.031e-06/3.386, allocations: 0 / 1.389 GB, free: 15.17 MB / 0.4982 GB Notification: Performance of Templates: time 0.742/4.128, 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 cvode -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe 2>&1)