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.001472/0.001472, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00196/0.00196, allocations: 196.2 kB / 16.14 MB, free: 6.703 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.311/1.311, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.2074/0.2074, allocations: 5.394 MB / 295.3 MB, free: 3.02 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 59.91 kB / 360.2 MB, free: 14.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1048, allocations: 50.61 MB / 410.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.004193/0.109, allocations: 3.333 MB / 414.1 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.1108, allocations: 1.204 MB / 415.3 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003284/0.1112, allocations: 4 kB / 415.3 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005939/0.1118, allocations: 206.9 kB / 415.5 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003715/0.1122, allocations: 119.2 kB / 415.6 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.1124, allocations: 95.91 kB / 415.7 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004859/0.1129, allocations: 0.4941 MB / 416.2 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/0.1131, allocations: 108 kB / 416.3 MB, free: 6.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002499/0.1134, allocations: 171.3 kB / 416.5 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/0.1136, allocations: 211.1 kB / 416.7 MB, free: 6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.619e-05/0.1137, allocations: 24 kB / 416.7 MB, free: 5.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.1138, allocations: 36 kB / 416.8 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.36e-05/0.1139, allocations: 79.59 kB / 416.8 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.1141, allocations: 191 kB / 417 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004055/0.1145, allocations: 482.3 kB / 417.5 MB, free: 5.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1145, allocations: 0 / 417.5 MB, free: 5.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1145, allocations: 0 / 417.5 MB, free: 5.203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1145, allocations: 0 / 417.5 MB, free: 5.203 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.001899/0.1164, allocations: 0.7829 MB / 418.3 MB, free: 4.371 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.1165, allocations: 8.031 kB / 418.3 MB, free: 4.363 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.741e-05/0.1166, allocations: 44.47 kB / 418.3 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009436/0.1175, allocations: 460 kB / 418.8 MB, free: 3.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.1175, allocations: 16.56 kB / 418.8 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.595e-05/0.1176, allocations: 20 kB / 418.8 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005107/0.1181, allocations: 279.4 kB / 419.1 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1181, allocations: 3.984 kB / 419.1 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.1182, allocations: 11.94 kB / 419.1 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.1182, allocations: 8 kB / 419.1 MB, free: 3.477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005605/0.1187, allocations: 221 kB / 419.3 MB, free: 3.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002178/0.1209, allocations: 1.277 MB / 420.6 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000387/0.1213, allocations: 146.5 kB / 420.7 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/0.1216, allocations: 96.8 kB / 420.8 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.1217, allocations: 7.984 kB / 420.8 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.1217, allocations: 38.5 kB / 420.9 MB, free: 1.594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.1217, allocations: 0 / 420.9 MB, free: 1.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006986/0.1224, allocations: 241.2 kB / 421.1 MB, free: 1.352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.1224, allocations: 55.41 kB / 421.2 MB, free: 1.285 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000365/0.1228, allocations: 369.7 kB / 421.5 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.1228, allocations: 29.64 kB / 421.6 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.123, allocations: 211.7 kB / 421.8 MB, free: 0.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.123, allocations: 35.78 kB / 421.8 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.6e-05/0.1231, allocations: 49.59 kB / 421.9 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.1232, allocations: 342.8 kB / 422.2 MB, free: 240 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000243/0.1235, allocations: 99.94 kB / 422.3 MB, free: 140 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002469/0.1237, allocations: 127.3 kB / 422.4 MB, free: 0 / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1595/0.2833, allocations: 191.2 kB / 422.6 MB, free: 47.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.2833, allocations: 2.953 kB / 422.6 MB, free: 47.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009702/0.2843, allocations: 349 kB / 422.9 MB, free: 47.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.2843, allocations: 7.25 kB / 422.9 MB, free: 47.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2843, allocations: 0 / 422.9 MB, free: 47.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004801/0.2848, allocations: 75.31 kB / 423 MB, free: 47.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.2851, allocations: 56.17 kB / 423.1 MB, free: 47.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/0.2865, allocations: 1.463 MB / 424.5 MB, free: 46.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003399/0.2868, allocations: 37.81 kB / 424.6 MB, free: 46.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.2868, allocations: 12.55 kB / 424.6 MB, free: 46.53 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.0001322/0.287, allocations: 138.1 kB / 424.7 MB, free: 46.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/0.287, allocations: 36.78 kB / 424.8 MB, free: 46.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.011e-05/0.2871, allocations: 31.39 kB / 424.8 MB, free: 46.4 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.2871, allocations: 3.938 kB / 424.8 MB, free: 46.4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.2871, allocations: 0 / 424.8 MB, free: 46.4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2871, allocations: 1.219 kB / 424.8 MB, free: 46.4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000804/0.2879, allocations: 0.5967 MB / 425.4 MB, free: 46.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.2879, allocations: 0.5625 kB / 425.4 MB, free: 46.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.2881, allocations: 27.81 kB / 425.4 MB, free: 46.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2881, allocations: 0 / 425.4 MB, free: 46.1 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.2882, allocations: 3.969 kB / 425.4 MB, free: 46.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.2882, allocations: 7.438 kB / 425.4 MB, free: 46.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2882, allocations: 2.25 kB / 425.4 MB, free: 46.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000427/0.2886, allocations: 290.4 kB / 425.7 MB, free: 45.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.13e-05/0.2887, allocations: 127.2 kB / 425.8 MB, free: 45.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.238e-05/0.2887, allocations: 3.188 kB / 425.8 MB, free: 45.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.289, allocations: 16.7 kB / 425.9 MB, free: 45.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.289, allocations: 9.031 kB / 425.9 MB, free: 45.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.289, allocations: 3.328 kB / 425.9 MB, free: 45.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002193/0.2893, allocations: 260.5 kB / 426.1 MB, free: 45.78 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2893, allocations: 0 / 426.1 MB, free: 45.78 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003332/0.2896, allocations: 68.69 kB / 426.2 MB, free: 45.78 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 8.864e-05/0.2897, allocations: 100.4 kB / 426.3 MB, free: 45.69 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000677/0.2904, allocations: 340.4 kB / 426.6 MB, free: 45.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2904, allocations: 0 / 426.6 MB, free: 45.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.2906, allocations: 70.11 kB / 426.7 MB, free: 45.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005682/0.2912, allocations: 76.61 kB / 426.8 MB, free: 45.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008683/0.2921, allocations: 0.6466 MB / 427.4 MB, free: 45.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001826/0.2922, allocations: 0.7677 MB / 428.2 MB, free: 44.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001937/0.2925, allocations: 45.5 kB / 428.2 MB, free: 44.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.55e-05/0.2925, allocations: 26.41 kB / 428.3 MB, free: 44.48 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2925, allocations: 0 / 428.3 MB, free: 44.48 MB / 350.1 MB Notification: Performance of Templates: time 0.005981/0.2985, allocations: 3.412 MB / 431.7 MB, free: 44.32 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)