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.0007759/0.0007759, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0009146/0.0009147, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1462/0.1462, allocations: 5.377 MB / 296.5 MB, free: 3.895 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004134/0.0004134, allocations: 11.98 kB / 361.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1096, allocations: 51.61 MB / 413.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.003869/0.1136, allocations: 3.811 MB / 417.3 MB, free: 6.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002312/0.1159, allocations: 1.497 MB / 418.8 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002509/0.1162, allocations: 11.94 kB / 418.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.1172, allocations: 446.7 kB / 419.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004615/0.1177, allocations: 206.6 kB / 419.5 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003014/0.118, allocations: 127.8 kB / 419.6 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.218/0.336, allocations: 26.62 MB / 446.2 MB, free: 32.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007909/0.344, allocations: 5.61 MB / 451.8 MB, free: 30.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01141/0.3555, allocations: 6.34 MB / 458.2 MB, free: 27.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01578/0.3713, allocations: 8.026 MB / 466.2 MB, free: 24.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005333/0.3766, allocations: 0.9029 MB / 467.1 MB, free: 24.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008263/0.3849, allocations: 0.9111 MB / 468 MB, free: 24.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007242/0.3922, allocations: 2.919 MB / 470.9 MB, free: 23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0133/0.4055, allocations: 2.731 MB / 473.7 MB, free: 21.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02555/0.4311, allocations: 23.22 MB / 496.9 MB, free: 5.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.337e-06/0.4312, allocations: 0 / 496.9 MB, free: 5.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.4312, allocations: 3.359 kB / 496.9 MB, free: 5.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.001033/0.4322, allocations: 0 / 496.9 MB, free: 5.379 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: 2129 * Number of variables: 2129 Notification: Performance of Generate backend data structure: time 0.08956/0.5218, allocations: 28.26 MB / 0.5128 GB, free: 9.059 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.5219, allocations: 8.031 kB / 0.5128 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00874/0.5306, allocations: 1.451 MB / 0.5143 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06345/0.5941, allocations: 20.65 MB / 0.5344 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008828/0.595, allocations: 0.6217 MB / 0.535 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005151/0.6002, allocations: 0.8203 MB / 0.5358 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04868/0.6489, allocations: 16.9 MB / 0.5523 GB, free: 180 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004789/0.6494, allocations: 20.66 kB / 0.5524 GB, free: 160 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004912/0.6543, allocations: 347.9 kB / 0.5527 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002227/0.6546, allocations: 216 kB / 0.5529 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04721/0.7018, allocations: 20.21 MB / 0.5726 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3876/1.089, allocations: 61.68 MB / 0.6329 GB, free: 75.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04069/1.13, allocations: 24.99 MB / 0.6573 GB, free: 63.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01519/1.145, allocations: 8.676 MB / 0.6657 GB, free: 60.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004409/1.146, allocations: 78.09 kB / 0.6658 GB, free: 60.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.838e-05/1.146, allocations: 76.7 kB / 0.6659 GB, free: 60.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=448): time 7.744e-06/1.146, allocations: 0.8438 kB / 0.6659 GB, free: 60.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=448): time 0.1312/1.277, allocations: 51.5 MB / 0.7162 GB, free: 13.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/1.277, allocations: 102.9 kB / 0.7163 GB, free: 13.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03883/1.316, allocations: 16.19 MB / 0.7321 GB, free: 13.55 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002037/1.318, allocations: 109.7 kB / 0.7322 GB, free: 13.44 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.009157/1.327, allocations: 6.092 MB / 0.7381 GB, free: 7.777 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003483/1.331, allocations: 1.586 MB / 0.7397 GB, free: 6.281 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003404/1.334, allocations: 172 kB / 0.7399 GB, free: 6.113 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.001021/1.335, allocations: 0.666 MB / 0.7405 GB, free: 5.438 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0204/1.356, allocations: 9.187 MB / 0.7495 GB, free: 12.24 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0207/1.377, allocations: 10.38 MB / 0.7596 GB, free: 1.516 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2338/1.61, allocations: 9.856 MB / 0.7692 GB, free: 123.9 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.448e-05/1.61, allocations: 10.25 kB / 0.7693 GB, free: 123.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.1424/1.753, allocations: 54.53 MB / 0.8225 GB, free: 113.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.343e-05/1.753, allocations: 14 kB / 0.8225 GB, free: 113.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.923e-05/1.753, allocations: 24.59 kB / 0.8225 GB, free: 113.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04899/1.802, allocations: 30.53 MB / 0.8524 GB, free: 86.28 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008105/1.81, allocations: 1.569 MB / 0.8539 GB, free: 84.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6539/2.464, allocations: 225.3 MB / 1.074 GB, free: 54.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02448/2.489, allocations: 3.375 MB / 1.077 GB, free: 51.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004748/2.493, allocations: 383.7 kB / 1.078 GB, free: 51.34 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 (linear and non-linear blocks): 48 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 48 {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: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {47 200} Notification: Performance of prepare postOptimizeDAE: time 0.01711/2.511, allocations: 4.516 MB / 1.082 GB, free: 46.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008711/2.519, allocations: 1.157 MB / 1.083 GB, free: 45.75 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3956/2.915, allocations: 45.81 MB / 1.128 GB, free: 113.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.557e-05/2.915, allocations: 44.25 kB / 1.128 GB, free: 113.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/2.915, allocations: 0 / 1.128 GB, free: 113.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001447/2.915, allocations: 22.03 kB / 1.128 GB, free: 113.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1639/3.079, allocations: 62.99 MB / 1.189 GB, free: 105.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.835e-05/3.079, allocations: 0 / 1.189 GB, free: 105.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002052/3.081, allocations: 456.2 kB / 1.19 GB, free: 105.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03121/3.113, allocations: 20.31 MB / 1.21 GB, free: 97.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002689/3.115, allocations: 114.6 kB / 1.21 GB, free: 97.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6743/3.79, allocations: 143.5 MB / 1.35 GB, free: 103.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/3.79, allocations: 4.75 kB / 1.35 GB, free: 103.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1229/3.913, allocations: 44.85 MB / 1.394 GB, free: 93.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01468/3.927, allocations: 3.012 MB / 1.397 GB, free: 90.88 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009565/3.937, allocations: 72 kB / 1.397 GB, free: 90.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01736/3.954, allocations: 2.072 MB / 1.399 GB, free: 88.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00201/3.956, allocations: 272.1 kB / 1.399 GB, free: 88.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002652/3.959, allocations: 143.8 kB / 1.399 GB, free: 88.32 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.03114/3.99, allocations: 11.17 MB / 1.41 GB, free: 77.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.41e-07/3.99, allocations: 0 / 1.41 GB, free: 77.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.03373/4.024, allocations: 4.078 MB / 1.414 GB, free: 73.27 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {48 154} Notification: Performance of Backend phase and start with SimCode phase: time 0.002966/4.027, allocations: 197 kB / 1.414 GB, free: 73.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.09414/4.121, allocations: 40.65 MB / 1.454 GB, free: 31.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/4.121, allocations: 448 / 1.454 GB, free: 31.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.06287/4.184, allocations: 23.71 MB / 1.477 GB, free: 7.953 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02974/4.214, allocations: 3.042 MB / 1.48 GB, free: 5.035 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3467/4.561, allocations: 34.28 MB / 1.514 GB, free: 114.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01408/4.575, allocations: 8.686 MB / 1.522 GB, free: 113.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.01388/4.589, allocations: 3.643 MB / 1.526 GB, free: 113 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003419/4.592, allocations: 0.6378 MB / 1.526 GB, free: 113 MB / 0.4981 GB Notification: Performance of SimCode: time 1.393e-06/4.592, allocations: 0.9688 kB / 1.526 GB, free: 113 MB / 0.4981 GB Notification: Performance of Templates: time 0.7286/5.321, allocations: 272.8 MB / 1.793 GB, free: 57.84 MB / 0.4981 GB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: