Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.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.SimpleModuleShadow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow") translateModel(PhotoVoltaics.Examples.SimpleModuleShadow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 104 kB / 16.35 MB, free: 5.824 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.00164/0.00164, allocations: 192.4 kB / 17.29 MB, free: 5.48 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02675/0.02675, allocations: 5.395 MB / 296.5 MB, free: 9.492 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002357/0.002357, allocations: 59.91 kB / 362.4 MB, free: 7.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.211, allocations: 50.61 MB / 413 MB, free: 29.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.004891/0.2159, allocations: 4.389 MB / 417.4 MB, free: 24.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002164/0.2181, allocations: 1.594 MB / 419 MB, free: 23.31 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002531/0.2184, allocations: 11.94 kB / 419 MB, free: 23.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007203/0.2191, allocations: 289 kB / 419.3 MB, free: 23.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003804/0.2195, allocations: 246.3 kB / 419.5 MB, free: 22.78 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.2199, allocations: 211.6 kB / 419.7 MB, free: 22.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01455/0.2344, allocations: 25.7 MB / 445.4 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01059/0.245, allocations: 7.943 MB / 453.4 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01154/0.2566, allocations: 9.345 MB / 462.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01617/0.2728, allocations: 10.86 MB / 473.6 MB, free: 488 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006585/0.2794, allocations: 2.703 MB / 476.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007175/0.2866, allocations: 2.719 MB / 479 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006538/0.2932, allocations: 5.116 MB / 484.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01681/0.31, allocations: 9.535 MB / 493.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3246/0.6346, allocations: 28.89 MB / 0.5103 GB, free: 48.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.6346, allocations: 0 / 0.5103 GB, free: 48.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.6346, allocations: 1.094 kB / 0.5103 GB, free: 48.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000808/0.6355, allocations: 0 / 0.5103 GB, free: 48.16 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.1004/0.7358, allocations: 31.42 MB / 0.541 GB, free: 26 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.7359, allocations: 12.03 kB / 0.541 GB, free: 25.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008607/0.7445, allocations: 1.448 MB / 0.5424 GB, free: 24.53 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05651/0.8011, allocations: 18.95 MB / 0.5609 GB, free: 5.895 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007381/0.8018, allocations: 0.6217 MB / 0.5615 GB, free: 5.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004882/0.8067, allocations: 0.8203 MB / 0.5623 GB, free: 4.449 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04163/0.8484, allocations: 15.68 MB / 0.5776 GB, free: 4.309 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003217/0.8488, allocations: 22.06 kB / 0.5776 GB, free: 4.301 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004363/0.8531, allocations: 348 kB / 0.578 GB, free: 3.961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002667/0.8534, allocations: 212 kB / 0.5782 GB, free: 3.754 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07617/0.9296, allocations: 17.6 MB / 0.5953 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1113/1.041, allocations: 57.22 MB / 0.6512 GB, free: 9.074 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03464/1.076, allocations: 21.38 MB / 0.6721 GB, free: 3.062 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.245/1.321, allocations: 7.438 MB / 0.6794 GB, free: 155.3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000256/1.321, allocations: 70.55 kB / 0.6794 GB, free: 155.3 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.014e-05/1.321, allocations: 77.89 kB / 0.6795 GB, free: 155.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=448): time 6.222e-06/1.321, allocations: 2.75 kB / 0.6795 GB, free: 155.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=448): time 0.1006/1.422, allocations: 36.31 MB / 0.715 GB, free: 140.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.873e-05/1.422, allocations: 94.92 kB / 0.7151 GB, free: 140.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02511/1.447, allocations: 15.18 MB / 0.7299 GB, free: 125.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002003/1.449, allocations: 109.7 kB / 0.73 GB, free: 125.4 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0065/1.455, allocations: 6.091 MB / 0.7359 GB, free: 120.6 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002522/1.458, allocations: 1.584 MB / 0.7375 GB, free: 119.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005439/1.463, allocations: 2.098 MB / 0.7395 GB, free: 117 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.809e-05/1.463, allocations: 305.1 kB / 0.7398 GB, free: 116.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0134/1.477, allocations: 7.64 MB / 0.7473 GB, free: 109.1 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0155/1.492, allocations: 8.838 MB / 0.7559 GB, free: 99.91 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02628/1.519, allocations: 14.4 MB / 0.77 GB, free: 85.11 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.002e-05/1.519, allocations: 4 kB / 0.77 GB, free: 85.11 MB / 478.1 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.1354/1.654, allocations: 39.95 MB / 0.809 GB, free: 44.91 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/1.654, allocations: 12 kB / 0.809 GB, free: 44.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.283e-05/1.654, allocations: 24 kB / 0.809 GB, free: 44.88 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04329/1.698, allocations: 25.69 MB / 0.8341 GB, free: 19.04 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006388/1.704, allocations: 1.503 MB / 0.8356 GB, free: 17.53 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7349/2.439, allocations: 202.7 MB / 1.034 GB, free: 130 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01858/2.458, allocations: 2.559 MB / 1.036 GB, free: 130 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003013/2.461, allocations: 381 kB / 1.036 GB, free: 130 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.01051/2.471, allocations: 4.517 MB / 1.041 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003429/2.475, allocations: 1.158 MB / 1.042 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09222/2.567, allocations: 31.8 MB / 1.073 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.16e-05/2.567, allocations: 45.09 kB / 1.073 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/2.567, allocations: 0 / 1.073 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001218/2.567, allocations: 21.7 kB / 1.073 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1268/2.694, allocations: 46.47 MB / 1.118 GB, free: 93.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.868e-05/2.694, allocations: 0 / 1.118 GB, free: 93.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001809/2.696, allocations: 451.4 kB / 1.119 GB, free: 92.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02398/2.72, allocations: 15.46 MB / 1.134 GB, free: 77.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001377/2.721, allocations: 111.9 kB / 1.134 GB, free: 77.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4881/3.209, allocations: 114.9 MB / 1.246 GB, free: 139.9 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/3.209, allocations: 3.906 kB / 1.246 GB, free: 139.9 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08865/3.298, allocations: 30.87 MB / 1.276 GB, free: 131 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009493/3.308, allocations: 2.666 MB / 1.279 GB, free: 128.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003894/3.311, allocations: 68 kB / 1.279 GB, free: 128.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01118/3.323, allocations: 1.394 MB / 1.281 GB, free: 127.5 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006233/3.323, allocations: 276.1 kB / 1.281 GB, free: 127.3 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000695/3.324, allocations: 143.9 kB / 1.281 GB, free: 127.1 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.01694/3.341, allocations: 10.49 MB / 1.291 GB, free: 116.7 MB / 0.4982 GB Notification: Performance of sort global known variables: time 9.32e-07/3.341, allocations: 0 / 1.291 GB, free: 116.7 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01469/3.356, allocations: 3.717 MB / 1.295 GB, free: 113.1 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.0009558/3.357, allocations: 190.8 kB / 1.295 GB, free: 112.9 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.07471/3.431, allocations: 33.13 MB / 1.327 GB, free: 79.05 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/3.431, allocations: 0 / 1.327 GB, free: 79.05 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.05292/3.484, allocations: 17.28 MB / 1.344 GB, free: 61.73 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01564/3.5, allocations: 3.123 MB / 1.347 GB, free: 58.7 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.058/3.558, allocations: 29.59 MB / 1.376 GB, free: 29.18 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009891/3.568, allocations: 8.686 MB / 1.385 GB, free: 20.45 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.009703/3.578, allocations: 3.771 MB / 1.388 GB, free: 16.67 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001947/3.58, allocations: 0.6282 MB / 1.389 GB, free: 16.04 MB / 0.4982 GB Notification: Performance of SimCode: time 8.02e-07/3.58, allocations: 0 / 1.389 GB, free: 16.04 MB / 0.4982 GB Notification: Performance of Templates: time 0.7048/4.284, allocations: 269.7 MB / 1.652 GB, free: 122.9 MB / 0.5138 GB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe 2>&1)