Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.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.SimplePlantSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric") translateModel(PhotoVoltaics.Examples.SimplePlantSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01035/0.01035, allocations: 97.23 kB / 15.73 MB, free: 6.043 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.002113/0.002114, allocations: 194.3 kB / 16.68 MB, free: 5.973 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.516/1.516, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1613/0.1613, allocations: 5.388 MB / 295.9 MB, free: 2.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002454/0.002454, allocations: 59.91 kB / 412.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3145, allocations: 50.61 MB / 463.4 MB, free: 21.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.004076/0.3186, allocations: 3.514 MB / 466.9 MB, free: 19.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002155/0.3208, allocations: 1.29 MB / 468.2 MB, free: 18.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003186/0.3211, allocations: 4.312 kB / 468.2 MB, free: 18.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006772/0.3218, allocations: 219.1 kB / 468.4 MB, free: 18.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004736/0.3223, allocations: 171.6 kB / 468.6 MB, free: 17.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.3226, allocations: 119 kB / 468.7 MB, free: 17.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006776/0.3233, allocations: 0.5972 MB / 469.3 MB, free: 17.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000255/0.3235, allocations: 125.7 kB / 469.4 MB, free: 17.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002834/0.3238, allocations: 220.9 kB / 469.6 MB, free: 17.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003578/0.3242, allocations: 273.6 kB / 469.9 MB, free: 17.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.207e-05/0.3243, allocations: 54.75 kB / 470 MB, free: 17.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.3244, allocations: 66.3 kB / 470 MB, free: 17.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.863e-05/0.3246, allocations: 117.5 kB / 470.1 MB, free: 17.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002224/0.3248, allocations: 248.1 kB / 470.4 MB, free: 17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007075/0.3255, allocations: 0.5567 MB / 470.9 MB, free: 16.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3255, allocations: 0.7031 kB / 470.9 MB, free: 16.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3255, allocations: 1.375 kB / 470.9 MB, free: 16.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.3255, allocations: 0 / 470.9 MB, free: 16.77 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001842/0.3274, allocations: 0.8557 MB / 471.8 MB, free: 16.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.3274, allocations: 10.34 kB / 471.8 MB, free: 16.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.3276, allocations: 48.03 kB / 471.9 MB, free: 16.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.3289, allocations: 0.5159 MB / 472.4 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.329, allocations: 23.66 kB / 472.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.05e-05/0.329, allocations: 29.03 kB / 472.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008382/0.3299, allocations: 361 kB / 472.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.3299, allocations: 3.938 kB / 472.8 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/0.3299, allocations: 10.44 kB / 472.8 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.3299, allocations: 7.625 kB / 472.8 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009669/0.3309, allocations: 367.7 kB / 473.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002316/0.3332, allocations: 1.415 MB / 474.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.3343, allocations: 448.2 kB / 475 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004682/0.3348, allocations: 164.3 kB / 475.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.3348, allocations: 2.734 kB / 475.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.3349, allocations: 33.03 kB / 475.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.745e-06/0.3349, allocations: 0 / 475.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.005247/0.3401, allocations: 1.025 MB / 476.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.3402, allocations: 54.91 kB / 476.3 MB, free: 13.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005187/0.3407, allocations: 397.1 kB / 476.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.3408, allocations: 27.58 kB / 476.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.3409, allocations: 233.4 kB / 476.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.996e-05/0.3409, allocations: 74.08 kB / 477 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.3411, allocations: 71.41 kB / 477.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.04e-05/0.3412, allocations: 350.9 kB / 477.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004084/0.3416, allocations: 144.5 kB / 477.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004455/0.342, allocations: 190.4 kB / 477.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007783/0.3428, allocations: 310.2 kB / 478 MB, free: 12.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3428, allocations: 0 / 478 MB, free: 12.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.003714/0.3466, allocations: 0.8334 MB / 478.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.3466, allocations: 5.062 kB / 478.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.3466, allocations: 1.125 kB / 478.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/0.3477, allocations: 327.6 kB / 479.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.348, allocations: 58.61 kB / 479.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007417/0.3554, allocations: 4.325 MB / 483.6 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005352/0.356, allocations: 49.91 kB / 483.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.158e-05/0.356, allocations: 15.67 kB / 483.6 MB, free: 8.207 MB / 350.1 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 (31): * Single equations (assignments): 29 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002063/0.3562, allocations: 157.6 kB / 483.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.956e-05/0.3563, allocations: 37.39 kB / 483.8 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.387e-05/0.3564, allocations: 45.94 kB / 483.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.3564, allocations: 6.812 kB / 483.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3564, allocations: 0 / 483.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.3564, allocations: 128 / 483.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003849/0.3603, allocations: 1.181 MB / 485.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.3603, allocations: 0 / 485.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.3604, allocations: 37.84 kB / 485.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006385/0.3611, allocations: 248.5 kB / 485.4 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.3611, allocations: 10.14 kB / 485.4 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006026/0.3672, allocations: 2.559 MB / 487.9 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3672, allocations: 1.062 kB / 487.9 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003475/0.3707, allocations: 0.7864 MB / 488.7 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/0.3709, allocations: 136.8 kB / 488.8 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.087e-05/0.371, allocations: 2.375 kB / 488.8 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003287/0.3713, allocations: 28.72 kB / 488.9 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/0.3714, allocations: 23.5 kB / 488.9 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.3714, allocations: 13.48 kB / 488.9 MB, free: 4.328 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003198/0.3717, allocations: 275.5 kB / 489.2 MB, free: 4.156 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.533e-06/0.3717, allocations: 0 / 489.2 MB, free: 4.156 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005503/0.3723, allocations: 116.6 kB / 489.3 MB, free: 4.133 MB / 350.1 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 (18): * Single equations (assignments): 17 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001437/0.3725, allocations: 104.1 kB / 489.4 MB, free: 4.035 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001249/0.3737, allocations: 0.6021 MB / 490 MB, free: 3.609 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3737, allocations: 5.312 kB / 490 MB, free: 3.605 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004772/0.3742, allocations: 274.4 kB / 490.3 MB, free: 3.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000533/0.3748, allocations: 94.39 kB / 490.4 MB, free: 3.359 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.3763, allocations: 0.7043 MB / 491.1 MB, free: 2.902 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.3766, allocations: 0.8024 MB / 491.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001727/0.3767, allocations: 40.33 kB / 491.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.212e-05/0.3768, allocations: 34.42 kB / 491.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3768, allocations: 0 / 491.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of Templates: time 0.01282/0.3897, allocations: 8.194 MB / 0.4884 GB, free: 11.61 MB / 366.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe 2>&1)