Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.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.SimplePlantSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric") translateModel(PhotoVoltaics.Examples.SimplePlantSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 103.4 kB / 16.41 MB, free: 6.504 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.001097/0.001097, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02701/0.02701, allocations: 5.412 MB / 296.6 MB, free: 9.469 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001205, allocations: 63.89 kB / 413.5 MB, free: 22.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09765/0.09887, allocations: 50.62 MB / 464.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.005181/0.1041, allocations: 3.509 MB / 467.6 MB, free: 328 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00248/0.1066, allocations: 1.285 MB / 468.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004156/0.1071, allocations: 4 kB / 468.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007399/0.1078, allocations: 226.6 kB / 469.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006138/0.1085, allocations: 158.8 kB / 469.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/0.1088, allocations: 123.8 kB / 469.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008676/0.1097, allocations: 0.5954 MB / 470 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002886/0.11, allocations: 132 kB / 470.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004142/0.1104, allocations: 227.1 kB / 470.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004578/0.1109, allocations: 266.9 kB / 470.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.1111, allocations: 56 kB / 470.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.1113, allocations: 64 kB / 470.7 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.1114, allocations: 115.6 kB / 470.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003157/0.1117, allocations: 242.8 kB / 471.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006944/0.1124, allocations: 0.5606 MB / 471.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.1124, allocations: 0 / 471.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1124, allocations: 7.938 kB / 471.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.206e-05/0.1125, allocations: 0 / 471.6 MB, free: 12.27 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.00229/0.1148, allocations: 0.8297 MB / 472.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.1148, allocations: 8.031 kB / 472.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.115, allocations: 52.38 kB / 472.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/0.1165, allocations: 0.518 MB / 473 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.723e-05/0.1166, allocations: 20.69 kB / 473.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.208e-05/0.1166, allocations: 28 kB / 473.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008195/0.1175, allocations: 361.3 kB / 473.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1175, allocations: 0 / 473.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.819e-05/0.1175, allocations: 12 kB / 473.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.036e-06/0.1175, allocations: 8 kB / 473.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009986/0.1185, allocations: 369.9 kB / 473.8 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002589/0.1211, allocations: 1.421 MB / 475.2 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.1223, allocations: 445.9 kB / 475.7 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004926/0.1228, allocations: 160.8 kB / 475.8 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.1228, allocations: 0 / 475.8 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.1229, allocations: 38.56 kB / 475.9 MB, free: 7.797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.542e-06/0.1229, allocations: 0 / 475.9 MB, free: 7.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.005921/0.1288, allocations: 1.018 MB / 476.9 MB, free: 6.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.1289, allocations: 55.41 kB / 476.9 MB, free: 6.684 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005838/0.1295, allocations: 393.6 kB / 477.3 MB, free: 6.289 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/0.1295, allocations: 25.7 kB / 477.4 MB, free: 6.258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.1297, allocations: 224.2 kB / 477.6 MB, free: 6.035 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.362e-05/0.1298, allocations: 82.83 kB / 477.7 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.1299, allocations: 69.66 kB / 477.7 MB, free: 5.879 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1301, allocations: 350.8 kB / 478.1 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004278/0.1305, allocations: 147.7 kB / 478.2 MB, free: 5.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004306/0.131, allocations: 187.6 kB / 478.4 MB, free: 5.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000787/0.1317, allocations: 306.3 kB / 478.7 MB, free: 4.879 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.1318, allocations: 4 kB / 478.7 MB, free: 4.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.004311/0.1361, allocations: 0.8279 MB / 479.5 MB, free: 4.035 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.1361, allocations: 8 kB / 479.5 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.1361, allocations: 0 / 479.5 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/0.1373, allocations: 337.3 kB / 479.9 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.1376, allocations: 47.97 kB / 479.9 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008774/0.1464, allocations: 4.34 MB / 484.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005305/0.147, allocations: 51.81 kB / 484.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-05/0.147, allocations: 15.98 kB / 484.3 MB, free: 14.95 MB / 366.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 (31): * Single equations (assignments): 29 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002595/0.1473, allocations: 153.7 kB / 484.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.1474, allocations: 35.53 kB / 484.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.1475, allocations: 43.59 kB / 484.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.1475, allocations: 7.922 kB / 484.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.1476, allocations: 0 / 484.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.1476, allocations: 4 kB / 484.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004515/0.1521, allocations: 1.167 MB / 485.7 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1521, allocations: 0 / 485.7 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.1523, allocations: 31.92 kB / 485.7 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006623/0.1529, allocations: 256.6 kB / 486 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.153, allocations: 8.109 kB / 486 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006679/0.1597, allocations: 2.558 MB / 488.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.1597, allocations: 4.031 kB / 488.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00379/0.1635, allocations: 0.7764 MB / 489.3 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002372/0.1638, allocations: 140.5 kB / 489.5 MB, free: 9.523 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.203e-05/0.1639, allocations: 0 / 489.5 MB, free: 9.523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000376/0.1642, allocations: 31.97 kB / 489.5 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/0.1643, allocations: 19.97 kB / 489.5 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.1643, allocations: 4 kB / 489.5 MB, free: 9.469 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003527/0.1647, allocations: 279.2 kB / 489.8 MB, free: 9.199 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1647, allocations: 0 / 489.8 MB, free: 9.199 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005934/0.1653, allocations: 111.8 kB / 489.9 MB, free: 9.09 MB / 366.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 (18): * Single equations (assignments): 17 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001697/0.1655, allocations: 107.7 kB / 490 MB, free: 8.973 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00145/0.1669, allocations: 0.5995 MB / 490.6 MB, free: 8.344 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.167, allocations: 7.875 kB / 490.6 MB, free: 8.336 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005711/0.1675, allocations: 285.3 kB / 490.9 MB, free: 8.047 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005884/0.1681, allocations: 84.14 kB / 491 MB, free: 7.969 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.1699, allocations: 0.7211 MB / 491.7 MB, free: 7.211 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.1703, allocations: 0.7961 MB / 492.5 MB, free: 6.383 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.23e-05/0.1704, allocations: 35.42 kB / 492.5 MB, free: 6.352 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1704, allocations: 0 / 492.5 MB, free: 6.352 MB / 366.1 MB Notification: Performance of Templates: time 0.01225/0.1826, allocations: 7.986 MB / 0.4888 GB, free: 14.39 MB / 382.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe 2>&1)