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.000768/0.0007679, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005841/0.005841, allocations: 172.6 kB / 16.27 MB, free: 6.648 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.43/1.43, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1524/0.1524, allocations: 5.378 MB / 296.8 MB, free: 3.844 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003333/0.0003333, allocations: 8 kB / 362.6 MB, free: 13.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1175, allocations: 51.6 MB / 414.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.003736/0.1213, allocations: 3.166 MB / 417.4 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002166/0.1235, allocations: 1.254 MB / 418.6 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003738/0.1239, allocations: 4 kB / 418.6 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006492/0.1246, allocations: 206.9 kB / 418.8 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000509/0.1251, allocations: 147 kB / 419 MB, free: 5.375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.1254, allocations: 107.9 kB / 419.1 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006274/0.126, allocations: 0.5639 MB / 419.6 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000236/0.1262, allocations: 112 kB / 419.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003181/0.1266, allocations: 191.1 kB / 419.9 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003248/0.1269, allocations: 230.9 kB / 420.2 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.575e-05/0.127, allocations: 24 kB / 420.2 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.1271, allocations: 36 kB / 420.2 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.517e-05/0.1272, allocations: 87.52 kB / 420.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002275/0.1274, allocations: 240.5 kB / 420.5 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005141/0.1279, allocations: 0.5098 MB / 421.1 MB, free: 3.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.128, allocations: 0 / 421.1 MB, free: 3.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.128, allocations: 0 / 421.1 MB, free: 3.273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.128, allocations: 0 / 421.1 MB, free: 3.273 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.00186/0.1298, allocations: 0.7676 MB / 421.8 MB, free: 2.457 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.1299, allocations: 12.03 kB / 421.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.13, allocations: 48.36 kB / 421.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.1313, allocations: 0.5335 MB / 422.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.1313, allocations: 20.69 kB / 422.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.459e-05/0.1314, allocations: 32 kB / 422.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007886/0.1322, allocations: 365.3 kB / 422.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.1322, allocations: 0 / 422.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.011e-05/0.1322, allocations: 15.98 kB / 422.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/0.1323, allocations: 7.938 kB / 422.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009813/0.1332, allocations: 386 kB / 423.2 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2375/0.3708, allocations: 1.428 MB / 424.7 MB, free: 44.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.3719, allocations: 465.2 kB / 425.1 MB, free: 44.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004682/0.3724, allocations: 169.1 kB / 425.3 MB, free: 44.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/0.3724, allocations: 2.219 kB / 425.3 MB, free: 44.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.3725, allocations: 36.91 kB / 425.3 MB, free: 44.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.823e-06/0.3725, allocations: 0 / 425.3 MB, free: 44.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.005435/0.3779, allocations: 1.099 MB / 426.4 MB, free: 44.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.378, allocations: 52.25 kB / 426.5 MB, free: 44.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003699/0.3783, allocations: 394 kB / 426.8 MB, free: 44.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.3784, allocations: 25.7 kB / 426.9 MB, free: 44.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.3785, allocations: 227.4 kB / 427.1 MB, free: 44.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.928e-05/0.3786, allocations: 71.61 kB / 427.2 MB, free: 44.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.3786, allocations: 35.59 kB / 427.2 MB, free: 44.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.077e-05/0.3787, allocations: 350.2 kB / 427.5 MB, free: 43.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000387/0.3791, allocations: 149.6 kB / 427.7 MB, free: 43.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003725/0.3795, allocations: 200.9 kB / 427.9 MB, free: 43.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007194/0.3802, allocations: 333.8 kB / 428.2 MB, free: 43.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3802, allocations: 0 / 428.2 MB, free: 43.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.003857/0.3841, allocations: 0.8579 MB / 429.1 MB, free: 43.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.3841, allocations: 7.25 kB / 429.1 MB, free: 43.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.3841, allocations: 7.219 kB / 429.1 MB, free: 43.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.3852, allocations: 339.9 kB / 429.4 MB, free: 43.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.3854, allocations: 61.53 kB / 429.5 MB, free: 43.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007208/0.3927, allocations: 4.011 MB / 433.5 MB, free: 40.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004624/0.3931, allocations: 60.56 kB / 433.5 MB, free: 40.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.3932, allocations: 14.08 kB / 433.6 MB, free: 40.78 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 (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.0001814/0.3934, allocations: 152.5 kB / 433.7 MB, free: 40.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.142e-05/0.3934, allocations: 38.62 kB / 433.7 MB, free: 40.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.096e-05/0.3935, allocations: 46.55 kB / 433.8 MB, free: 40.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3935, allocations: 3.281 kB / 433.8 MB, free: 40.62 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3935, allocations: 0 / 433.8 MB, free: 40.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3935, allocations: 6.047 kB / 433.8 MB, free: 40.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00407/0.3976, allocations: 1.227 MB / 435 MB, free: 40.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3976, allocations: 3.438 kB / 435 MB, free: 40.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.3978, allocations: 33.89 kB / 435.1 MB, free: 40.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000577/0.3983, allocations: 253.5 kB / 435.3 MB, free: 40.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.3984, allocations: 13.81 kB / 435.3 MB, free: 40.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005794/0.4042, allocations: 2.422 MB / 437.7 MB, free: 38.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4042, allocations: 0 / 437.7 MB, free: 38.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003599/0.4078, allocations: 0.816 MB / 438.6 MB, free: 38.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.408, allocations: 136 kB / 438.7 MB, free: 38.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.804e-05/0.408, allocations: 5.625 kB / 438.7 MB, free: 38.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003313/0.4084, allocations: 38.45 kB / 438.7 MB, free: 38.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.091e-05/0.4084, allocations: 15.39 kB / 438.8 MB, free: 38.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.4085, allocations: 11.08 kB / 438.8 MB, free: 38.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002789/0.4088, allocations: 280 kB / 439 MB, free: 38.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.243e-06/0.4088, allocations: 3.281 kB / 439 MB, free: 38.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005003/0.4093, allocations: 112.1 kB / 439.1 MB, free: 38.5 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 (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.000134/0.4094, allocations: 104.3 kB / 439.3 MB, free: 38.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.4106, allocations: 0.6119 MB / 439.9 MB, free: 38.06 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4107, allocations: 3.125 kB / 439.9 MB, free: 38.06 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004748/0.4111, allocations: 294.5 kB / 440.2 MB, free: 37.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005526/0.4117, allocations: 78.64 kB / 440.2 MB, free: 37.87 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.413, allocations: 0.8585 MB / 441.1 MB, free: 37.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.4132, allocations: 0.7926 MB / 441.9 MB, free: 36.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001846/0.4134, allocations: 44.5 kB / 441.9 MB, free: 36.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.038e-05/0.4135, allocations: 38.56 kB / 442 MB, free: 36.63 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4135, allocations: 0 / 442 MB, free: 36.63 MB / 350.1 MB Notification: Performance of Templates: time 0.0106/0.4241, allocations: 7.628 MB / 449.6 MB, free: 36.16 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: