Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.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.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") translateModel(PhotoVoltaics.Examples.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1633/0.1633, allocations: 5.388 MB / 295.8 MB, free: 2.855 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 63.91 kB / 360.9 MB, free: 14.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1188, allocations: 50.6 MB / 411.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.006814/0.1257, allocations: 4.392 MB / 415.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003174/0.1289, allocations: 1.593 MB / 417.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007098/0.1297, allocations: 11.94 kB / 417.5 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.1308, allocations: 289 kB / 417.8 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008714/0.1318, allocations: 230.4 kB / 418 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004971/0.1323, allocations: 211.6 kB / 418.2 MB, free: 4.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2212/0.3535, allocations: 25.6 MB / 443.8 MB, free: 32.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009889/0.3634, allocations: 7.941 MB / 451.8 MB, free: 29.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01391/0.3773, allocations: 9.319 MB / 461.1 MB, free: 24.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01969/0.397, allocations: 10.82 MB / 471.9 MB, free: 19.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00789/0.405, allocations: 2.705 MB / 474.6 MB, free: 19.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01104/0.416, allocations: 2.716 MB / 477.3 MB, free: 19.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009265/0.4253, allocations: 5.121 MB / 482.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02183/0.4472, allocations: 9.539 MB / 492 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03163/0.4789, allocations: 28.71 MB / 0.5085 GB, free: 12.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4789, allocations: 0 / 0.5085 GB, free: 12.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4789, allocations: 0 / 0.5085 GB, free: 12.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007268/0.4796, allocations: 0 / 0.5085 GB, free: 12.52 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.1085/0.5881, allocations: 30.8 MB / 0.5386 GB, free: 13.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.5882, allocations: 8.031 kB / 0.5386 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009906/0.5981, allocations: 1.452 MB / 0.54 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05449/0.6526, allocations: 18.8 MB / 0.5584 GB, free: 9.453 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007583/0.6534, allocations: 0.6335 MB / 0.559 GB, free: 8.816 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004734/0.6582, allocations: 0.8163 MB / 0.5598 GB, free: 8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03915/0.6974, allocations: 15.67 MB / 0.5751 GB, free: 7.816 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004093/0.6978, allocations: 27.75 kB / 0.5751 GB, free: 7.789 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003605/0.7014, allocations: 348 kB / 0.5754 GB, free: 7.449 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001945/0.7016, allocations: 216 kB / 0.5756 GB, free: 7.238 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3864/1.088, allocations: 17.59 MB / 0.5928 GB, free: 96.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1235/1.212, allocations: 57.52 MB / 0.649 GB, free: 67.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.032/1.244, allocations: 21.38 MB / 0.6699 GB, free: 53.47 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01157/1.255, allocations: 7.442 MB / 0.6771 GB, free: 49.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002865/1.256, allocations: 80.3 kB / 0.6772 GB, free: 49.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.297e-05/1.256, allocations: 79.39 kB / 0.6773 GB, free: 49.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=448): time 7.023e-06/1.256, allocations: 0 / 0.6773 GB, free: 49.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=448): time 0.1012/1.357, allocations: 36.3 MB / 0.7127 GB, free: 13.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/1.357, allocations: 98.92 kB / 0.7128 GB, free: 13.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03124/1.388, allocations: 15.18 MB / 0.7277 GB, free: 14.31 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001979/1.39, allocations: 117.7 kB / 0.7278 GB, free: 14.19 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.007419/1.398, allocations: 6.095 MB / 0.7337 GB, free: 8.195 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002975/1.401, allocations: 1.572 MB / 0.7353 GB, free: 6.602 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01083/1.411, allocations: 2.101 MB / 0.7373 GB, free: 4.484 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.593e-05/1.412, allocations: 301.1 kB / 0.7376 GB, free: 4.188 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01939/1.431, allocations: 7.644 MB / 0.7451 GB, free: 12.53 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01946/1.45, allocations: 8.842 MB / 0.7537 GB, free: 3.348 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03398/1.484, allocations: 14.39 MB / 0.7677 GB, free: 4.555 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.264e-05/1.485, allocations: 8 kB / 0.7678 GB, free: 4.547 MB / 494.1 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.3257/1.81, allocations: 39.94 MB / 0.8068 GB, free: 131.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.011e-05/1.81, allocations: 16.16 kB / 0.8068 GB, free: 131.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.533e-05/1.81, allocations: 24.22 kB / 0.8068 GB, free: 131.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04945/1.86, allocations: 26.04 MB / 0.8322 GB, free: 126.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007266/1.867, allocations: 1.496 MB / 0.8337 GB, free: 126.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5925/2.46, allocations: 203 MB / 1.032 GB, free: 93.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01959/2.479, allocations: 2.562 MB / 1.034 GB, free: 92.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00315/2.483, allocations: 385.2 kB / 1.035 GB, free: 92.68 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.01208/2.495, allocations: 4.514 MB / 1.039 GB, free: 90.06 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005167/2.5, allocations: 1.158 MB / 1.04 GB, free: 89.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09559/2.595, allocations: 31.8 MB / 1.071 GB, free: 60.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.562e-05/2.596, allocations: 43.75 kB / 1.071 GB, free: 60.46 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/2.596, allocations: 4 kB / 1.071 GB, free: 60.45 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001202/2.596, allocations: 19.92 kB / 1.071 GB, free: 60.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1266/2.722, allocations: 46.63 MB / 1.117 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-05/2.722, allocations: 0 / 1.117 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001814/2.724, allocations: 458.6 kB / 1.117 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02409/2.748, allocations: 15.48 MB / 1.133 GB, free: 14.07 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001707/2.75, allocations: 115.9 kB / 1.133 GB, free: 13.96 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5285/3.278, allocations: 115 MB / 1.245 GB, free: 85.86 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/3.279, allocations: 0 / 1.245 GB, free: 85.86 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09827/3.377, allocations: 30.87 MB / 1.275 GB, free: 55.14 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008233/3.385, allocations: 2.653 MB / 1.278 GB, free: 52.52 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004536/3.39, allocations: 76 kB / 1.278 GB, free: 52.45 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01159/3.401, allocations: 1.394 MB / 1.279 GB, free: 51.05 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008838/3.402, allocations: 276.1 kB / 1.279 GB, free: 50.78 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001209/3.403, allocations: 143.9 kB / 1.28 GB, free: 50.64 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.02269/3.426, allocations: 10.49 MB / 1.29 GB, free: 40.22 MB / 0.4982 GB Notification: Performance of sort global known variables: time 4.3e-07/3.426, allocations: 0 / 1.29 GB, free: 40.22 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.02198/3.448, allocations: 3.713 MB / 1.293 GB, free: 36.62 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.00161/3.45, allocations: 190 kB / 1.294 GB, free: 36.44 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.3071/3.757, allocations: 39.91 MB / 1.333 GB, free: 129.1 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/3.757, allocations: 6.344 kB / 1.333 GB, free: 129.1 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.05519/3.812, allocations: 17.28 MB / 1.35 GB, free: 127.8 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02046/3.833, allocations: 3.118 MB / 1.353 GB, free: 127.3 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07563/3.908, allocations: 29.86 MB / 1.382 GB, free: 117.6 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01736/3.926, allocations: 8.689 MB / 1.39 GB, free: 114.8 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.01417/3.94, allocations: 3.886 MB / 1.394 GB, free: 114 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00294/3.943, allocations: 0.6319 MB / 1.395 GB, free: 113.9 MB / 0.4982 GB Notification: Performance of SimCode: time 7.21e-07/3.943, allocations: 4 kB / 1.395 GB, free: 113.9 MB / 0.4982 GB Notification: Performance of Templates: time 0.6007/4.544, allocations: 273 MB / 1.661 GB, free: 14.6 MB / 0.4982 GB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe 2>&1)