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.001267/0.001267, allocations: 102.8 kB / 16.41 MB, free: 6.469 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.001267/0.001267, allocations: 189.5 kB / 17.34 MB, free: 5.754 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.02753/0.02753, allocations: 5.401 MB / 296.6 MB, free: 9.465 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 63.89 kB / 413.5 MB, free: 22.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0963/0.09751, allocations: 50.62 MB / 464.1 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.005769/0.1033, allocations: 3.271 MB / 467.4 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002326/0.1057, allocations: 1.223 MB / 468.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003944/0.1061, allocations: 11.94 kB / 468.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007624/0.1069, allocations: 210.8 kB / 468.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005931/0.1075, allocations: 142.9 kB / 468.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.1078, allocations: 103.9 kB / 469 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007544/0.1086, allocations: 0.5331 MB / 469.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002525/0.1089, allocations: 112.1 kB / 469.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.1091, allocations: 203.2 kB / 469.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002977/0.1094, allocations: 239 kB / 470.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.063e-05/0.1095, allocations: 52 kB / 470.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.1097, allocations: 55.98 kB / 470.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.659e-05/0.1098, allocations: 107.6 kB / 470.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.11, allocations: 211 kB / 470.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005265/0.1105, allocations: 0.4945 MB / 471 MB, free: 12.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.1105, allocations: 0 / 471 MB, free: 12.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1105, allocations: 0 / 471 MB, free: 12.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.1105, allocations: 0 / 471 MB, free: 12.86 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.001892/0.1124, allocations: 0.7868 MB / 471.8 MB, free: 12.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1125, allocations: 8.031 kB / 471.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.006e-05/0.1126, allocations: 40.47 kB / 471.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.1136, allocations: 464 kB / 472.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.1136, allocations: 24.55 kB / 472.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.291e-05/0.1137, allocations: 24 kB / 472.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005142/0.1142, allocations: 275.4 kB / 472.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1142, allocations: 0 / 472.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.1143, allocations: 15.94 kB / 472.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.1143, allocations: 4 kB / 472.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005121/0.1148, allocations: 229 kB / 472.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002036/0.1168, allocations: 1.258 MB / 474.1 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000354/0.1172, allocations: 146.5 kB / 474.3 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002845/0.1175, allocations: 108.8 kB / 474.4 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.1175, allocations: 0 / 474.4 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.1176, allocations: 38.5 kB / 474.4 MB, free: 9.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.1176, allocations: 0 / 474.4 MB, free: 9.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006928/0.1183, allocations: 253.3 kB / 474.7 MB, free: 9.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.1183, allocations: 51.41 kB / 474.7 MB, free: 8.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003933/0.1187, allocations: 369.6 kB / 475.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.1188, allocations: 29.7 kB / 475.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.1189, allocations: 211.7 kB / 475.3 MB, free: 8.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.119, allocations: 35.64 kB / 475.4 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.1191, allocations: 49.59 kB / 475.4 MB, free: 8.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1192, allocations: 342.7 kB / 475.7 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.1195, allocations: 95.94 kB / 475.8 MB, free: 7.793 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.1197, allocations: 131 kB / 476 MB, free: 7.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004361/0.1202, allocations: 195.3 kB / 476.2 MB, free: 7.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.706e-06/0.1202, allocations: 11.94 kB / 476.2 MB, free: 7.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009603/0.1212, allocations: 340.5 kB / 476.5 MB, free: 7.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1212, allocations: 4 kB / 476.5 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.1212, allocations: 8.094 kB / 476.5 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004888/0.1217, allocations: 68.78 kB / 476.6 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/0.122, allocations: 63.83 kB / 476.6 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/0.1237, allocations: 1.582 MB / 478.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/0.124, allocations: 35.77 kB / 478.3 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.1241, allocations: 7.984 kB / 478.3 MB, free: 5.188 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.0001674/0.1242, allocations: 149.7 kB / 478.4 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.691e-05/0.1243, allocations: 31.62 kB / 478.4 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.268e-05/0.1244, allocations: 31.06 kB / 478.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1244, allocations: 0 / 478.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.1244, allocations: 0 / 478.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.1244, allocations: 0 / 478.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009334/0.1253, allocations: 0.5927 MB / 479.1 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.1254, allocations: 4.031 kB / 479.1 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.1256, allocations: 27.97 kB / 479.1 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.1256, allocations: 7.938 kB / 479.1 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.1256, allocations: 0 / 479.1 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.1256, allocations: 4 kB / 479.1 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1256, allocations: 3.938 kB / 479.1 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004798/0.1261, allocations: 295.9 kB / 479.4 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.1262, allocations: 120.7 kB / 479.5 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.489e-05/0.1263, allocations: 3.984 kB / 479.5 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.1265, allocations: 19.98 kB / 479.5 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.1266, allocations: 7.922 kB / 479.5 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.1266, allocations: 8 kB / 479.6 MB, free: 3.785 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002745/0.1269, allocations: 259.2 kB / 479.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1269, allocations: 0 / 479.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003491/0.1273, allocations: 67.84 kB / 479.9 MB, free: 3.469 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.0001333/0.1274, allocations: 103.7 kB / 480 MB, free: 3.359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007582/0.1282, allocations: 339.5 kB / 480.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1282, allocations: 0 / 480.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.1284, allocations: 75.89 kB / 480.4 MB, free: 2.938 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004801/0.1289, allocations: 66.22 kB / 480.4 MB, free: 2.875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.13, allocations: 0.5642 MB / 481 MB, free: 2.277 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.1303, allocations: 0.7717 MB / 481.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.698e-05/0.1305, allocations: 23.44 kB / 481.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of SimCode: time 2.955e-06/0.1305, allocations: 0 / 481.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of Templates: time 0.008405/0.1389, allocations: 5.009 MB / 486.8 MB, free: 12.47 MB / 366.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)