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.001167/0.001168, allocations: 110.9 kB / 16.42 MB, free: 6.488 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.001211/0.001211, allocations: 186.7 kB / 17.35 MB, free: 5.727 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02788/0.02788, allocations: 5.403 MB / 296.6 MB, free: 9.457 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 63.91 kB / 413.5 MB, free: 22.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08423/0.08557, allocations: 50.62 MB / 464.1 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.005849/0.09145, allocations: 4.381 MB / 468.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002764/0.09424, allocations: 1.578 MB / 470.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005478/0.09481, allocations: 8 kB / 470.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.09597, allocations: 308.9 kB / 470.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008268/0.09682, allocations: 238.3 kB / 470.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005099/0.09734, allocations: 207.6 kB / 470.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02126/0.1186, allocations: 25.69 MB / 496.5 MB, free: 3.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01002/0.1287, allocations: 7.943 MB / 0.4926 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01215/0.1409, allocations: 9.353 MB / 0.5018 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2259/0.3668, allocations: 10.84 MB / 0.5123 GB, free: 21.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009121/0.376, allocations: 2.706 MB / 0.515 GB, free: 21.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01035/0.3863, allocations: 2.718 MB / 0.5176 GB, free: 21.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007882/0.3942, allocations: 5.121 MB / 0.5226 GB, free: 19.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01441/0.4087, allocations: 9.534 MB / 0.532 GB, free: 13.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02584/0.4345, allocations: 28.92 MB / 0.5602 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.4346, allocations: 2.719 kB / 0.5602 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4346, allocations: 0.6562 kB / 0.5602 GB, free: 10.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0008406/0.4354, allocations: 0 / 0.5602 GB, free: 10.72 MB / 398.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.1094/0.5449, allocations: 31.41 MB / 0.5909 GB, free: 12.19 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.545, allocations: 12.03 kB / 0.5909 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007876/0.5528, allocations: 1.456 MB / 0.5923 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05263/0.6055, allocations: 18.95 MB / 0.6108 GB, free: 8.055 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006274/0.6062, allocations: 0.6256 MB / 0.6114 GB, free: 7.426 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003772/0.6099, allocations: 0.8163 MB / 0.6122 GB, free: 6.609 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03834/0.6483, allocations: 15.67 MB / 0.6275 GB, free: 6.469 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002171/0.6485, allocations: 27.84 kB / 0.6276 GB, free: 6.453 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002536/0.6511, allocations: 344 kB / 0.6279 GB, free: 6.117 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000179/0.6513, allocations: 216 kB / 0.6281 GB, free: 5.906 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04197/0.6933, allocations: 17.59 MB / 0.6453 GB, free: 4.418 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3471/1.04, allocations: 57.24 MB / 0.7012 GB, free: 139.9 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03223/1.073, allocations: 21.37 MB / 0.722 GB, free: 133.7 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01128/1.084, allocations: 7.44 MB / 0.7293 GB, free: 131.4 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001976/1.084, allocations: 75.58 kB / 0.7294 GB, free: 131.4 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.449e-05/1.084, allocations: 78.77 kB / 0.7294 GB, free: 131.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=448): time 6.041e-06/1.084, allocations: 1.688 kB / 0.7294 GB, free: 131.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=448): time 0.09807/1.182, allocations: 36.3 MB / 0.7649 GB, free: 111.9 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/1.182, allocations: 102.9 kB / 0.765 GB, free: 111.8 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02469/1.207, allocations: 15.18 MB / 0.7798 GB, free: 96.91 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001744/1.209, allocations: 113.7 kB / 0.7799 GB, free: 96.8 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00437/1.213, allocations: 6.09 MB / 0.7859 GB, free: 91.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002019/1.215, allocations: 1.585 MB / 0.7874 GB, free: 90.28 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003964/1.219, allocations: 2.093 MB / 0.7895 GB, free: 88.17 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 3.861e-05/1.219, allocations: 301.1 kB / 0.7898 GB, free: 87.88 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0119/1.231, allocations: 7.648 MB / 0.7972 GB, free: 80.21 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0144/1.246, allocations: 8.837 MB / 0.8059 GB, free: 71.05 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02837/1.274, allocations: 14.4 MB / 0.8199 GB, free: 56.32 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.198e-05/1.274, allocations: 8 kB / 0.8199 GB, free: 56.31 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.1203/1.394, allocations: 39.94 MB / 0.8589 GB, free: 16.11 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.108e-05/1.394, allocations: 19.94 kB / 0.8589 GB, free: 16.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.577e-05/1.395, allocations: 28.12 kB / 0.859 GB, free: 16.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04831/1.443, allocations: 26 MB / 0.8844 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007881/1.451, allocations: 1.494 MB / 0.8858 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5774/2.028, allocations: 202.8 MB / 1.084 GB, free: 21.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01819/2.046, allocations: 2.565 MB / 1.086 GB, free: 19.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002177/2.049, allocations: 379.7 kB / 1.087 GB, free: 19.45 MB / 0.545 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.007842/2.056, allocations: 4.518 MB / 1.091 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003058/2.06, allocations: 1.159 MB / 1.092 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.336/2.396, allocations: 31.81 MB / 1.123 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001288/2.396, allocations: 21.09 kB / 1.123 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/2.396, allocations: 0.5625 kB / 1.123 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008632/2.404, allocations: 2.694 MB / 1.126 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004966/2.409, allocations: 71.5 kB / 1.126 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01103/2.42, allocations: 1.398 MB / 1.127 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009095/2.421, allocations: 411.8 kB / 1.128 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.07402/2.495, allocations: 27.76 MB / 1.155 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03229/2.528, allocations: 19.14 MB / 1.174 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009749/2.537, allocations: 6.019 MB / 1.18 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.02072/2.558, allocations: 10.49 MB / 1.19 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of Backend: time 6.71e-07/2.558, allocations: 0 / 1.19 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.07785/2.636, allocations: 28 MB / 1.217 GB, free: 122 MB / 0.5606 GB Notification: Performance of SimCode: time 0.05116/2.687, allocations: 28.98 MB / 1.245 GB, free: 93.14 MB / 0.5606 GB Notification: Performance of Templates: time 0.6529/3.34, allocations: 253.9 MB / 1.493 GB, free: 43.55 MB / 0.5606 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)