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.007688/0.007688, allocations: 103.7 kB / 15.74 MB, free: 6.445 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.001436/0.001436, allocations: 196.1 kB / 16.67 MB, free: 6.352 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.48/1.48, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1612/0.1612, allocations: 5.379 MB / 295.9 MB, free: 2.918 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.89 kB / 412.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2909, allocations: 50.62 MB / 463.4 MB, free: 21.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.004486/0.2954, allocations: 4.398 MB / 467.8 MB, free: 18.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002468/0.2979, allocations: 1.59 MB / 469.4 MB, free: 17.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003711/0.2983, allocations: 11.41 kB / 469.4 MB, free: 17.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009067/0.2992, allocations: 296 kB / 469.7 MB, free: 17.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005309/0.2998, allocations: 236.4 kB / 469.9 MB, free: 17.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004259/0.3003, allocations: 215.6 kB / 470.1 MB, free: 16.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02149/0.3218, allocations: 25.7 MB / 495.8 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01232/0.3341, allocations: 7.943 MB / 0.492 GB, free: 8.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01704/0.3512, allocations: 9.345 MB / 0.5011 GB, free: 15.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01722/0.3685, allocations: 10.86 MB / 0.5117 GB, free: 4.496 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00719/0.3757, allocations: 2.703 MB / 0.5143 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01045/0.3862, allocations: 2.719 MB / 0.517 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01174/0.3979, allocations: 5.116 MB / 0.522 GB, free: 9.945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02534/0.4233, allocations: 9.535 MB / 0.5313 GB, free: 380 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03638/0.4597, allocations: 28.99 MB / 0.5596 GB, free: 3.289 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.989e-06/0.4598, allocations: 0 / 0.5596 GB, free: 3.289 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.4598, allocations: 0 / 0.5596 GB, free: 3.289 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.001235/0.4611, allocations: 4 kB / 0.5596 GB, free: 3.285 MB / 430.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.6839/1.145, allocations: 31.83 MB / 0.5907 GB, free: 74.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/1.145, allocations: 9.969 kB / 0.5907 GB, free: 74.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0112/1.156, allocations: 1.524 MB / 0.5922 GB, free: 74.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06056/1.217, allocations: 19.06 MB / 0.6108 GB, free: 65.08 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008966/1.218, allocations: 0.6266 MB / 0.6114 GB, free: 64.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004696/1.222, allocations: 0.8188 MB / 0.6122 GB, free: 64.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04251/1.265, allocations: 15.67 MB / 0.6275 GB, free: 50.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005132/1.266, allocations: 22.58 kB / 0.6276 GB, free: 50.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005491/1.271, allocations: 347.3 kB / 0.6279 GB, free: 50.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001681/1.271, allocations: 212 kB / 0.6281 GB, free: 50.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03823/1.309, allocations: 17.61 MB / 0.6453 GB, free: 32.78 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1347/1.444, allocations: 57.32 MB / 0.7013 GB, free: 7.453 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04063/1.485, allocations: 21.37 MB / 0.7221 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01703/1.502, allocations: 7.453 MB / 0.7294 GB, free: 9.984 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000509/1.503, allocations: 69.58 kB / 0.7295 GB, free: 9.922 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001158/1.503, allocations: 82.02 kB / 0.7296 GB, free: 9.832 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=448): time 9.558e-06/1.503, allocations: 0 / 0.7296 GB, free: 9.832 MB / 0.4982 GB Notification: Performance of matching and sorting (n=448): time 0.1228/1.625, allocations: 36.36 MB / 0.7651 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/1.626, allocations: 98.92 kB / 0.7652 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04402/1.67, allocations: 15.19 MB / 0.78 GB, free: 6.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.002818/1.672, allocations: 117.7 kB / 0.7801 GB, free: 6.109 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.3685/2.041, allocations: 6.2 MB / 0.7862 GB, free: 175.2 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.003531/2.045, allocations: 1.656 MB / 0.7878 GB, free: 175.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009397/2.054, allocations: 2.11 MB / 0.7898 GB, free: 175.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.108e-05/2.054, allocations: 305.9 kB / 0.7901 GB, free: 174.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02166/2.076, allocations: 7.644 MB / 0.7976 GB, free: 173.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02167/2.097, allocations: 8.839 MB / 0.8062 GB, free: 170.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03489/2.132, allocations: 14.4 MB / 0.8203 GB, free: 164.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001064/2.133, allocations: 7.594 kB / 0.8203 GB, free: 164.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.1322/2.265, allocations: 39.99 MB / 0.8593 GB, free: 137.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.175e-05/2.265, allocations: 19.94 kB / 0.8594 GB, free: 137.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-05/2.265, allocations: 20 kB / 0.8594 GB, free: 137.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04638/2.311, allocations: 25.71 MB / 0.8845 GB, free: 111.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007964/2.319, allocations: 1.496 MB / 0.886 GB, free: 110.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7554/3.075, allocations: 202.8 MB / 1.084 GB, free: 132 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02298/3.098, allocations: 2.595 MB / 1.087 GB, free: 130 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00429/3.102, allocations: 375.7 kB / 1.087 GB, free: 129.6 MB / 0.5607 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.01771/3.12, allocations: 4.519 MB / 1.091 GB, free: 125.2 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00775/3.128, allocations: 1.218 MB / 1.092 GB, free: 124.6 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09866/3.226, allocations: 31.8 MB / 1.124 GB, free: 93.02 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.651e-05/3.227, allocations: 47.84 kB / 1.124 GB, free: 92.97 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/3.227, allocations: 0 / 1.124 GB, free: 92.97 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001361/3.227, allocations: 23.91 kB / 1.124 GB, free: 92.95 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1442/3.371, allocations: 46.48 MB / 1.169 GB, free: 46.65 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.316e-05/3.371, allocations: 0 / 1.169 GB, free: 46.65 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001911/3.373, allocations: 451.4 kB / 1.169 GB, free: 46.21 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02389/3.397, allocations: 15.46 MB / 1.185 GB, free: 30.79 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001619/3.398, allocations: 111.9 kB / 1.185 GB, free: 30.68 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6248/4.023, allocations: 115 MB / 1.297 GB, free: 130.4 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/4.023, allocations: 0 / 1.297 GB, free: 130.4 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08721/4.111, allocations: 30.94 MB / 1.327 GB, free: 100.3 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01138/4.122, allocations: 2.715 MB / 1.33 GB, free: 97.82 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005774/4.128, allocations: 75.98 kB / 1.33 GB, free: 97.75 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01181/4.14, allocations: 1.397 MB / 1.331 GB, free: 96.35 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008123/4.14, allocations: 272.1 kB / 1.332 GB, free: 96.09 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009071/4.141, allocations: 143.9 kB / 1.332 GB, free: 95.95 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.02086/4.162, allocations: 10.49 MB / 1.342 GB, free: 85.53 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.804e-06/4.162, allocations: 0 / 1.342 GB, free: 85.53 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.02198/4.184, allocations: 3.73 MB / 1.346 GB, free: 81.92 MB / 0.5607 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.002252/4.187, allocations: 198.1 kB / 1.346 GB, free: 81.74 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.07806/4.265, allocations: 33.18 MB / 1.378 GB, free: 47.79 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/4.265, allocations: 0 / 1.378 GB, free: 47.79 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.05241/4.317, allocations: 17.31 MB / 1.395 GB, free: 30.45 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02736/4.344, allocations: 3.108 MB / 1.398 GB, free: 27.43 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3832/4.728, allocations: 29.94 MB / 1.427 GB, free: 171.5 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02586/4.754, allocations: 8.689 MB / 1.436 GB, free: 170.5 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.01835/4.772, allocations: 3.775 MB / 1.439 GB, free: 170.4 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005182/4.777, allocations: 0.6329 MB / 1.44 GB, free: 170.4 MB / 0.5763 GB Notification: Performance of SimCode: time 2.555e-06/4.777, allocations: 0 / 1.44 GB, free: 170.4 MB / 0.5763 GB Notification: Performance of Templates: time 0.7003/5.478, allocations: 273 MB / 1.707 GB, free: 148.9 MB / 0.5763 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)