Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.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.SimpleModuleSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric") translateModel(PhotoVoltaics.Examples.SimpleModuleSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001168, allocations: 192.1 kB / 16.53 MB, free: 6.664 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1551/0.1551, allocations: 5.387 MB / 295.8 MB, free: 2.832 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 63.91 kB / 360.9 MB, free: 14.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1191, allocations: 50.62 MB / 411.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.005867/0.125, allocations: 3.436 MB / 415 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002226/0.1273, allocations: 1.27 MB / 416.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003615/0.1277, allocations: 4 kB / 416.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006569/0.1283, allocations: 214.6 kB / 416.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005685/0.1289, allocations: 154.8 kB / 416.6 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.1292, allocations: 119.8 kB / 416.7 MB, free: 6.223 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007567/0.13, allocations: 0.576 MB / 417.3 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002677/0.1303, allocations: 124.1 kB / 417.4 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003323/0.1306, allocations: 219.1 kB / 417.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003665/0.131, allocations: 255 kB / 417.9 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.1311, allocations: 56 kB / 417.9 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.1313, allocations: 60 kB / 418 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.1314, allocations: 111.6 kB / 418.1 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002567/0.1316, allocations: 230.8 kB / 418.3 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005579/0.1322, allocations: 0.5334 MB / 418.8 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1322, allocations: 0 / 418.8 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1322, allocations: 4 kB / 418.9 MB, free: 4.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.488e-05/0.1323, allocations: 0 / 418.9 MB, free: 4.062 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00211/0.1344, allocations: 0.8179 MB / 419.7 MB, free: 3.195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.1344, allocations: 12.03 kB / 419.7 MB, free: 3.184 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.1346, allocations: 44.38 kB / 419.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.1358, allocations: 0.4885 MB / 420.2 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.1358, allocations: 24.69 kB / 420.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.091e-05/0.1359, allocations: 27.94 kB / 420.3 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006938/0.1366, allocations: 317.4 kB / 420.6 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1366, allocations: 3.984 kB / 420.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.485e-05/0.1366, allocations: 12 kB / 420.6 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.1366, allocations: 4 kB / 420.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007221/0.1374, allocations: 286 kB / 420.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002438/0.1398, allocations: 1.335 MB / 422.2 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006774/0.1405, allocations: 307.5 kB / 422.5 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004116/0.1409, allocations: 140.8 kB / 422.6 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.141, allocations: 3.984 kB / 422.6 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1981/0.3391, allocations: 43.41 kB / 422.7 MB, free: 48.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 6.853e-06/0.3391, allocations: 0.8438 kB / 422.7 MB, free: 48.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.00385/0.343, allocations: 0.7419 MB / 423.4 MB, free: 48.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.343, allocations: 55.84 kB / 423.5 MB, free: 47.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006677/0.3437, allocations: 385.3 kB / 423.9 MB, free: 47.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.3437, allocations: 29.33 kB / 423.9 MB, free: 47.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.3439, allocations: 217.9 kB / 424.1 MB, free: 47.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.12e-05/0.3439, allocations: 52.17 kB / 424.2 MB, free: 47.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.3441, allocations: 60.5 kB / 424.2 MB, free: 47.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.239e-05/0.3442, allocations: 351.6 kB / 424.6 MB, free: 47.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003353/0.3445, allocations: 112.3 kB / 424.7 MB, free: 47.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003226/0.3448, allocations: 158.8 kB / 424.8 MB, free: 47.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000567/0.3454, allocations: 246.3 kB / 425.1 MB, free: 47.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3454, allocations: 0 / 425.1 MB, free: 47.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002468/0.3479, allocations: 0.6337 MB / 425.7 MB, free: 47.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.3479, allocations: 6.656 kB / 425.7 MB, free: 47.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.348, allocations: 4.062 kB / 425.7 MB, free: 47.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008896/0.3488, allocations: 257.6 kB / 426 MB, free: 47.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.3491, allocations: 49.92 kB / 426 MB, free: 47.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005575/0.3547, allocations: 3.914 MB / 429.9 MB, free: 44.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004346/0.3551, allocations: 44.06 kB / 430 MB, free: 44.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.3552, allocations: 10.62 kB / 430 MB, free: 44.09 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 (26): * Single equations (assignments): 24 * 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.0001809/0.3553, allocations: 157.1 kB / 430.1 MB, free: 43.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.335e-05/0.3554, allocations: 39.47 kB / 430.2 MB, free: 43.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.691e-05/0.3555, allocations: 36.94 kB / 430.2 MB, free: 43.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3555, allocations: 3.281 kB / 430.2 MB, free: 43.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.3555, allocations: 0 / 430.2 MB, free: 43.9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3555, allocations: 4.125 kB / 430.2 MB, free: 43.9 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002489/0.358, allocations: 0.9315 MB / 431.1 MB, free: 43.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.358, allocations: 4.812 kB / 431.1 MB, free: 43.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.3581, allocations: 24.09 kB / 431.2 MB, free: 43.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003917/0.3585, allocations: 180.7 kB / 431.3 MB, free: 43.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.3586, allocations: 3.969 kB / 431.4 MB, free: 43.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003718/0.3623, allocations: 2.139 MB / 433.5 MB, free: 41.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.3623, allocations: 7.359 kB / 433.5 MB, free: 41.72 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/0.3643, allocations: 0.5621 MB / 434.1 MB, free: 41.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.3645, allocations: 132.2 kB / 434.2 MB, free: 41.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.61e-05/0.3646, allocations: 7.938 kB / 434.2 MB, free: 41.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.3649, allocations: 26.73 kB / 434.2 MB, free: 41.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/0.3649, allocations: 17.41 kB / 434.2 MB, free: 41.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.365, allocations: 3.219 kB / 434.2 MB, free: 41.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002819/0.3652, allocations: 267.2 kB / 434.5 MB, free: 41.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3652, allocations: 0 / 434.5 MB, free: 41.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005197/0.3658, allocations: 98.16 kB / 434.6 MB, free: 41.19 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 (13): * Single equations (assignments): 12 * 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.0001351/0.3659, allocations: 105.8 kB / 434.7 MB, free: 41.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.3669, allocations: 0.5155 MB / 435.2 MB, free: 40.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3669, allocations: 0 / 435.2 MB, free: 40.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003146/0.3673, allocations: 219.9 kB / 435.4 MB, free: 40.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004903/0.3678, allocations: 81.58 kB / 435.5 MB, free: 40.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.3689, allocations: 0.6281 MB / 436.1 MB, free: 40.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.3691, allocations: 0.7939 MB / 436.9 MB, free: 39.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001707/0.3693, allocations: 38.44 kB / 437 MB, free: 39.56 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.625e-05/0.3693, allocations: 33.39 kB / 437 MB, free: 39.55 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3694, allocations: 0 / 437 MB, free: 39.55 MB / 350.1 MB Notification: Performance of Templates: time 0.009544/0.3789, allocations: 6.534 MB / 443.5 MB, free: 39.16 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe 2>&1)