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.00175/0.00175, allocations: 104.5 kB / 16.4 MB, free: 6.496 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.002666/0.002666, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02771/0.02771, allocations: 5.396 MB / 296.6 MB, free: 9.477 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 63.89 kB / 413.5 MB, free: 22.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09111/0.09246, allocations: 50.62 MB / 464.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.005805/0.0983, allocations: 4.388 MB / 468.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00305/0.1014, allocations: 1.589 MB / 470.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005824/0.102, allocations: 8 kB / 470.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.103, allocations: 308.9 kB / 470.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007781/0.1038, allocations: 234.3 kB / 470.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004816/0.1043, allocations: 215.6 kB / 470.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0208/0.1252, allocations: 25.7 MB / 496.5 MB, free: 3.316 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01252/0.1377, allocations: 7.951 MB / 0.4926 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01434/0.1521, allocations: 9.349 MB / 0.5018 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2578/0.4099, allocations: 10.86 MB / 0.5124 GB, free: 21.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009643/0.4196, allocations: 2.703 MB / 0.515 GB, free: 21.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01171/0.4314, allocations: 2.713 MB / 0.5177 GB, free: 21.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009711/0.4411, allocations: 5.125 MB / 0.5227 GB, free: 19.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0227/0.4638, allocations: 9.539 MB / 0.532 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02564/0.4895, allocations: 28.92 MB / 0.5602 GB, free: 10.65 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.914e-06/0.4896, allocations: 3.625 kB / 0.5602 GB, free: 10.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4896, allocations: 0 / 0.5602 GB, free: 10.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007474/0.4903, allocations: 0 / 0.5602 GB, free: 10.65 MB / 398.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.1126/0.603, allocations: 31.41 MB / 0.5909 GB, free: 12.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.6031, allocations: 8.031 kB / 0.5909 GB, free: 12.17 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00856/0.6116, allocations: 1.458 MB / 0.5923 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05827/0.6699, allocations: 18.95 MB / 0.6108 GB, free: 8.051 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008605/0.6708, allocations: 0.6217 MB / 0.6115 GB, free: 7.426 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005236/0.6761, allocations: 0.8203 MB / 0.6123 GB, free: 6.605 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04841/0.7245, allocations: 15.67 MB / 0.6276 GB, free: 6.465 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004767/0.725, allocations: 22.16 kB / 0.6276 GB, free: 6.457 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004651/0.7297, allocations: 348 kB / 0.6279 GB, free: 6.117 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002123/0.7299, allocations: 219.9 kB / 0.6281 GB, free: 5.902 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04496/0.7749, allocations: 17.6 MB / 0.6453 GB, free: 4.406 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4313/1.206, allocations: 57.22 MB / 0.7012 GB, free: 139 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0393/1.246, allocations: 21.37 MB / 0.7221 GB, free: 132.7 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01374/1.259, allocations: 7.442 MB / 0.7293 GB, free: 130.4 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003578/1.26, allocations: 70.59 kB / 0.7294 GB, free: 130.4 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.391e-05/1.26, allocations: 88.75 kB / 0.7295 GB, free: 130.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=448): time 6.973e-06/1.26, allocations: 0 / 0.7295 GB, free: 130.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=448): time 0.1073/1.367, allocations: 36.29 MB / 0.7649 GB, free: 110.3 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.378e-05/1.367, allocations: 102.9 kB / 0.765 GB, free: 110.2 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03398/1.401, allocations: 15.18 MB / 0.7798 GB, free: 95.33 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001915/1.403, allocations: 109.7 kB / 0.7799 GB, free: 95.22 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.007699/1.411, allocations: 6.09 MB / 0.7859 GB, free: 90.25 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00291/1.414, allocations: 1.583 MB / 0.7874 GB, free: 88.71 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01102/1.425, allocations: 2.105 MB / 0.7895 GB, free: 86.59 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.579e-05/1.425, allocations: 301.1 kB / 0.7898 GB, free: 86.3 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01554/1.441, allocations: 7.644 MB / 0.7972 GB, free: 78.64 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01717/1.458, allocations: 8.837 MB / 0.8059 GB, free: 69.48 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02968/1.487, allocations: 14.39 MB / 0.8199 GB, free: 54.75 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.058e-05/1.488, allocations: 12 kB / 0.8199 GB, free: 54.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.122/1.61, allocations: 39.94 MB / 0.8589 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.898e-05/1.61, allocations: 20.88 kB / 0.859 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.522e-05/1.61, allocations: 24 kB / 0.859 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04794/1.658, allocations: 25.7 MB / 0.8841 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007548/1.665, allocations: 1.498 MB / 0.8855 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6595/2.325, allocations: 202.7 MB / 1.083 GB, free: 19.37 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02058/2.345, allocations: 2.563 MB / 1.086 GB, free: 17.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003362/2.349, allocations: 379.7 kB / 1.086 GB, free: 16.99 MB / 0.545 GB 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.01257/2.361, allocations: 4.517 MB / 1.091 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005487/2.367, allocations: 1.154 MB / 1.092 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3827/2.75, allocations: 31.81 MB / 1.123 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.756e-05/2.75, allocations: 43.47 kB / 1.123 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/2.75, allocations: 0 / 1.123 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001346/2.75, allocations: 23.44 kB / 1.123 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1451/2.895, allocations: 46.46 MB / 1.168 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.687e-05/2.895, allocations: 0 / 1.168 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002045/2.897, allocations: 455.1 kB / 1.169 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02687/2.924, allocations: 15.47 MB / 1.184 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00181/2.926, allocations: 113.5 kB / 1.184 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2932/3.219, allocations: 114.9 MB / 1.296 GB, free: 37.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/3.219, allocations: 0 / 1.296 GB, free: 37.01 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09451/3.314, allocations: 30.88 MB / 1.326 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2526/3.566, allocations: 2.648 MB / 1.329 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004152/3.57, allocations: 71.06 kB / 1.329 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01183/3.582, allocations: 1.397 MB / 1.33 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009645/3.583, allocations: 279 kB / 1.331 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001092/3.584, allocations: 139.6 kB / 1.331 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.02115/3.606, allocations: 10.5 MB / 1.341 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.31e-07/3.606, allocations: 0 / 1.341 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01729/3.623, allocations: 3.708 MB / 1.345 GB, free: 158.3 MB / 0.5606 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.001307/3.624, allocations: 195.3 kB / 1.345 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0756/3.7, allocations: 33.14 MB / 1.377 GB, free: 148 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/3.7, allocations: 0 / 1.377 GB, free: 148 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.05265/3.753, allocations: 17.28 MB / 1.394 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02022/3.773, allocations: 3.111 MB / 1.397 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0655/3.838, allocations: 29.7 MB / 1.426 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01053/3.849, allocations: 8.655 MB / 1.435 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002732/3.852, allocations: 0.6634 MB / 1.435 GB, free: 106 MB / 0.5606 GB Notification: Performance of SimCode: time 7.32e-07/3.852, allocations: 4 kB / 1.435 GB, free: 106 MB / 0.5606 GB Notification: Performance of Templates: time 4.687/8.539, allocations: 2.017 GB / 3.453 GB, free: 68.78 MB / 0.6075 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 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe 2>&1)