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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.184/1.184, allocations: 222.9 MB / 239.7 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 105.1 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02432/0.02432, allocations: 5.406 MB / 345.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 58.88 kB / 410.2 MB, free: 57.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06575/0.06685, allocations: 50.63 MB / 460.8 MB, free: 7.004 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.003914/0.0708, allocations: 4.415 MB / 465.3 MB, free: 2.555 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.07276, allocations: 1.578 MB / 466.8 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004148/0.07319, allocations: 8 kB / 466.8 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.07421, allocations: 339.2 kB / 467.2 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005173/0.07475, allocations: 206.7 kB / 467.4 MB, free: 440 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.07509, allocations: 187.8 kB / 467.6 MB, free: 252 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.1589/0.234, allocations: 23.74 MB / 491.3 MB, free: 14.6 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007884/0.2419, allocations: 7.27 MB / 498.6 MB, free: 12.61 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00869/0.2506, allocations: 6.622 MB / 0.4934 GB, free: 10.37 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01193/0.2626, allocations: 8.535 MB / 0.5017 GB, free: 5.547 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002482/0.2651, allocations: 0.9546 MB / 0.5026 GB, free: 5.547 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002746/0.2678, allocations: 0.9598 MB / 0.5036 GB, free: 5.543 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001654/0.2695, allocations: 3.061 MB / 0.5065 GB, free: 2.809 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009739/0.2793, allocations: 7.46 MB / 0.5138 GB, free: 11.5 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02227/0.3015, allocations: 27.1 MB / 0.5403 GB, free: 0.8008 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3016, allocations: 0 / 0.5403 GB, free: 0.8008 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3016, allocations: 0 / 0.5403 GB, free: 0.8008 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005714/0.3022, allocations: 4 kB / 0.5403 GB, free: 0.7969 MB / 346.7 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.09133/0.3935, allocations: 30.8 MB / 0.5704 GB, free: 1.895 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3936, allocations: 8.875 kB / 0.5704 GB, free: 1.887 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004391/0.398, allocations: 1.448 MB / 0.5718 GB, free: 432 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04755/0.4455, allocations: 18.8 MB / 0.5902 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005596/0.4461, allocations: 0.6217 MB / 0.5908 GB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002937/0.4491, allocations: 0.8242 MB / 0.5916 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02608/0.4752, allocations: 15.67 MB / 0.6069 GB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001228/0.4753, allocations: 19.81 kB / 0.6069 GB, free: 12.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009001/0.4762, allocations: 352 kB / 0.6072 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001251/0.4764, allocations: 219.9 kB / 0.6075 GB, free: 11.67 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03133/0.5077, allocations: 17.59 MB / 0.6246 GB, free: 10.06 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3987/0.9064, allocations: 57.52 MB / 0.6808 GB, free: 87.62 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02902/0.9355, allocations: 21.36 MB / 0.7017 GB, free: 72.41 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01137/0.9469, allocations: 7.454 MB / 0.7089 GB, free: 64.95 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003458/0.9473, allocations: 71.3 kB / 0.709 GB, free: 64.89 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.95e-05/0.9473, allocations: 78.08 kB / 0.7091 GB, free: 64.8 MB / 442.8 MB Notification: Performance of pre-optimization done (n=448): time 6.082e-06/0.9473, allocations: 0 / 0.7091 GB, free: 64.8 MB / 442.8 MB Notification: Performance of matching and sorting (n=448): time 0.09893/1.046, allocations: 36.3 MB / 0.7445 GB, free: 29.04 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/1.046, allocations: 102.9 kB / 0.7446 GB, free: 28.92 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02058/1.067, allocations: 15.18 MB / 0.7595 GB, free: 13.93 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001866/1.069, allocations: 113.7 kB / 0.7596 GB, free: 13.81 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005619/1.074, allocations: 6.092 MB / 0.7655 GB, free: 8.094 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002466/1.077, allocations: 1.579 MB / 0.7671 GB, free: 6.52 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004241/1.081, allocations: 2.101 MB / 0.7691 GB, free: 4.402 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 3.622e-05/1.081, allocations: 301.1 kB / 0.7694 GB, free: 4.105 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01283/1.094, allocations: 7.644 MB / 0.7769 GB, free: 12.45 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01585/1.11, allocations: 8.835 MB / 0.7855 GB, free: 3.273 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02909/1.139, allocations: 14.4 MB / 0.7995 GB, free: 4.473 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.598e-05/1.139, allocations: 8 kB / 0.7996 GB, free: 4.465 MB / 474.8 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.2904/1.43, allocations: 39.94 MB / 0.8386 GB, free: 148 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.086e-05/1.43, allocations: 15.09 kB / 0.8386 GB, free: 148 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.062e-05/1.43, allocations: 23.03 kB / 0.8386 GB, free: 148 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04289/1.473, allocations: 25.71 MB / 0.8637 GB, free: 141.3 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006254/1.479, allocations: 1.494 MB / 0.8652 GB, free: 139.8 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4802/1.959, allocations: 190.4 MB / 1.051 GB, free: 131.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01403/1.973, allocations: 2.567 MB / 1.054 GB, free: 131.1 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001228/1.974, allocations: 381.8 kB / 1.054 GB, free: 131 MB / 0.4949 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.005981/1.98, allocations: 4.52 MB / 1.058 GB, free: 129.3 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001826/1.982, allocations: 1.154 MB / 1.06 GB, free: 128.8 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08175/2.064, allocations: 31.8 MB / 1.091 GB, free: 112.2 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-05/2.064, allocations: 47.98 kB / 1.091 GB, free: 112.2 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/2.064, allocations: 4 kB / 1.091 GB, free: 112.2 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.725e-05/2.064, allocations: 19.92 kB / 1.091 GB, free: 112.2 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1084/2.173, allocations: 46.65 MB / 1.136 GB, free: 65.56 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.882e-05/2.173, allocations: 3.25 kB / 1.136 GB, free: 65.56 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001729/2.174, allocations: 451.4 kB / 1.137 GB, free: 65.12 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02158/2.196, allocations: 15.47 MB / 1.152 GB, free: 49.69 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007566/2.197, allocations: 107.9 kB / 1.152 GB, free: 49.58 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4279/2.625, allocations: 108.3 MB / 1.258 GB, free: 127.5 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/2.625, allocations: 0 / 1.258 GB, free: 127.5 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09758/2.722, allocations: 41.6 MB / 1.298 GB, free: 87.79 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007478/2.73, allocations: 2.65 MB / 1.301 GB, free: 85.17 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003288/2.733, allocations: 75.98 kB / 1.301 GB, free: 85.09 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01146/2.745, allocations: 1.393 MB / 1.302 GB, free: 83.7 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006626/2.745, allocations: 272.1 kB / 1.302 GB, free: 83.43 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007272/2.746, allocations: 143.9 kB / 1.303 GB, free: 83.29 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01559/2.762, allocations: 10.5 MB / 1.313 GB, free: 72.87 MB / 0.4949 GB Notification: Performance of sort global known variables: time 3.91e-07/2.762, allocations: 0 / 1.313 GB, free: 72.87 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01595/2.778, allocations: 3.717 MB / 1.317 GB, free: 69.25 MB / 0.4949 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.001368/2.779, allocations: 186.3 kB / 1.317 GB, free: 69.09 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.07002/2.849, allocations: 32.81 MB / 1.349 GB, free: 35.5 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/2.849, allocations: 0 / 1.349 GB, free: 35.5 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.04723/2.896, allocations: 17.18 MB / 1.366 GB, free: 18.3 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01269/2.909, allocations: 2.977 MB / 1.368 GB, free: 15.42 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2156/3.125, allocations: 36.66 MB / 1.404 GB, free: 128.5 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008442/3.133, allocations: 8.783 MB / 1.413 GB, free: 127.4 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.009264/3.142, allocations: 3.594 MB / 1.416 GB, free: 127.3 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001599/3.144, allocations: 0.6339 MB / 1.417 GB, free: 127.3 MB / 0.4949 GB Notification: Performance of SimCode: time 6.01e-07/3.144, allocations: 0 / 1.417 GB, free: 127.3 MB / 0.4949 GB Notification: Performance of Templates: time 0.476/3.62, allocations: 269.7 MB / 1.68 GB, free: 57.71 MB / 0.4949 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)