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.0008086/0.0008086, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005257/0.005257, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.402/1.402, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1483/0.1483, allocations: 5.384 MB / 296.8 MB, free: 3.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003297/0.0003297, allocations: 8 kB / 362.6 MB, free: 13.83 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1304, allocations: 51.61 MB / 414.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.005023/0.1355, allocations: 4.011 MB / 418.2 MB, free: 6.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00353/0.139, allocations: 1.562 MB / 419.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007775/0.1399, allocations: 8 kB / 419.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001442/0.1413, allocations: 335.3 kB / 420.1 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001119/0.1425, allocations: 210.7 kB / 420.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006302/0.1431, allocations: 187.8 kB / 420.5 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.251/0.3941, allocations: 23.55 MB / 444.1 MB, free: 32.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00886/0.403, allocations: 7.222 MB / 451.3 MB, free: 29.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01174/0.4148, allocations: 6.273 MB / 457.6 MB, free: 27.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01703/0.4319, allocations: 8.125 MB / 465.7 MB, free: 23.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006995/0.4389, allocations: 0.8146 MB / 466.5 MB, free: 23.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009424/0.4483, allocations: 0.8257 MB / 467.3 MB, free: 23.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006397/0.4548, allocations: 2.83 MB / 470.2 MB, free: 22.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01978/0.4746, allocations: 7.21 MB / 477.4 MB, free: 17.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03573/0.5104, allocations: 26.32 MB / 0.4919 GB, free: 13.9 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.5104, allocations: 0 / 0.4919 GB, free: 13.9 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5104, allocations: 0 / 0.4919 GB, free: 13.9 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.001085/0.5115, allocations: 0 / 0.4919 GB, free: 13.9 MB / 366.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.09755/0.6091, allocations: 28.01 MB / 0.5192 GB, free: 1.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.6091, allocations: 12.03 kB / 0.5192 GB, free: 1.797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009283/0.6184, allocations: 1.448 MB / 0.5207 GB, free: 340 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0598/0.6783, allocations: 19.11 MB / 0.5393 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008331/0.6791, allocations: 0.6217 MB / 0.5399 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005083/0.6842, allocations: 0.8203 MB / 0.5407 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05024/0.7345, allocations: 15.88 MB / 0.5562 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005256/0.7351, allocations: 23.75 kB / 0.5563 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004994/0.7401, allocations: 352.7 kB / 0.5566 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002186/0.7403, allocations: 216 kB / 0.5568 GB, free: 10.9 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04443/0.7848, allocations: 18 MB / 0.5744 GB, free: 8.883 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5888/1.374, allocations: 57.88 MB / 0.6309 GB, free: 71.53 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04216/1.416, allocations: 21.97 MB / 0.6524 GB, free: 61.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01494/1.431, allocations: 7.661 MB / 0.6598 GB, free: 58.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004464/1.431, allocations: 67.86 kB / 0.6599 GB, free: 58.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.619e-05/1.431, allocations: 78.52 kB / 0.66 GB, free: 58.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=448): time 8.365e-06/1.431, allocations: 0 / 0.66 GB, free: 58.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=448): time 0.1124/1.544, allocations: 37.92 MB / 0.697 GB, free: 28.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.122e-05/1.544, allocations: 98.92 kB / 0.6971 GB, free: 28.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0346/1.579, allocations: 15.18 MB / 0.7119 GB, free: 13.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001871/1.581, allocations: 109.7 kB / 0.712 GB, free: 13.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.008452/1.589, allocations: 6.094 MB / 0.718 GB, free: 7.211 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00365/1.593, allocations: 1.581 MB / 0.7195 GB, free: 5.641 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004511/1.597, allocations: 0.7829 MB / 0.7203 GB, free: 4.848 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.301e-05/1.597, allocations: 301.1 kB / 0.7206 GB, free: 4.551 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01829/1.616, allocations: 7.85 MB / 0.7282 GB, free: 12.69 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02163/1.637, allocations: 9.045 MB / 0.7371 GB, free: 3.309 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03684/1.674, allocations: 14.8 MB / 0.7515 GB, free: 4.105 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.153e-05/1.674, allocations: 8 kB / 0.7515 GB, free: 4.098 MB / 478.1 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.423/2.097, allocations: 41.35 MB / 0.7919 GB, free: 129.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.746e-05/2.097, allocations: 16.19 kB / 0.7919 GB, free: 129.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.792e-05/2.097, allocations: 22.78 kB / 0.792 GB, free: 129.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05513/2.152, allocations: 26.1 MB / 0.8175 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008596/2.161, allocations: 1.503 MB / 0.8189 GB, free: 127.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6925/2.854, allocations: 194.9 MB / 1.009 GB, free: 102.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02306/2.877, allocations: 2.667 MB / 1.012 GB, free: 102.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004141/2.881, allocations: 374.9 kB / 1.012 GB, free: 102.6 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 (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.01794/2.899, allocations: 4.525 MB / 1.017 GB, free: 100.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006526/2.905, allocations: 1.161 MB / 1.018 GB, free: 100.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1087/3.014, allocations: 33.21 MB / 1.05 GB, free: 81.15 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-05/3.014, allocations: 44 kB / 1.05 GB, free: 81.11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/3.014, allocations: 3.75 kB / 1.05 GB, free: 81.11 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001359/3.014, allocations: 23.91 kB / 1.05 GB, free: 81.08 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1435/3.158, allocations: 48.24 MB / 1.097 GB, free: 32.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.711e-05/3.158, allocations: 3.938 kB / 1.097 GB, free: 32.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002182/3.16, allocations: 458.2 kB / 1.098 GB, free: 32.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02613/3.186, allocations: 15.88 MB / 1.113 GB, free: 16.62 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002253/3.189, allocations: 111.9 kB / 1.113 GB, free: 16.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5718/3.76, allocations: 112.8 MB / 1.224 GB, free: 105.7 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/3.76, allocations: 3.562 kB / 1.224 GB, free: 105.7 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09566/3.856, allocations: 32.28 MB / 1.255 GB, free: 73.62 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009487/3.866, allocations: 2.699 MB / 1.258 GB, free: 70.95 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00525/3.871, allocations: 75.75 kB / 1.258 GB, free: 70.88 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01386/3.885, allocations: 1.502 MB / 1.259 GB, free: 69.38 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001079/3.886, allocations: 276.1 kB / 1.26 GB, free: 69.11 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001462/3.887, allocations: 144.5 kB / 1.26 GB, free: 68.97 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.01974/3.907, allocations: 10.49 MB / 1.27 GB, free: 58.55 MB / 0.4982 GB Notification: Performance of sort global known variables: time 4.71e-07/3.907, allocations: 0 / 1.27 GB, free: 58.55 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.02142/3.929, allocations: 3.711 MB / 1.274 GB, free: 54.95 MB / 0.4982 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.002034/3.931, allocations: 195.3 kB / 1.274 GB, free: 54.77 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.08118/4.012, allocations: 34.06 MB / 1.307 GB, free: 19.98 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 9.407e-06/4.012, allocations: 0 / 1.307 GB, free: 19.98 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.3045/4.316, allocations: 18.28 MB / 1.325 GB, free: 127.3 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02912/4.346, allocations: 2.973 MB / 1.328 GB, free: 127.2 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08363/4.429, allocations: 34.21 MB / 1.361 GB, free: 116.6 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02328/4.453, allocations: 8.687 MB / 1.37 GB, free: 115.3 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.01897/4.472, allocations: 3.591 MB / 1.373 GB, free: 114.6 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003831/4.476, allocations: 0.6349 MB / 1.374 GB, free: 114.6 MB / 0.4982 GB Notification: Performance of SimCode: time 1.743e-06/4.476, allocations: 0 / 1.374 GB, free: 114.6 MB / 0.4982 GB Notification: Performance of Templates: time 0.6472/5.123, allocations: 258.6 MB / 1.626 GB, free: 52.29 MB / 0.4982 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: