Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.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.SimpleCellVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource") translateModel(PhotoVoltaics.Examples.SimpleCellVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00111/0.00111, allocations: 189.6 kB / 16.25 MB, free: 6.629 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.388/1.388, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1597/0.1597, allocations: 5.388 MB / 295.5 MB, free: 2.957 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.00111, allocations: 63.91 kB / 360.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.112, allocations: 50.61 MB / 411 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.004212/0.1162, allocations: 3.331 MB / 414.3 MB, free: 8.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.1179, allocations: 1.207 MB / 415.5 MB, free: 7.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/0.1181, allocations: 4 kB / 415.5 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000533/0.1187, allocations: 206.8 kB / 415.7 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002776/0.119, allocations: 111.2 kB / 415.8 MB, free: 6.938 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.1191, allocations: 99.91 kB / 415.9 MB, free: 6.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004385/0.1196, allocations: 0.5215 MB / 416.4 MB, free: 6.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000204/0.1198, allocations: 124 kB / 416.6 MB, free: 6.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.12, allocations: 203.2 kB / 416.8 MB, free: 5.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.1202, allocations: 227.1 kB / 417 MB, free: 5.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.932e-05/0.1203, allocations: 52 kB / 417 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.1204, allocations: 63.98 kB / 417.1 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.227e-05/0.1205, allocations: 99.66 kB / 417.2 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.1207, allocations: 214.9 kB / 417.4 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004112/0.1211, allocations: 0.4906 MB / 417.9 MB, free: 4.855 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1211, allocations: 4 kB / 417.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1211, allocations: 0 / 417.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1211, allocations: 0 / 417.9 MB, free: 4.852 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001872/0.123, allocations: 0.779 MB / 418.7 MB, free: 4.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.123, allocations: 12.03 kB / 418.7 MB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.685e-05/0.1231, allocations: 36.47 kB / 418.7 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009112/0.124, allocations: 460 kB / 419.2 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.1241, allocations: 20.56 kB / 419.2 MB, free: 3.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.1241, allocations: 27.94 kB / 419.2 MB, free: 3.434 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005281/0.1247, allocations: 275.4 kB / 419.5 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1247, allocations: 0 / 419.5 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.546e-05/0.1247, allocations: 8 kB / 419.5 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.1247, allocations: 7.938 kB / 419.5 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005286/0.1253, allocations: 233 kB / 419.7 MB, free: 2.902 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002043/0.1273, allocations: 1.273 MB / 421 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003713/0.1277, allocations: 142.5 kB / 421.1 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002871/0.128, allocations: 104.8 kB / 421.2 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.128, allocations: 0 / 421.2 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.1281, allocations: 38.5 kB / 421.3 MB, free: 1.246 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.1281, allocations: 0 / 421.3 MB, free: 1.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007358/0.1288, allocations: 253.3 kB / 421.5 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.1289, allocations: 51.41 kB / 421.6 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004795/0.1294, allocations: 369.7 kB / 421.9 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.1294, allocations: 25.7 kB / 422 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.1296, allocations: 215.7 kB / 422.2 MB, free: 316 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.1296, allocations: 31.64 kB / 422.2 MB, free: 284 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.757e-05/0.1297, allocations: 49.59 kB / 422.3 MB, free: 228 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.2111/0.3408, allocations: 338.2 kB / 422.6 MB, free: 47.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000327/0.3412, allocations: 96.53 kB / 422.7 MB, free: 47.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.3414, allocations: 129.9 kB / 422.8 MB, free: 47.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004198/0.3418, allocations: 200.3 kB / 423 MB, free: 47.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3418, allocations: 0 / 423 MB, free: 47.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00101/0.3429, allocations: 346.2 kB / 423.3 MB, free: 47.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.3429, allocations: 7.406 kB / 423.3 MB, free: 47.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3429, allocations: 0.7812 kB / 423.3 MB, free: 47.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005118/0.3434, allocations: 78.19 kB / 423.4 MB, free: 47.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.3438, allocations: 56.61 kB / 423.5 MB, free: 47.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/0.3449, allocations: 1.564 MB / 425 MB, free: 46.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003589/0.3453, allocations: 38.92 kB / 425.1 MB, free: 46.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.3453, allocations: 10.48 kB / 425.1 MB, free: 46.38 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001453/0.3455, allocations: 148 kB / 425.2 MB, free: 46.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.283e-05/0.3456, allocations: 31.86 kB / 425.3 MB, free: 46.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.036e-05/0.3456, allocations: 30.88 kB / 425.3 MB, free: 46.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.3456, allocations: 3.797 kB / 425.3 MB, free: 46.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.3456, allocations: 0.75 kB / 425.3 MB, free: 46.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3456, allocations: 0 / 425.3 MB, free: 46.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007793/0.3464, allocations: 0.6032 MB / 425.9 MB, free: 45.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3464, allocations: 0 / 425.9 MB, free: 45.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.3466, allocations: 28.38 kB / 425.9 MB, free: 45.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3466, allocations: 2.859 kB / 425.9 MB, free: 45.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.3466, allocations: 5.828 kB / 425.9 MB, free: 45.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3467, allocations: 3.938 kB / 425.9 MB, free: 45.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3467, allocations: 0 / 425.9 MB, free: 45.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003857/0.3471, allocations: 293.3 kB / 426.2 MB, free: 45.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.14e-05/0.3472, allocations: 123.8 kB / 426.4 MB, free: 45.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.206e-05/0.3472, allocations: 0.8125 kB / 426.4 MB, free: 45.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.3474, allocations: 24.14 kB / 426.4 MB, free: 45.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.3475, allocations: 5.375 kB / 426.4 MB, free: 45.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.3475, allocations: 6.75 kB / 426.4 MB, free: 45.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001988/0.3477, allocations: 257 kB / 426.6 MB, free: 45.63 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3477, allocations: 3.75 kB / 426.6 MB, free: 45.63 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003401/0.3481, allocations: 71.5 kB / 426.7 MB, free: 45.63 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001151/0.3482, allocations: 97.47 kB / 426.8 MB, free: 45.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006864/0.3489, allocations: 350.7 kB / 427.2 MB, free: 45.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3489, allocations: 0 / 427.2 MB, free: 45.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.3491, allocations: 66.27 kB / 427.2 MB, free: 45.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005124/0.3496, allocations: 75.69 kB / 427.3 MB, free: 45.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008778/0.3505, allocations: 0.6533 MB / 427.9 MB, free: 45.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001745/0.3506, allocations: 0.7693 MB / 428.7 MB, free: 44.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001873/0.3508, allocations: 40.45 kB / 428.8 MB, free: 44.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.062e-05/0.3509, allocations: 28.06 kB / 428.8 MB, free: 44.33 MB / 350.1 MB Notification: Performance of SimCode: time 1.663e-06/0.3509, allocations: 0 / 428.8 MB, free: 44.33 MB / 350.1 MB Notification: Performance of Templates: time 0.006818/0.3578, allocations: 3.596 MB / 432.4 MB, free: 44.16 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe 2>&1)