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.001027/0.001027, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001165/0.001165, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.2058/0.2058, allocations: 5.366 MB / 296.4 MB, free: 3.945 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005435/0.0005438, allocations: 8 kB / 361.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1467, allocations: 51.61 MB / 413.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.004543/0.1513, allocations: 2.864 MB / 416.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002341/0.1537, allocations: 1.201 MB / 417.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005008/0.1542, allocations: 7.938 kB / 417.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007625/0.155, allocations: 179.1 kB / 417.7 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007543/0.1557, allocations: 175.5 kB / 417.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.156, allocations: 71.89 kB / 417.9 MB, free: 6.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008568/0.1569, allocations: 379 kB / 418.3 MB, free: 5.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000268/0.1572, allocations: 101.9 kB / 418.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003953/0.1576, allocations: 187.2 kB / 418.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004134/0.158, allocations: 223.1 kB / 418.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.826e-05/0.1581, allocations: 27.94 kB / 418.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.1582, allocations: 35.98 kB / 418.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.453e-05/0.1583, allocations: 79.64 kB / 418.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.1585, allocations: 97.52 kB / 419 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004995/0.159, allocations: 410.8 kB / 419.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.159, allocations: 0 / 419.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.159, allocations: 3.938 kB / 419.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.666e-05/0.159, allocations: 4 kB / 419.4 MB, free: 4.605 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.002446/0.1615, allocations: 0.7868 MB / 420.2 MB, free: 3.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.1616, allocations: 12.03 kB / 420.2 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.1617, allocations: 43.44 kB / 420.2 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001738/0.1635, allocations: 0.509 MB / 420.8 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.1635, allocations: 20.56 kB / 420.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.154e-05/0.1636, allocations: 24 kB / 420.8 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008665/0.1645, allocations: 369.2 kB / 421.2 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.1645, allocations: 0 / 421.2 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.348e-05/0.1645, allocations: 11.95 kB / 421.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.1646, allocations: 8 kB / 421.2 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.1656, allocations: 389.9 kB / 421.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00313/0.1688, allocations: 1.426 MB / 423 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.1699, allocations: 456.2 kB / 423.4 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/0.17, allocations: 192 / 423.4 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.185e-05/0.1701, allocations: 50.73 kB / 423.5 MB, free: 312 kB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 3.116e-06/0.1701, allocations: 3.984 kB / 423.5 MB, free: 308 kB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.2452/0.4153, allocations: 1.07 MB / 424.6 MB, free: 45.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.4154, allocations: 60.62 kB / 424.6 MB, free: 45.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007354/0.4161, allocations: 391.9 kB / 425 MB, free: 45.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.8e-05/0.4162, allocations: 28.83 kB / 425 MB, free: 45.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.4164, allocations: 220.5 kB / 425.2 MB, free: 45.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.119e-05/0.4164, allocations: 73.42 kB / 425.3 MB, free: 45.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.002e-05/0.4165, allocations: 6.219 kB / 425.3 MB, free: 45.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.4166, allocations: 347.1 kB / 425.7 MB, free: 44.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004108/0.417, allocations: 155.9 kB / 425.8 MB, free: 44.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004052/0.4174, allocations: 192.9 kB / 426 MB, free: 44.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004315/0.4179, allocations: 167.3 kB / 426.2 MB, free: 44.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4179, allocations: 1.406 kB / 426.2 MB, free: 44.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.003895/0.4218, allocations: 0.8635 MB / 427 MB, free: 44.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.4218, allocations: 6.781 kB / 427 MB, free: 44.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4218, allocations: 0 / 427 MB, free: 44.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001136/0.423, allocations: 339.2 kB / 427.4 MB, free: 44.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002835/0.4233, allocations: 67.08 kB / 427.4 MB, free: 44.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007923/0.4312, allocations: 4.033 MB / 431.5 MB, free: 41.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005001/0.4317, allocations: 61.16 kB / 431.5 MB, free: 41.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.794e-05/0.4318, allocations: 12.83 kB / 431.5 MB, free: 41.88 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 (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002281/0.432, allocations: 151.1 kB / 431.7 MB, free: 41.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.4321, allocations: 43.05 kB / 431.7 MB, free: 41.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.05e-05/0.4322, allocations: 41.14 kB / 431.8 MB, free: 41.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.4322, allocations: 1.703 kB / 431.8 MB, free: 41.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.4322, allocations: 3.281 kB / 431.8 MB, free: 41.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.4322, allocations: 3.422 kB / 431.8 MB, free: 41.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004299/0.4365, allocations: 1.18 MB / 433 MB, free: 41.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.4366, allocations: 0.75 kB / 433 MB, free: 41.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.4367, allocations: 46.41 kB / 433 MB, free: 41.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006415/0.4374, allocations: 251.2 kB / 433.2 MB, free: 41.37 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.4374, allocations: 9.031 kB / 433.3 MB, free: 41.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006078/0.4435, allocations: 2.494 MB / 435.7 MB, free: 40.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.4435, allocations: 7.281 kB / 435.8 MB, free: 40.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003594/0.4471, allocations: 0.8075 MB / 436.6 MB, free: 39.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002051/0.4473, allocations: 140.7 kB / 436.7 MB, free: 39.74 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.269e-05/0.4474, allocations: 8.688 kB / 436.7 MB, free: 39.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003572/0.4478, allocations: 39.48 kB / 436.7 MB, free: 39.74 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.999e-05/0.4479, allocations: 16.27 kB / 436.8 MB, free: 39.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.4479, allocations: 10.09 kB / 436.8 MB, free: 39.74 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003173/0.4482, allocations: 268.7 kB / 437 MB, free: 39.65 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4482, allocations: 0 / 437 MB, free: 39.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005673/0.4488, allocations: 113.1 kB / 437.1 MB, free: 39.64 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001396/0.449, allocations: 107.2 kB / 437.3 MB, free: 39.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001324/0.4503, allocations: 0.6006 MB / 437.9 MB, free: 39.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4503, allocations: 0 / 437.9 MB, free: 39.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005005/0.4508, allocations: 290 kB / 438.1 MB, free: 39.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.4513, allocations: 72.95 kB / 438.2 MB, free: 39.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.4528, allocations: 0.8206 MB / 439 MB, free: 38.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.453, allocations: 0.7965 MB / 439.8 MB, free: 38.06 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001987/0.4532, allocations: 53.44 kB / 439.9 MB, free: 38.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.4533, allocations: 28.03 kB / 439.9 MB, free: 38.05 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4533, allocations: 0 / 439.9 MB, free: 38.05 MB / 350.1 MB Notification: Performance of Templates: time 0.01194/0.4653, allocations: 7.425 MB / 447.3 MB, free: 37.58 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: