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.001131/0.001131, allocations: 109.9 kB / 16.41 MB, free: 6.461 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.001227/0.001228, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02668/0.02668, allocations: 5.405 MB / 296.6 MB, free: 9.473 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001303, allocations: 63.91 kB / 413.5 MB, free: 22.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08262/0.08394, allocations: 50.63 MB / 464.1 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.00525/0.08922, allocations: 4.397 MB / 468.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002616/0.09186, allocations: 1.589 MB / 470.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004846/0.09237, allocations: 8 kB / 470.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.09342, allocations: 300.9 kB / 470.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007671/0.09421, allocations: 242.3 kB / 470.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005026/0.09473, allocations: 207.6 kB / 470.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02046/0.1152, allocations: 25.7 MB / 496.5 MB, free: 3.336 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01036/0.1256, allocations: 7.958 MB / 0.4927 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01168/0.1373, allocations: 9.349 MB / 0.5018 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2174/0.3548, allocations: 10.85 MB / 0.5124 GB, free: 21.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008935/0.3638, allocations: 2.703 MB / 0.515 GB, free: 21.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01069/0.3745, allocations: 2.71 MB / 0.5177 GB, free: 21.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007738/0.3822, allocations: 5.123 MB / 0.5227 GB, free: 19.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01324/0.3955, allocations: 9.536 MB / 0.532 GB, free: 13.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02413/0.4197, allocations: 28.92 MB / 0.5602 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.836e-06/0.4197, allocations: 0 / 0.5602 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4197, allocations: 1.031 kB / 0.5602 GB, free: 10.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000879/0.4206, allocations: 0 / 0.5602 GB, free: 10.7 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.1124/0.533, allocations: 31.42 MB / 0.5909 GB, free: 12.19 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.533, allocations: 8.031 kB / 0.5909 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007617/0.5407, allocations: 1.452 MB / 0.5923 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05817/0.5989, allocations: 18.96 MB / 0.6109 GB, free: 8.055 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008035/0.5997, allocations: 0.6256 MB / 0.6115 GB, free: 7.426 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005815/0.6055, allocations: 0.8163 MB / 0.6123 GB, free: 6.609 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04712/0.6527, allocations: 15.67 MB / 0.6276 GB, free: 6.473 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004682/0.6532, allocations: 22.06 kB / 0.6276 GB, free: 6.465 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004705/0.6579, allocations: 344 kB / 0.6279 GB, free: 6.129 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002529/0.6582, allocations: 216 kB / 0.6281 GB, free: 5.918 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04667/0.7049, allocations: 17.6 MB / 0.6453 GB, free: 4.422 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3437/1.049, allocations: 57.22 MB / 0.7012 GB, free: 139.8 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03792/1.087, allocations: 21.37 MB / 0.7221 GB, free: 133.5 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01254/1.099, allocations: 7.445 MB / 0.7293 GB, free: 131.2 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002881/1.099, allocations: 70.5 kB / 0.7294 GB, free: 131.2 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.197e-05/1.1, allocations: 83.83 kB / 0.7295 GB, free: 131.2 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=448): time 6.312e-06/1.1, allocations: 0 / 0.7295 GB, free: 131.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=448): time 0.1133/1.213, allocations: 36.3 MB / 0.7649 GB, free: 111.4 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/1.213, allocations: 98.86 kB / 0.765 GB, free: 111.3 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03108/1.244, allocations: 15.19 MB / 0.7799 GB, free: 96.44 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001812/1.246, allocations: 109.7 kB / 0.78 GB, free: 96.33 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.006558/1.253, allocations: 6.089 MB / 0.7859 GB, free: 91.36 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002741/1.255, allocations: 1.582 MB / 0.7874 GB, free: 89.82 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01011/1.265, allocations: 2.101 MB / 0.7895 GB, free: 87.71 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.373e-05/1.266, allocations: 301.1 kB / 0.7898 GB, free: 87.41 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01416/1.28, allocations: 7.644 MB / 0.7973 GB, free: 79.75 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01608/1.296, allocations: 8.841 MB / 0.8059 GB, free: 70.59 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0299/1.326, allocations: 14.39 MB / 0.8199 GB, free: 55.86 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.828e-05/1.326, allocations: 12 kB / 0.82 GB, free: 55.85 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.1211/1.447, allocations: 39.93 MB / 0.8589 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.269e-05/1.447, allocations: 20.88 kB / 0.859 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.273e-05/1.447, allocations: 24 kB / 0.859 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04941/1.497, allocations: 25.7 MB / 0.8841 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007536/1.504, allocations: 1.498 MB / 0.8856 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6266/2.131, allocations: 202.7 MB / 1.083 GB, free: 21.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02197/2.153, allocations: 2.564 MB / 1.086 GB, free: 19.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003663/2.156, allocations: 375.7 kB / 1.086 GB, free: 18.76 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.01201/2.168, allocations: 4.523 MB / 1.091 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006066/2.175, allocations: 1.157 MB / 1.092 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.347/2.522, allocations: 31.8 MB / 1.123 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001571/2.522, allocations: 19.78 kB / 1.123 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/2.522, allocations: 0 / 1.123 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008678/2.53, allocations: 2.689 MB / 1.126 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004482/2.535, allocations: 72.48 kB / 1.126 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01279/2.548, allocations: 1.404 MB / 1.127 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009951/2.549, allocations: 410.3 kB / 1.127 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.07754/2.626, allocations: 27.75 MB / 1.155 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03246/2.659, allocations: 19.15 MB / 1.173 GB, free: 155 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00918/2.668, allocations: 6.018 MB / 1.179 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.02033/2.688, allocations: 10.49 MB / 1.189 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of Backend: time 1.262e-06/2.688, allocations: 0 / 1.189 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0812/2.77, allocations: 28 MB / 1.217 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of SimCode: time 0.05643/2.826, allocations: 28.99 MB / 1.245 GB, free: 91.91 MB / 0.5606 GB Notification: Performance of Templates: time 0.5873/3.413, allocations: 253.8 MB / 1.493 GB, free: 42.62 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)