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.005144/0.005144, allocations: 102.9 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.001104/0.001104, allocations: 193.5 kB / 16.67 MB, free: 5.961 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.301/1.301, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02627/0.02627, allocations: 5.398 MB / 295.9 MB, free: 9.449 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.91 kB / 412.8 MB, free: 22.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07892/0.08024, allocations: 50.62 MB / 463.4 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.004925/0.08519, allocations: 4.397 MB / 467.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002619/0.08783, allocations: 1.585 MB / 469.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000401/0.08826, allocations: 8 kB / 469.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008089/0.08908, allocations: 308.9 kB / 469.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005742/0.08969, allocations: 242.3 kB / 469.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004031/0.0901, allocations: 203.7 kB / 470.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02023/0.1103, allocations: 25.7 MB / 495.8 MB, free: 3.281 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01072/0.1211, allocations: 7.943 MB / 0.492 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01275/0.1339, allocations: 9.353 MB / 0.5011 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2263/0.3602, allocations: 10.85 MB / 0.5117 GB, free: 21.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01074/0.371, allocations: 2.704 MB / 0.5144 GB, free: 21.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01049/0.3815, allocations: 2.714 MB / 0.517 GB, free: 21.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008619/0.3902, allocations: 5.122 MB / 0.522 GB, free: 19.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01443/0.4046, allocations: 9.541 MB / 0.5313 GB, free: 13.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02475/0.4294, allocations: 28.92 MB / 0.5596 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.4294, allocations: 2.75 kB / 0.5596 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.4294, allocations: 0 / 0.5596 GB, free: 10.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0008563/0.4303, allocations: 0 / 0.5596 GB, free: 10.66 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.1104/0.5407, allocations: 31.41 MB / 0.5902 GB, free: 12.12 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.5408, allocations: 12.03 kB / 0.5903 GB, free: 12.11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01271/0.5535, allocations: 1.449 MB / 0.5917 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08467/0.6382, allocations: 18.95 MB / 0.6102 GB, free: 7.992 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001122/0.6394, allocations: 0.6256 MB / 0.6108 GB, free: 7.363 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005786/0.6452, allocations: 0.8163 MB / 0.6116 GB, free: 6.547 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07119/0.7164, allocations: 15.67 MB / 0.6269 GB, free: 6.414 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005305/0.717, allocations: 28.5 kB / 0.6269 GB, free: 6.402 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005824/0.7229, allocations: 348 kB / 0.6272 GB, free: 6.062 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003216/0.7232, allocations: 214.7 kB / 0.6275 GB, free: 5.855 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05891/0.7822, allocations: 17.6 MB / 0.6446 GB, free: 4.363 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4204/1.203, allocations: 57.23 MB / 0.7005 GB, free: 139.9 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03429/1.237, allocations: 21.37 MB / 0.7214 GB, free: 133.8 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01138/1.248, allocations: 7.444 MB / 0.7287 GB, free: 131.5 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002034/1.249, allocations: 69.09 kB / 0.7287 GB, free: 131.5 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/1.249, allocations: 80.91 kB / 0.7288 GB, free: 131.4 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=448): time 5.5e-06/1.249, allocations: 0 / 0.7288 GB, free: 131.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=448): time 0.09569/1.344, allocations: 36.3 MB / 0.7643 GB, free: 111.9 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/1.344, allocations: 102.9 kB / 0.7644 GB, free: 111.8 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02573/1.37, allocations: 15.18 MB / 0.7792 GB, free: 96.93 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.002308/1.372, allocations: 113.7 kB / 0.7793 GB, free: 96.81 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.006719/1.379, allocations: 6.09 MB / 0.7852 GB, free: 91.84 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002757/1.382, allocations: 1.577 MB / 0.7868 GB, free: 90.31 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009934/1.392, allocations: 2.101 MB / 0.7888 GB, free: 88.19 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.767e-05/1.392, allocations: 309.1 kB / 0.7891 GB, free: 87.89 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01407/1.406, allocations: 7.648 MB / 0.7966 GB, free: 80.23 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01398/1.42, allocations: 8.833 MB / 0.8052 GB, free: 71.07 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0257/1.446, allocations: 14.4 MB / 0.8193 GB, free: 56.34 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.321e-05/1.446, allocations: 8 kB / 0.8193 GB, free: 56.33 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.115/1.561, allocations: 39.94 MB / 0.8583 GB, free: 16.14 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.877e-05/1.561, allocations: 19.94 kB / 0.8583 GB, free: 16.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.342e-05/1.561, allocations: 24 kB / 0.8583 GB, free: 16.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04852/1.61, allocations: 25.71 MB / 0.8834 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007666/1.617, allocations: 1.494 MB / 0.8849 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6418/2.259, allocations: 202.7 MB / 1.083 GB, free: 22.56 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02362/2.283, allocations: 2.562 MB / 1.085 GB, free: 20.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003755/2.287, allocations: 379.6 kB / 1.086 GB, free: 20.18 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.01361/2.3, allocations: 4.525 MB / 1.09 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006001/2.306, allocations: 1.156 MB / 1.091 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4251/2.731, allocations: 31.8 MB / 1.122 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.818e-05/2.731, allocations: 43.19 kB / 1.122 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/2.731, allocations: 0.8438 kB / 1.122 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001515/2.732, allocations: 22.23 kB / 1.122 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1384/2.87, allocations: 46.47 MB / 1.168 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.67e-05/2.87, allocations: 1.188 kB / 1.168 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002054/2.872, allocations: 452.3 kB / 1.168 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02547/2.898, allocations: 15.47 MB / 1.183 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001683/2.899, allocations: 106.4 kB / 1.183 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2925/3.192, allocations: 114.9 MB / 1.296 GB, free: 41.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/3.192, allocations: 3.688 kB / 1.296 GB, free: 41.77 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09456/3.286, allocations: 30.88 MB / 1.326 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008947/3.295, allocations: 2.65 MB / 1.328 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004621/3.3, allocations: 76 kB / 1.328 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2789/3.579, allocations: 1.397 MB / 1.33 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001262/3.58, allocations: 278.4 kB / 1.33 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001294/3.582, allocations: 145.5 kB / 1.33 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.02526/3.607, allocations: 10.49 MB / 1.34 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.3e-07/3.607, allocations: 0 / 1.34 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.02264/3.63, allocations: 3.705 MB / 1.344 GB, free: 159.4 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.001541/3.631, allocations: 194.1 kB / 1.344 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0773/3.708, allocations: 33.13 MB / 1.377 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/3.709, allocations: 0 / 1.377 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.05226/3.761, allocations: 17.29 MB / 1.394 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01804/3.779, allocations: 3.117 MB / 1.397 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06228/3.841, allocations: 29.58 MB / 1.425 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01098/3.852, allocations: 8.689 MB / 1.434 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.01062/3.863, allocations: 3.775 MB / 1.438 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002708/3.866, allocations: 0.6282 MB / 1.438 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/3.866, allocations: 0 / 1.438 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.5953/4.461, allocations: 278.3 MB / 1.71 GB, free: 24.65 MB / 0.5606 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)