Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.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.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") translateModel(PhotoVoltaics.Examples.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, 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.001167/0.001167, allocations: 194.2 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1467/0.1467, allocations: 5.385 MB / 295.8 MB, free: 2.781 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.001961, allocations: 63.91 kB / 360.9 MB, free: 14.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1197, allocations: 50.6 MB / 411.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.00465/0.1244, allocations: 3.379 MB / 414.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.1263, allocations: 1.246 MB / 416.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002905/0.1267, allocations: 11.94 kB / 416.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005771/0.1272, allocations: 214.7 kB / 416.4 MB, free: 6.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004211/0.1277, allocations: 142.9 kB / 416.5 MB, free: 6.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.1279, allocations: 119.8 kB / 416.6 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005693/0.1285, allocations: 0.5527 MB / 417.2 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002385/0.1288, allocations: 124.1 kB / 417.3 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002845/0.129, allocations: 215.1 kB / 417.5 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003116/0.1294, allocations: 251 kB / 417.8 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.665e-05/0.1295, allocations: 52 kB / 417.8 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.1296, allocations: 59.98 kB / 417.9 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.105e-05/0.1297, allocations: 107.6 kB / 418 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002146/0.1299, allocations: 227 kB / 418.2 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004793/0.1304, allocations: 0.5178 MB / 418.7 MB, free: 4.184 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1304, allocations: 3.938 kB / 418.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1304, allocations: 0 / 418.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.1305, allocations: 0 / 418.7 MB, free: 4.18 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001994/0.1325, allocations: 0.8102 MB / 419.5 MB, free: 3.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.1325, allocations: 12.03 kB / 419.5 MB, free: 3.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.1326, allocations: 44.38 kB / 419.6 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.1337, allocations: 496 kB / 420.1 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.1338, allocations: 20.69 kB / 420.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.718e-05/0.1338, allocations: 16 kB / 420.1 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005434/0.1344, allocations: 301.1 kB / 420.4 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1344, allocations: 0 / 420.4 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/0.1344, allocations: 12 kB / 420.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1344, allocations: 4 kB / 420.4 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005942/0.135, allocations: 253.5 kB / 420.7 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002093/0.1371, allocations: 1.27 MB / 421.9 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005099/0.1377, allocations: 263.5 kB / 422.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003011/0.138, allocations: 108.8 kB / 422.3 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.138, allocations: 7.984 kB / 422.3 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.138, allocations: 30.56 kB / 422.3 MB, free: 348 kB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.138, allocations: 0 / 422.3 MB, free: 348 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.1989/0.3369, allocations: 0.7334 MB / 423.1 MB, free: 48.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.337, allocations: 51.41 kB / 423.1 MB, free: 48.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004692/0.3374, allocations: 388.5 kB / 423.5 MB, free: 47.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.3375, allocations: 27.89 kB / 423.5 MB, free: 47.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.3376, allocations: 214.8 kB / 423.7 MB, free: 47.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.3377, allocations: 42.91 kB / 423.8 MB, free: 47.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.3378, allocations: 54.17 kB / 423.8 MB, free: 47.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.363e-05/0.3378, allocations: 350.7 kB / 424.2 MB, free: 47.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002767/0.3381, allocations: 100.1 kB / 424.3 MB, free: 47.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.3384, allocations: 136.1 kB / 424.4 MB, free: 47.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004434/0.3388, allocations: 211.4 kB / 424.6 MB, free: 47.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3389, allocations: 3.875 kB / 424.6 MB, free: 47.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.002007/0.3409, allocations: 0.5524 MB / 425.2 MB, free: 47.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3409, allocations: 10.38 kB / 425.2 MB, free: 47.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3409, allocations: 0.5625 kB / 425.2 MB, free: 47.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007828/0.3417, allocations: 243.5 kB / 425.4 MB, free: 47.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.3419, allocations: 40.47 kB / 425.4 MB, free: 47.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004429/0.3463, allocations: 3.789 MB / 429.2 MB, free: 44.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003331/0.3467, allocations: 35.62 kB / 429.3 MB, free: 44.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.3467, allocations: 18.39 kB / 429.3 MB, free: 44.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): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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 {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000137/0.3469, allocations: 151.5 kB / 429.4 MB, free: 44.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.866e-05/0.3469, allocations: 35.66 kB / 429.5 MB, free: 44.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.397e-05/0.347, allocations: 38.08 kB / 429.5 MB, free: 44.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.347, allocations: 0 / 429.5 MB, free: 44.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.347, allocations: 0 / 429.5 MB, free: 44.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.347, allocations: 1.219 kB / 429.5 MB, free: 44.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/0.349, allocations: 0.846 MB / 430.4 MB, free: 43.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.349, allocations: 0 / 430.4 MB, free: 43.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.173e-05/0.3491, allocations: 30.52 kB / 430.4 MB, free: 43.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002832/0.3494, allocations: 161.5 kB / 430.5 MB, free: 43.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.3494, allocations: 3.156 kB / 430.5 MB, free: 43.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002736/0.3521, allocations: 2.005 MB / 432.6 MB, free: 42.08 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3521, allocations: 7.125 kB / 432.6 MB, free: 42.08 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.3537, allocations: 0.4982 MB / 433.1 MB, free: 41.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.725e-05/0.3538, allocations: 132.1 kB / 433.2 MB, free: 41.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.42e-05/0.3538, allocations: 7.766 kB / 433.2 MB, free: 41.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/0.3541, allocations: 23.91 kB / 433.2 MB, free: 41.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.3541, allocations: 6.656 kB / 433.2 MB, free: 41.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.3541, allocations: 3.219 kB / 433.2 MB, free: 41.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002238/0.3544, allocations: 275.7 kB / 433.5 MB, free: 41.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3544, allocations: 0 / 433.5 MB, free: 41.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004484/0.3548, allocations: 90.88 kB / 433.6 MB, free: 41.56 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 (9): * 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: 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 {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001176/0.355, allocations: 104.7 kB / 433.7 MB, free: 41.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008667/0.3558, allocations: 491.1 kB / 434.2 MB, free: 41.17 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.3559, allocations: 0 / 434.2 MB, free: 41.17 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002572/0.3561, allocations: 198.1 kB / 434.4 MB, free: 41.03 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000519/0.3566, allocations: 86.14 kB / 434.4 MB, free: 41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009926/0.3577, allocations: 0.5938 MB / 435 MB, free: 40.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001702/0.3578, allocations: 0.7804 MB / 435.8 MB, free: 39.97 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001619/0.358, allocations: 39.94 kB / 435.9 MB, free: 39.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.789e-05/0.3581, allocations: 25.19 kB / 435.9 MB, free: 39.96 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3581, allocations: 0 / 435.9 MB, free: 39.96 MB / 350.1 MB Notification: Performance of Templates: time 0.009376/0.3674, allocations: 6.179 MB / 442.1 MB, free: 39.61 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe 2>&1)