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.001056/0.001056, 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.001292/0.001292, allocations: 193.7 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.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1534/0.1534, allocations: 5.381 MB / 295.8 MB, free: 2.836 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 63.89 kB / 360.9 MB, free: 14.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.115, allocations: 50.6 MB / 411.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.005014/0.12, allocations: 3.284 MB / 414.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.1221, allocations: 1.227 MB / 416 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003393/0.1224, allocations: 4 kB / 416 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006933/0.1232, allocations: 210.7 kB / 416.2 MB, free: 6.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005227/0.1237, allocations: 135 kB / 416.4 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.124, allocations: 111.8 kB / 416.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006736/0.1247, allocations: 0.5177 MB / 417 MB, free: 5.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002833/0.125, allocations: 124 kB / 417.1 MB, free: 5.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003284/0.1253, allocations: 195.2 kB / 417.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003866/0.1257, allocations: 243 kB / 417.5 MB, free: 5.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.463e-05/0.1258, allocations: 52 kB / 417.6 MB, free: 5.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.126, allocations: 56 kB / 417.6 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.581e-05/0.1261, allocations: 99.66 kB / 417.7 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002361/0.1263, allocations: 218.9 kB / 418 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000552/0.1269, allocations: 498.4 kB / 418.4 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1269, allocations: 0 / 418.4 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1269, allocations: 0 / 418.4 MB, free: 4.473 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.125e-05/0.1269, allocations: 11.98 kB / 418.5 MB, free: 4.461 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.001988/0.1289, allocations: 0.7712 MB / 419.2 MB, free: 3.641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.129, allocations: 12.02 kB / 419.2 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.1291, allocations: 44.47 kB / 419.3 MB, free: 3.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00096/0.1301, allocations: 452.1 kB / 419.7 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.1301, allocations: 20.56 kB / 419.7 MB, free: 3.082 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.941e-05/0.1302, allocations: 20 kB / 419.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005572/0.1307, allocations: 287.3 kB / 420 MB, free: 2.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1307, allocations: 0 / 420 MB, free: 2.762 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.818e-05/0.1308, allocations: 8 kB / 420.1 MB, free: 2.754 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.1308, allocations: 7.984 kB / 420.1 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000592/0.1314, allocations: 236.9 kB / 420.3 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002241/0.1336, allocations: 1.277 MB / 421.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003747/0.134, allocations: 142.5 kB / 421.7 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002974/0.1343, allocations: 100.8 kB / 421.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.1344, allocations: 0 / 421.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.1344, allocations: 38.56 kB / 421.8 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.1344, allocations: 0 / 421.8 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007668/0.1352, allocations: 253.3 kB / 422.1 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.1352, allocations: 55.39 kB / 422.1 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004511/0.1357, allocations: 365.7 kB / 422.5 MB, free: 176 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.1357, allocations: 25.7 kB / 422.5 MB, free: 144 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1716/0.3073, allocations: 218.1 kB / 422.7 MB, free: 48.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.312e-05/0.3074, allocations: 23.72 kB / 422.8 MB, free: 48.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.3075, allocations: 52.05 kB / 422.8 MB, free: 48.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.896e-05/0.3076, allocations: 344.5 kB / 423.2 MB, free: 47.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/0.3079, allocations: 93.53 kB / 423.2 MB, free: 47.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/0.3082, allocations: 126.8 kB / 423.4 MB, free: 47.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004689/0.3087, allocations: 206.1 kB / 423.6 MB, free: 47.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.3087, allocations: 0 / 423.6 MB, free: 47.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001077/0.3098, allocations: 345.8 kB / 423.9 MB, free: 47.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.3098, allocations: 4.906 kB / 423.9 MB, free: 47.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.3098, allocations: 4.906 kB / 423.9 MB, free: 47.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004857/0.3103, allocations: 75.73 kB / 424 MB, free: 47.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.3106, allocations: 58.09 kB / 424 MB, free: 47.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/0.3118, allocations: 1.562 MB / 425.6 MB, free: 46.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003315/0.3122, allocations: 40.31 kB / 425.6 MB, free: 46.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.3122, allocations: 8.438 kB / 425.7 MB, free: 46.18 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.0001321/0.3124, allocations: 150.3 kB / 425.8 MB, free: 46.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.65e-05/0.3124, allocations: 36.56 kB / 425.8 MB, free: 46.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.177e-05/0.3125, allocations: 31.94 kB / 425.9 MB, free: 46.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3125, allocations: 0 / 425.9 MB, free: 46.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.3125, allocations: 0 / 425.9 MB, free: 46.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3125, allocations: 0 / 425.9 MB, free: 46.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000772/0.3133, allocations: 0.5956 MB / 426.5 MB, free: 45.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3133, allocations: 3.625 kB / 426.5 MB, free: 45.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.3135, allocations: 27.67 kB / 426.5 MB, free: 45.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3135, allocations: 0 / 426.5 MB, free: 45.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.3135, allocations: 14.11 kB / 426.5 MB, free: 45.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3135, allocations: 3.938 kB / 426.5 MB, free: 45.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3135, allocations: 0 / 426.5 MB, free: 45.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003936/0.3139, allocations: 289.4 kB / 426.8 MB, free: 45.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.953e-05/0.314, allocations: 122.1 kB / 426.9 MB, free: 45.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.175e-05/0.314, allocations: 4.031 kB / 426.9 MB, free: 45.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.3143, allocations: 22.86 kB / 426.9 MB, free: 45.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.3143, allocations: 6.328 kB / 426.9 MB, free: 45.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.3143, allocations: 1.938 kB / 426.9 MB, free: 45.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002093/0.3145, allocations: 260.9 kB / 427.2 MB, free: 45.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3145, allocations: 1.812 kB / 427.2 MB, free: 45.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003435/0.3149, allocations: 72.84 kB / 427.3 MB, free: 45.38 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 9.96e-05/0.315, allocations: 98.86 kB / 427.4 MB, free: 45.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006726/0.3157, allocations: 340.3 kB / 427.7 MB, free: 45.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.3157, allocations: 3.281 kB / 427.7 MB, free: 45.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001827/0.3159, allocations: 72.53 kB / 427.8 MB, free: 45.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005494/0.3164, allocations: 76.7 kB / 427.9 MB, free: 45.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009019/0.3173, allocations: 0.5417 MB / 428.4 MB, free: 44.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001834/0.3175, allocations: 0.7686 MB / 429.2 MB, free: 44.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001886/0.3177, allocations: 42.14 kB / 429.2 MB, free: 44.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.377e-05/0.3178, allocations: 30.89 kB / 429.2 MB, free: 44.2 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3178, allocations: 4 kB / 429.2 MB, free: 44.19 MB / 350.1 MB Notification: Performance of Templates: time 0.006906/0.3247, allocations: 3.65 MB / 432.9 MB, free: 44.02 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)