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.001011/0.001011, allocations: 181.7 kB / 15.98 MB, free: 5.77 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.181/1.181, allocations: 222.9 MB / 239.7 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009524/0.0009524, allocations: 94.89 kB / 289.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.0243/0.0243, allocations: 5.395 MB / 345.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 53.8 kB / 410.2 MB, free: 57.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06436/0.06552, allocations: 50.63 MB / 460.8 MB, free: 7.016 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.003083/0.06865, allocations: 3.419 MB / 464.3 MB, free: 3.566 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.06978, allocations: 1.25 MB / 465.5 MB, free: 2.312 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.06992, allocations: 4 kB / 465.5 MB, free: 2.309 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000409/0.07033, allocations: 203 kB / 465.7 MB, free: 2.109 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002137/0.07056, allocations: 135 kB / 465.8 MB, free: 1.977 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001254/0.0707, allocations: 107.9 kB / 465.9 MB, free: 1.871 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002961/0.071, allocations: 0.5253 MB / 466.5 MB, free: 1.344 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.07116, allocations: 112 kB / 466.6 MB, free: 1.227 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.07129, allocations: 187.1 kB / 466.8 MB, free: 1.043 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.07148, allocations: 227 kB / 467 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.323e-05/0.07153, allocations: 24 kB / 467 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.991e-05/0.07161, allocations: 35.98 kB / 467 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.028e-05/0.07167, allocations: 83.64 kB / 467.1 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.07179, allocations: 198.9 kB / 467.3 MB, free: 496 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003225/0.07212, allocations: 0.4905 MB / 467.8 MB, free: 15.99 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.07213, allocations: 4 kB / 467.8 MB, free: 15.99 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.07214, allocations: 0 / 467.8 MB, free: 15.99 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.07215, allocations: 0 / 467.8 MB, free: 15.99 MB / 314.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.001675/0.07383, allocations: 0.8102 MB / 468.6 MB, free: 15.13 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.07387, allocations: 8.875 kB / 468.6 MB, free: 15.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.371e-05/0.07396, allocations: 56.31 kB / 468.7 MB, free: 15.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008914/0.07486, allocations: 480.1 kB / 469.2 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.07489, allocations: 24.69 kB / 469.2 MB, free: 14.53 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.766e-05/0.07493, allocations: 24 kB / 469.2 MB, free: 14.51 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004957/0.07543, allocations: 293.1 kB / 469.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.07545, allocations: 0 / 469.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.07548, allocations: 12 kB / 469.5 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.0755, allocations: 8 kB / 469.5 MB, free: 14.19 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000548/0.07605, allocations: 253.5 kB / 469.8 MB, free: 13.94 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001861/0.07792, allocations: 1.267 MB / 471 MB, free: 12.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004736/0.07841, allocations: 271.5 kB / 471.3 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002705/0.07869, allocations: 104.8 kB / 471.4 MB, free: 12.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.07872, allocations: 4 kB / 471.4 MB, free: 12.19 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.07875, allocations: 42.55 kB / 471.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.07875, allocations: 0 / 471.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.003027/0.08178, allocations: 0.7252 MB / 472.2 MB, free: 11.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.08183, allocations: 59.41 kB / 472.2 MB, free: 11.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003589/0.0822, allocations: 389.5 kB / 472.6 MB, free: 10.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.08223, allocations: 25.7 kB / 472.6 MB, free: 10.9 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.08236, allocations: 219.7 kB / 472.8 MB, free: 10.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.0824, allocations: 35.53 kB / 472.9 MB, free: 10.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.216e-05/0.0825, allocations: 57.59 kB / 472.9 MB, free: 10.58 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.08261, allocations: 346.8 kB / 473.3 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/0.08286, allocations: 99.94 kB / 473.4 MB, free: 10.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.08311, allocations: 133.1 kB / 473.5 MB, free: 9.996 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004448/0.08357, allocations: 220.8 kB / 473.7 MB, free: 9.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.08358, allocations: 4 kB / 473.7 MB, free: 9.766 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001984/0.08557, allocations: 0.552 MB / 474.3 MB, free: 9.203 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.08559, allocations: 10.34 kB / 474.3 MB, free: 9.195 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.08561, allocations: 4 kB / 474.3 MB, free: 9.191 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000751/0.08636, allocations: 245.5 kB / 474.5 MB, free: 8.945 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.08655, allocations: 47.97 kB / 474.6 MB, free: 8.898 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004535/0.0911, allocations: 3.463 MB / 478 MB, free: 5.164 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/0.09139, allocations: 39.83 kB / 478.1 MB, free: 5.125 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.09142, allocations: 11.98 kB / 478.1 MB, free: 5.113 MB / 314.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 (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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 {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001367/0.09157, allocations: 145.7 kB / 478.2 MB, free: 4.961 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.616e-05/0.09163, allocations: 35.56 kB / 478.3 MB, free: 4.926 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.929e-05/0.09169, allocations: 35.12 kB / 478.3 MB, free: 4.891 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.0917, allocations: 0 / 478.3 MB, free: 4.891 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-06/0.09171, allocations: 0 / 478.3 MB, free: 4.891 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.09171, allocations: 0 / 478.3 MB, free: 4.891 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002034/0.09375, allocations: 0.8549 MB / 479.2 MB, free: 3.973 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.09377, allocations: 7.938 kB / 479.2 MB, free: 3.965 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.259e-05/0.09386, allocations: 19.98 kB / 479.2 MB, free: 3.945 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003113/0.09418, allocations: 164.8 kB / 479.3 MB, free: 3.781 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.0942, allocations: 7.984 kB / 479.3 MB, free: 3.773 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002873/0.09708, allocations: 1.859 MB / 481.2 MB, free: 1.781 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.09709, allocations: 0 / 481.2 MB, free: 1.781 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001992/0.09909, allocations: 1.185 MB / 482.4 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.09922, allocations: 132.6 kB / 482.5 MB, free: 392 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.09926, allocations: 4 kB / 482.5 MB, free: 388 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.09951, allocations: 19.97 kB / 482.5 MB, free: 368 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.09956, allocations: 11.98 kB / 482.6 MB, free: 356 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.09958, allocations: 4 kB / 482.6 MB, free: 352 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002459/0.09983, allocations: 275.2 kB / 482.8 MB, free: 76 kB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.09984, allocations: 0 / 482.8 MB, free: 76 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.1375/0.2373, allocations: 85.2 kB / 482.9 MB, free: 32.41 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 8 * 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 {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000145/0.2375, allocations: 97.28 kB / 483 MB, free: 32.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009442/0.2385, allocations: 475.2 kB / 483.5 MB, free: 32.1 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2385, allocations: 0 / 483.5 MB, free: 32.1 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002858/0.2388, allocations: 203.5 kB / 483.7 MB, free: 31.99 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005774/0.2394, allocations: 74.95 kB / 483.7 MB, free: 31.99 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.2404, allocations: 0.8404 MB / 484.6 MB, free: 31.49 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001887/0.2406, allocations: 0.7818 MB / 485.4 MB, free: 30.79 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001618/0.2408, allocations: 40.28 kB / 485.4 MB, free: 30.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.291e-05/0.2408, allocations: 24.16 kB / 485.4 MB, free: 30.78 MB / 314.7 MB Notification: Performance of SimCode: time 2.9e-07/0.2408, allocations: 3.594 kB / 485.4 MB, free: 30.78 MB / 314.7 MB Notification: Performance of Templates: time 0.009389/0.2502, allocations: 6.015 MB / 491.4 MB, free: 30.18 MB / 314.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)