Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(PhotoVoltaics.Examples.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") translateModel(PhotoVoltaics.Examples.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007275/0.007275, allocations: 170 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 223.2 MB / 239 MB, free: 1.777 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 98.23 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02449/0.02449, allocations: 5.384 MB / 346.7 MB, free: 5.57 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004741/0.0004742, allocations: 8.328 kB / 412.1 MB, free: 90.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08461/0.08511, allocations: 51.61 MB / 463.7 MB, free: 44.72 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3194/0.4045, allocations: 82.99 MB / 0.5339 GB, free: 19.39 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/0.4048, allocations: 70.09 kB / 0.534 GB, free: 19.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03127/0.4361, allocations: 12.46 MB / 0.5462 GB, free: 18.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4361, allocations: 0 / 0.5462 GB, free: 18.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.837e-05/0.4361, allocations: 3.812 kB / 0.5462 GB, free: 18.11 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001256/0.4374, allocations: 0.6971 MB / 0.5468 GB, free: 17.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.4375, allocations: 15.62 kB / 0.5469 GB, free: 17.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.278e-05/0.4375, allocations: 46.72 kB / 0.5469 GB, free: 17.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/0.4379, allocations: 334.6 kB / 0.5472 GB, free: 17.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.438, allocations: 19.88 kB / 0.5472 GB, free: 17.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.104e-05/0.438, allocations: 23.34 kB / 0.5473 GB, free: 17.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006841/0.4387, allocations: 367.6 kB / 0.5476 GB, free: 17.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.4387, allocations: 3.875 kB / 0.5476 GB, free: 17.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/0.4388, allocations: 7.188 kB / 0.5476 GB, free: 17.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.433e-06/0.4388, allocations: 7.562 kB / 0.5476 GB, free: 17.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008793/0.4397, allocations: 429.1 kB / 0.548 GB, free: 17.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001933/0.4416, allocations: 1.428 MB / 0.5494 GB, free: 16.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005659/0.4422, allocations: 361 kB / 0.5498 GB, free: 16.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.4422, allocations: 3.969 kB / 0.5498 GB, free: 16.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.4422, allocations: 42.05 kB / 0.5498 GB, free: 16.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.4423, allocations: 0 / 0.5498 GB, free: 16.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.006671/0.4489, allocations: 1.171 MB / 0.551 GB, free: 16.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.449, allocations: 60.12 kB / 0.551 GB, free: 16.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004532/0.4494, allocations: 387 kB / 0.5514 GB, free: 16.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.4495, allocations: 29.08 kB / 0.5514 GB, free: 16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.4496, allocations: 211.7 kB / 0.5516 GB, free: 15.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.4496, allocations: 54.64 kB / 0.5517 GB, free: 15.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.929e-05/0.4497, allocations: 3.5 kB / 0.5517 GB, free: 15.85 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.215e-05/0.4497, allocations: 348.7 kB / 0.552 GB, free: 15.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002884/0.45, allocations: 152.4 kB / 0.5522 GB, free: 15.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002875/0.4503, allocations: 177.1 kB / 0.5523 GB, free: 15.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/0.4506, allocations: 159.7 kB / 0.5525 GB, free: 15.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4506, allocations: 0 / 0.5525 GB, free: 15.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.003511/0.4542, allocations: 0.8018 MB / 0.5533 GB, free: 15.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.4542, allocations: 3.844 kB / 0.5533 GB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.4542, allocations: 4 kB / 0.5533 GB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002844/0.4571, allocations: 0.5923 MB / 0.5538 GB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.4573, allocations: 51.48 kB / 0.5539 GB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00693/0.4642, allocations: 4.217 MB / 0.558 GB, free: 28.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004286/0.4647, allocations: 52.67 kB / 0.5581 GB, free: 28.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.4647, allocations: 9.016 kB / 0.5581 GB, free: 28.56 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002013/0.4649, allocations: 156.4 kB / 0.5582 GB, free: 28.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.821e-05/0.465, allocations: 31.88 kB / 0.5582 GB, free: 28.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.137e-05/0.4651, allocations: 39 kB / 0.5583 GB, free: 28.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.4651, allocations: 1.094 kB / 0.5583 GB, free: 28.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.4651, allocations: 5.188 kB / 0.5583 GB, free: 28.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.4651, allocations: 3.188 kB / 0.5583 GB, free: 28.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00348/0.4686, allocations: 1.107 MB / 0.5594 GB, free: 28.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.4686, allocations: 240 / 0.5594 GB, free: 28.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.4687, allocations: 32.48 kB / 0.5594 GB, free: 28.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002211/0.4709, allocations: 0.5116 MB / 0.5599 GB, free: 28.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.471, allocations: 2.531 kB / 0.5599 GB, free: 28.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004911/0.4759, allocations: 2.567 MB / 0.5624 GB, free: 26.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4759, allocations: 3.938 kB / 0.5624 GB, free: 26.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002815/0.4787, allocations: 0.7307 MB / 0.5631 GB, free: 26.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.4789, allocations: 144.2 kB / 0.5633 GB, free: 26.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.439e-05/0.4789, allocations: 6.438 kB / 0.5633 GB, free: 26.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/0.4792, allocations: 28.8 kB / 0.5633 GB, free: 26.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.4793, allocations: 12.8 kB / 0.5633 GB, free: 26.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.4793, allocations: 7.484 kB / 0.5633 GB, free: 26.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002989/0.4796, allocations: 306.7 kB / 0.5636 GB, free: 26.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4796, allocations: 0 / 0.5636 GB, free: 26.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005153/0.4802, allocations: 126.5 kB / 0.5637 GB, free: 26.33 MB / 378.7 MB 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 (10): * Single equations (assignments): 9 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001877/0.4803, allocations: 129.8 kB / 0.5639 GB, free: 26.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009943/0.4813, allocations: 0.5817 MB / 0.5644 GB, free: 25.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4814, allocations: 0 / 0.5644 GB, free: 25.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003567/0.4817, allocations: 274.7 kB / 0.5647 GB, free: 25.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.4821, allocations: 76.69 kB / 0.5648 GB, free: 25.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009508/0.4831, allocations: 0.699 MB / 0.5654 GB, free: 25.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.4834, allocations: 0.79 MB / 0.5662 GB, free: 24.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001267/0.4836, allocations: 29.78 kB / 0.5662 GB, free: 24.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.238e-05/0.4836, allocations: 30.66 kB / 0.5663 GB, free: 24.75 MB / 378.7 MB Notification: Performance of SimCode: time 7.81e-07/0.4836, allocations: 0 / 0.5663 GB, free: 24.75 MB / 378.7 MB Notification: Performance of Templates: time 0.01295/0.4966, allocations: 8.782 MB / 0.5749 GB, free: 21.55 MB / 378.7 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe 2>&1)