Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.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.SimpleModuleSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric") translateModel(PhotoVoltaics.Examples.SimpleModuleSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004989/0.004989, allocations: 102.8 kB / 15.73 MB, free: 5.539 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.001185/0.001185, allocations: 193.1 kB / 16.67 MB, free: 5.469 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.296/1.296, allocations: 222.9 MB / 240.4 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.02626/0.02626, allocations: 5.405 MB / 295.9 MB, free: 9.457 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 67.91 kB / 412.8 MB, free: 22.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08337/0.08461, allocations: 50.63 MB / 463.4 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.004762/0.08941, allocations: 3.436 MB / 466.9 MB, free: 384 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.09149, allocations: 1.27 MB / 468.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000309/0.09182, allocations: 4 kB / 468.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005914/0.09243, allocations: 222.6 kB / 468.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003639/0.09283, allocations: 150.8 kB / 468.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.09305, allocations: 119.8 kB / 468.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005082/0.09356, allocations: 0.5759 MB / 469.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002077/0.09378, allocations: 124 kB / 469.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/0.094, allocations: 219.2 kB / 469.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000307/0.09431, allocations: 262.9 kB / 469.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.72e-05/0.09439, allocations: 52 kB / 469.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.0945, allocations: 60 kB / 469.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.097e-05/0.09459, allocations: 119.6 kB / 470 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002444/0.09484, allocations: 230.8 kB / 470.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004992/0.09534, allocations: 0.5295 MB / 470.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.09535, allocations: 4 kB / 470.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.09536, allocations: 0 / 470.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.09538, allocations: 0 / 470.8 MB, free: 12.45 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001827/0.09721, allocations: 0.8257 MB / 471.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.09726, allocations: 8.031 kB / 471.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.566e-05/0.09735, allocations: 48.38 kB / 471.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.0985, allocations: 0.4884 MB / 472.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.09854, allocations: 28.67 kB / 472.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.108e-05/0.09859, allocations: 24 kB / 472.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006166/0.09921, allocations: 313.4 kB / 472.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.09923, allocations: 0 / 472.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.554e-05/0.09927, allocations: 15.98 kB / 472.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.09929, allocations: 4 kB / 472.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007033/0.1, allocations: 282 kB / 472.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002186/0.1022, allocations: 1.331 MB / 474.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006137/0.1028, allocations: 299.6 kB / 474.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004076/0.1032, allocations: 148.7 kB / 474.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.1033, allocations: 3.938 kB / 474.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.1033, allocations: 38.55 kB / 474.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.1033, allocations: 0 / 474.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.00338/0.1067, allocations: 0.7488 MB / 475.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.1067, allocations: 55.41 kB / 475.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003885/0.1071, allocations: 385.6 kB / 475.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.1072, allocations: 33.64 kB / 475.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.1073, allocations: 219.8 kB / 476 MB, free: 6.898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.1074, allocations: 51.27 kB / 476.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.1075, allocations: 61.67 kB / 476.1 MB, free: 6.781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1076, allocations: 338.8 kB / 476.5 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003113/0.1079, allocations: 115.9 kB / 476.6 MB, free: 6.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003284/0.1082, allocations: 155.6 kB / 476.7 MB, free: 6.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005911/0.1088, allocations: 248.7 kB / 477 MB, free: 5.906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1089, allocations: 4 kB / 477 MB, free: 5.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002479/0.1113, allocations: 0.6257 MB / 477.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.1114, allocations: 11.98 kB / 477.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.1114, allocations: 0 / 477.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009001/0.1123, allocations: 257.5 kB / 477.9 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.1125, allocations: 47.91 kB / 477.9 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005966/0.1185, allocations: 3.921 MB / 481.8 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003846/0.1189, allocations: 47.69 kB / 481.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.1189, allocations: 12 kB / 481.9 MB, free: 0.6875 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 (26): * Single equations (assignments): 24 * 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.0001733/0.1191, allocations: 149.8 kB / 482 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.396e-05/0.1192, allocations: 35.56 kB / 482.1 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.621e-05/0.1192, allocations: 39.23 kB / 482.1 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.1193, allocations: 4 kB / 482.1 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.1193, allocations: 0 / 482.1 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1193, allocations: 0 / 482.1 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002581/0.1219, allocations: 0.9368 MB / 483.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1219, allocations: 0 / 483.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.122, allocations: 23.98 kB / 483.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004376/0.1224, allocations: 180.8 kB / 483.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.1225, allocations: 0 / 483.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00405/0.1265, allocations: 2.148 MB / 485.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1265, allocations: 3.938 kB / 485.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002083/0.1286, allocations: 0.5739 MB / 486 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.1288, allocations: 128.6 kB / 486.1 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.723e-05/0.1288, allocations: 8 kB / 486.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002924/0.1291, allocations: 19.98 kB / 486.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.1292, allocations: 19.97 kB / 486.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.1292, allocations: 7.938 kB / 486.2 MB, free: 12.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002925/0.1295, allocations: 267.2 kB / 486.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1295, allocations: 0 / 486.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000493/0.13, allocations: 103.8 kB / 486.5 MB, free: 11.81 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 (13): * Single equations (assignments): 12 * 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.0001668/0.1302, allocations: 99.72 kB / 486.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.1314, allocations: 0.506 MB / 487.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.1314, allocations: 0 / 487.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000385/0.1318, allocations: 222.7 kB / 487.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000526/0.1323, allocations: 81.45 kB / 487.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.1335, allocations: 0.6271 MB / 488.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.1339, allocations: 0.7795 MB / 488.8 MB, free: 9.387 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001589/0.134, allocations: 47.25 kB / 488.9 MB, free: 9.344 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.051e-05/0.1341, allocations: 27.44 kB / 488.9 MB, free: 9.316 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1341, allocations: 0 / 488.9 MB, free: 9.316 MB / 366.1 MB Notification: Performance of Templates: time 0.01203/0.1461, allocations: 6.78 MB / 495.7 MB, free: 2.594 MB / 366.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe 2>&1)