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.001082/0.001082, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001342/0.001342, allocations: 190.6 kB / 16.25 MB, free: 6.621 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.334/1.334, allocations: 222.9 MB / 239.9 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1763/0.1763, allocations: 5.384 MB / 295.5 MB, free: 2.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001247, allocations: 59.91 kB / 360.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1151, allocations: 50.6 MB / 411 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.005214/0.1204, allocations: 4.426 MB / 415.4 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.1226, allocations: 1.566 MB / 417 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000268/0.1229, allocations: 11.94 kB / 417 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009396/0.1239, allocations: 323.4 kB / 417.3 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004431/0.1243, allocations: 214.6 kB / 417.5 MB, free: 5.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003368/0.1247, allocations: 183.8 kB / 417.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1944/0.3191, allocations: 25.65 MB / 443.3 MB, free: 32.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009447/0.3287, allocations: 7.961 MB / 451.3 MB, free: 29.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01589/0.3446, allocations: 9.36 MB / 460.6 MB, free: 24.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01828/0.3629, allocations: 10.81 MB / 471.5 MB, free: 19.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008691/0.3716, allocations: 2.707 MB / 474.2 MB, free: 19.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01172/0.3834, allocations: 2.712 MB / 476.9 MB, free: 19.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01056/0.394, allocations: 5.124 MB / 482 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02184/0.4159, allocations: 9.532 MB / 491.5 MB, free: 6.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03276/0.4486, allocations: 28.7 MB / 0.508 GB, free: 12.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.4487, allocations: 0 / 0.508 GB, free: 12.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4487, allocations: 0 / 0.508 GB, free: 12.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000907/0.4496, allocations: 0 / 0.508 GB, free: 12.88 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.1106/0.5602, allocations: 30.8 MB / 0.5381 GB, free: 13.99 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.5603, allocations: 15.95 kB / 0.5381 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008136/0.5684, allocations: 1.452 MB / 0.5396 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0561/0.6245, allocations: 18.8 MB / 0.5579 GB, free: 9.809 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007659/0.6253, allocations: 0.6256 MB / 0.5585 GB, free: 9.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004645/0.63, allocations: 0.8163 MB / 0.5593 GB, free: 8.363 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04612/0.6761, allocations: 15.68 MB / 0.5746 GB, free: 8.164 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003711/0.6765, allocations: 19.81 kB / 0.5746 GB, free: 8.145 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003823/0.6804, allocations: 344 kB / 0.575 GB, free: 7.809 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002088/0.6806, allocations: 216 kB / 0.5752 GB, free: 7.598 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.496/1.177, allocations: 17.6 MB / 0.5924 GB, free: 96.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1243/1.301, allocations: 57.52 MB / 0.6485 GB, free: 68.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03397/1.335, allocations: 21.37 MB / 0.6694 GB, free: 53.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0123/1.347, allocations: 7.447 MB / 0.6767 GB, free: 49.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003357/1.348, allocations: 75.98 kB / 0.6768 GB, free: 49.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.183e-05/1.348, allocations: 81.08 kB / 0.6768 GB, free: 49.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=448): time 6.252e-06/1.348, allocations: 0 / 0.6768 GB, free: 49.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=448): time 0.1095/1.457, allocations: 36.3 MB / 0.7123 GB, free: 13.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/1.457, allocations: 94.92 kB / 0.7124 GB, free: 13.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03268/1.49, allocations: 15.18 MB / 0.7272 GB, free: 14.84 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002237/1.492, allocations: 109.7 kB / 0.7273 GB, free: 14.73 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.009665/1.502, allocations: 6.087 MB / 0.7333 GB, free: 8.734 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003707/1.506, allocations: 1.587 MB / 0.7348 GB, free: 7.125 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01304/1.519, allocations: 2.097 MB / 0.7369 GB, free: 5.012 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/1.519, allocations: 301.1 kB / 0.7371 GB, free: 4.715 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01796/1.537, allocations: 7.645 MB / 0.7446 GB, free: 13.06 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01977/1.557, allocations: 8.838 MB / 0.7532 GB, free: 3.879 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03656/1.593, allocations: 14.39 MB / 0.7673 GB, free: 5.082 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.956e-05/1.594, allocations: 8 kB / 0.7673 GB, free: 5.074 MB / 494.1 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.3468/1.94, allocations: 39.95 MB / 0.8063 GB, free: 132 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.666e-05/1.94, allocations: 16.84 kB / 0.8063 GB, free: 132 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.08e-05/1.941, allocations: 24.81 kB / 0.8063 GB, free: 132 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04925/1.99, allocations: 26.04 MB / 0.8318 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007342/1.997, allocations: 1.504 MB / 0.8332 GB, free: 127 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6585/2.656, allocations: 203 MB / 1.032 GB, free: 94.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02193/2.678, allocations: 2.562 MB / 1.034 GB, free: 93.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004148/2.682, allocations: 381.8 kB / 1.034 GB, free: 93.29 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.01632/2.698, allocations: 4.514 MB / 1.039 GB, free: 90.67 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006994/2.705, allocations: 1.157 MB / 1.04 GB, free: 90.13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1078/2.813, allocations: 31.81 MB / 1.071 GB, free: 61.31 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.653e-05/2.813, allocations: 47.75 kB / 1.071 GB, free: 61.27 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/2.813, allocations: 3.984 kB / 1.071 GB, free: 61.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001564/2.813, allocations: 19.92 kB / 1.071 GB, free: 61.25 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1484/2.962, allocations: 46.64 MB / 1.117 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.921e-05/2.962, allocations: 3.188 kB / 1.117 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001922/2.964, allocations: 454.8 kB / 1.117 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02526/2.989, allocations: 15.48 MB / 1.132 GB, free: 14.88 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001767/2.991, allocations: 112.6 kB / 1.132 GB, free: 14.77 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.535/3.526, allocations: 115 MB / 1.245 GB, free: 86.67 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/3.526, allocations: 0 / 1.245 GB, free: 86.67 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1063/3.632, allocations: 30.87 MB / 1.275 GB, free: 55.96 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01064/3.643, allocations: 2.653 MB / 1.277 GB, free: 53.34 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006507/3.65, allocations: 72 kB / 1.277 GB, free: 53.27 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01341/3.663, allocations: 1.393 MB / 1.279 GB, free: 51.88 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001345/3.664, allocations: 281.9 kB / 1.279 GB, free: 51.6 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002209/3.667, allocations: 135.9 kB / 1.279 GB, free: 51.47 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.02592/3.693, allocations: 10.49 MB / 1.289 GB, free: 41.05 MB / 0.4982 GB Notification: Performance of sort global known variables: time 4.41e-07/3.693, allocations: 4 kB / 1.289 GB, free: 41.05 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.02537/3.718, allocations: 3.72 MB / 1.293 GB, free: 37.43 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.002414/3.72, allocations: 186.2 kB / 1.293 GB, free: 37.25 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.3379/4.058, allocations: 39.91 MB / 1.332 GB, free: 129.2 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/4.058, allocations: 0 / 1.332 GB, free: 129.2 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.05696/4.115, allocations: 17.29 MB / 1.349 GB, free: 128 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01873/4.134, allocations: 3.108 MB / 1.352 GB, free: 127.5 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08338/4.218, allocations: 33.93 MB / 1.385 GB, free: 113.7 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02095/4.239, allocations: 8.684 MB / 1.394 GB, free: 110.9 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.02135/4.26, allocations: 3.891 MB / 1.398 GB, free: 110.1 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004409/4.264, allocations: 0.6339 MB / 1.398 GB, free: 110 MB / 0.4982 GB Notification: Performance of SimCode: time 1.393e-06/4.264, allocations: 3.375 kB / 1.398 GB, free: 110 MB / 0.4982 GB Notification: Performance of Templates: time 0.6275/4.892, allocations: 272.4 MB / 1.664 GB, free: 12.69 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)