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.001135/0.001136, allocations: 106.2 kB / 15.99 MB, free: 6.355 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.001153/0.001153, allocations: 201.5 kB / 16.91 MB, free: 6.195 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.286/1.286, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02476/0.02476, allocations: 5.4 MB / 296.1 MB, free: 9.727 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 59.91 kB / 361 MB, free: 8.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2574, allocations: 50.62 MB / 411.6 MB, free: 29.65 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.004214/0.2616, allocations: 4.405 MB / 416 MB, free: 25.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.2637, allocations: 1.574 MB / 417.6 MB, free: 23.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002917/0.264, allocations: 11.94 kB / 417.6 MB, free: 23.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008981/0.2649, allocations: 335.3 kB / 417.9 MB, free: 23.31 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00048/0.2654, allocations: 218.6 kB / 418.2 MB, free: 23.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.2658, allocations: 187.8 kB / 418.3 MB, free: 22.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01503/0.2808, allocations: 25.66 MB / 444 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01107/0.2919, allocations: 7.951 MB / 451.9 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.015/0.3069, allocations: 9.372 MB / 461.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0191/0.3261, allocations: 10.82 MB / 472.1 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009317/0.3354, allocations: 2.711 MB / 474.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01095/0.3464, allocations: 2.711 MB / 477.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009464/0.3559, allocations: 5.12 MB / 482.7 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02111/0.377, allocations: 9.535 MB / 492.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02628/0.4034, allocations: 23.73 MB / 0.5039 GB, free: 4.957 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.4034, allocations: 0 / 0.5039 GB, free: 4.957 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4034, allocations: 3.938 kB / 0.5039 GB, free: 4.953 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008702/0.4043, allocations: 0 / 0.5039 GB, free: 4.953 MB / 382.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.4471/0.8514, allocations: 30.8 MB / 0.5339 GB, free: 58.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.8515, allocations: 16.02 kB / 0.5339 GB, free: 58.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008694/0.8602, allocations: 1.448 MB / 0.5354 GB, free: 57.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05151/0.9117, allocations: 18.8 MB / 0.5537 GB, free: 38.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008759/0.9126, allocations: 0.6256 MB / 0.5543 GB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005673/0.9183, allocations: 0.8134 MB / 0.5551 GB, free: 37.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04337/0.9617, allocations: 15.68 MB / 0.5704 GB, free: 21.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004744/0.9622, allocations: 27.75 kB / 0.5705 GB, free: 21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004797/0.9671, allocations: 344 kB / 0.5708 GB, free: 20.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001714/0.9672, allocations: 212 kB / 0.571 GB, free: 20.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03818/1.005, allocations: 17.6 MB / 0.5882 GB, free: 2.836 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1268/1.132, allocations: 57.51 MB / 0.6443 GB, free: 8.656 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03645/1.169, allocations: 21.37 MB / 0.6652 GB, free: 2.641 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0144/1.183, allocations: 7.437 MB / 0.6725 GB, free: 11.19 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003815/1.184, allocations: 75.38 kB / 0.6725 GB, free: 11.12 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.004e-05/1.184, allocations: 78.02 kB / 0.6726 GB, free: 11.04 MB / 478.1 MB Notification: Performance of pre-optimization done (n=448): time 6.983e-06/1.184, allocations: 0 / 0.6726 GB, free: 11.04 MB / 478.1 MB Notification: Performance of matching and sorting (n=448): time 0.3585/1.542, allocations: 36.31 MB / 0.7081 GB, free: 148.2 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/1.542, allocations: 96.45 kB / 0.7082 GB, free: 148.1 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02803/1.57, allocations: 15.18 MB / 0.723 GB, free: 136.4 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002014/1.572, allocations: 113.7 kB / 0.7231 GB, free: 136.3 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00776/1.58, allocations: 6.091 MB / 0.729 GB, free: 131.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003122/1.583, allocations: 1.582 MB / 0.7306 GB, free: 130.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01184/1.595, allocations: 2.104 MB / 0.7326 GB, free: 128.1 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.204e-05/1.595, allocations: 301.1 kB / 0.7329 GB, free: 127.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01526/1.611, allocations: 7.64 MB / 0.7404 GB, free: 120.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01677/1.627, allocations: 8.838 MB / 0.749 GB, free: 111 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02899/1.656, allocations: 14.39 MB / 0.7631 GB, free: 96.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-05/1.657, allocations: 8 kB / 0.7631 GB, free: 96.19 MB / 478.1 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.1244/1.781, allocations: 39.95 MB / 0.8021 GB, free: 55.96 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.523e-05/1.781, allocations: 16 kB / 0.8021 GB, free: 55.95 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-05/1.781, allocations: 20 kB / 0.8021 GB, free: 55.93 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04463/1.826, allocations: 25.73 MB / 0.8273 GB, free: 30.04 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007047/1.833, allocations: 1.498 MB / 0.8287 GB, free: 28.54 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5774/2.41, allocations: 202.9 MB / 1.027 GB, free: 19.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01779/2.428, allocations: 2.566 MB / 1.029 GB, free: 17.06 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002806/2.431, allocations: 375.7 kB / 1.03 GB, free: 16.7 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.009649/2.441, allocations: 4.518 MB / 1.034 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003616/2.444, allocations: 1.156 MB / 1.035 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.306/2.75, allocations: 31.81 MB / 1.066 GB, free: 151 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.565e-05/2.75, allocations: 42.62 kB / 1.066 GB, free: 151 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/2.75, allocations: 0 / 1.066 GB, free: 151 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001138/2.75, allocations: 26.89 kB / 1.066 GB, free: 151 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1296/2.88, allocations: 46.64 MB / 1.112 GB, free: 142.9 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-05/2.88, allocations: 0 / 1.112 GB, free: 142.9 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001791/2.882, allocations: 454 kB / 1.112 GB, free: 142.8 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02401/2.906, allocations: 15.48 MB / 1.127 GB, free: 129.1 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001646/2.908, allocations: 115.6 kB / 1.128 GB, free: 129 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2831/3.191, allocations: 115 MB / 1.24 GB, free: 14.4 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/3.191, allocations: 1.312 kB / 1.24 GB, free: 14.4 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.311/3.502, allocations: 30.87 MB / 1.27 GB, free: 146.7 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008205/3.51, allocations: 2.659 MB / 1.273 GB, free: 146.3 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004739/3.515, allocations: 70.72 kB / 1.273 GB, free: 146.3 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01211/3.527, allocations: 1.4 MB / 1.274 GB, free: 146.3 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009983/3.528, allocations: 279.6 kB / 1.274 GB, free: 146.3 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001269/3.529, allocations: 138.9 kB / 1.275 GB, free: 146.3 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.02023/3.55, allocations: 10.49 MB / 1.285 GB, free: 143.8 MB / 0.4982 GB Notification: Performance of sort global known variables: time 6.42e-07/3.55, allocations: 0 / 1.285 GB, free: 143.8 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.0201/3.57, allocations: 3.711 MB / 1.288 GB, free: 143.5 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.001682/3.571, allocations: 192.4 kB / 1.289 GB, free: 143.3 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.09395/3.665, allocations: 39.91 MB / 1.328 GB, free: 110 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/3.665, allocations: 7.312 kB / 1.328 GB, free: 110 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.05455/3.72, allocations: 17.28 MB / 1.344 GB, free: 92.67 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02188/3.742, allocations: 3.107 MB / 1.347 GB, free: 89.64 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0654/3.807, allocations: 34.06 MB / 1.381 GB, free: 55.65 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01529/3.823, allocations: 8.667 MB / 1.389 GB, free: 46.94 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00321/3.826, allocations: 0.6634 MB / 1.39 GB, free: 46.28 MB / 0.4982 GB Notification: Performance of SimCode: time 9.92e-07/3.826, allocations: 4 kB / 1.39 GB, free: 46.27 MB / 0.4982 GB Notification: Performance of Templates: time 4.729/8.555, allocations: 2.014 GB / 3.404 GB, free: 164.4 MB / 0.545 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)