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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(PhotoVoltaics.Examples.SimplePlantSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimplePlantSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009537/0.0009538, allocations: 174.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 94.83 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02506/0.02506, allocations: 5.292 MB / 341.8 MB, free: 4.82 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.061e-05/4.09e-05, allocations: 8 kB / 403.8 MB, free: 62.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1252, allocations: 51.59 MB / 455.4 MB, free: 11.26 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3893/0.5145, allocations: 83.48 MB / 0.5263 GB, free: 7.492 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.5148, allocations: 68.72 kB / 0.5263 GB, free: 7.461 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03608/0.5509, allocations: 12.9 MB / 0.5389 GB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5509, allocations: 0 / 0.5389 GB, free: 12.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.272e-05/0.5509, allocations: 4 kB / 0.5389 GB, free: 12.3 MB / 362.7 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.001164/0.5521, allocations: 0.6476 MB / 0.5396 GB, free: 11.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.5522, allocations: 12.03 kB / 0.5396 GB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.266e-05/0.5523, allocations: 64.67 kB / 0.5396 GB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.123e-05/0.5523, allocations: 43.44 kB / 0.5397 GB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004689/0.5528, allocations: 361.8 kB / 0.54 GB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.5529, allocations: 18.88 kB / 0.54 GB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.072e-05/0.5529, allocations: 24.56 kB / 0.5401 GB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005687/0.5535, allocations: 333.5 kB / 0.5404 GB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.5535, allocations: 7.938 kB / 0.5404 GB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.788e-05/0.5536, allocations: 12.06 kB / 0.5404 GB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.5536, allocations: 8 kB / 0.5404 GB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006262/0.5542, allocations: 341.6 kB / 0.5407 GB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002278/0.5565, allocations: 1.524 MB / 0.5422 GB, free: 9.395 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005007/0.557, allocations: 350.5 kB / 0.5426 GB, free: 9.125 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002728/0.5573, allocations: 143.8 kB / 0.5427 GB, free: 9.027 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.5573, allocations: 4.188 kB / 0.5427 GB, free: 9.023 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.5574, allocations: 34.62 kB / 0.5427 GB, free: 8.984 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 1.683e-06/0.5574, allocations: 0 / 0.5427 GB, free: 8.984 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.002752/0.5601, allocations: 0.5898 MB / 0.5433 GB, free: 8.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.5602, allocations: 55.41 kB / 0.5434 GB, free: 8.414 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004535/0.5606, allocations: 383 kB / 0.5437 GB, free: 8.125 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.5607, allocations: 29.39 kB / 0.5437 GB, free: 8.094 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.5608, allocations: 213.3 kB / 0.5439 GB, free: 7.938 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.277e-05/0.5609, allocations: 88.45 kB / 0.544 GB, free: 7.859 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.096e-05/0.5609, allocations: 5.812 kB / 0.544 GB, free: 7.859 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.561, allocations: 350.3 kB / 0.5444 GB, free: 7.523 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.5612, allocations: 118.8 kB / 0.5445 GB, free: 7.461 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.5615, allocations: 167.5 kB / 0.5446 GB, free: 7.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.5617, allocations: 132.8 kB / 0.5448 GB, free: 7.262 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5617, allocations: 0 / 0.5448 GB, free: 7.262 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.003149/0.5649, allocations: 0.7605 MB / 0.5455 GB, free: 6.629 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.5649, allocations: 4 kB / 0.5455 GB, free: 6.625 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.5649, allocations: 0 / 0.5455 GB, free: 6.625 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002709/0.5676, allocations: 0.5551 MB / 0.5461 GB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/0.568, allocations: 59.64 kB / 0.5461 GB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006439/0.5744, allocations: 3.994 MB / 0.55 GB, free: 2.348 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005196/0.575, allocations: 53.84 kB / 0.5501 GB, free: 2.301 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-05/0.575, allocations: 12.05 kB / 0.5501 GB, free: 2.289 MB / 362.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.5751, allocations: 122.1 kB / 0.5502 GB, free: 2.172 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.238e-05/0.5752, allocations: 39.53 kB / 0.5502 GB, free: 2.133 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.5753, allocations: 41.98 kB / 0.5503 GB, free: 2.105 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.5753, allocations: 7.953 kB / 0.5503 GB, free: 2.098 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.5754, allocations: 0 / 0.5503 GB, free: 2.098 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.5754, allocations: 0 / 0.5503 GB, free: 2.098 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00331/0.5787, allocations: 1.148 MB / 0.5514 GB, free: 1.121 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.5787, allocations: 4 kB / 0.5514 GB, free: 1.117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.5789, allocations: 35.95 kB / 0.5514 GB, free: 1.082 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002054/0.5809, allocations: 475 kB / 0.5519 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.581, allocations: 7.109 kB / 0.5519 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004514/0.5855, allocations: 2.311 MB / 0.5542 GB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5855, allocations: 0 / 0.5542 GB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003001/0.5886, allocations: 0.6962 MB / 0.5548 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003736/0.589, allocations: 153.5 kB / 0.555 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.006e-05/0.589, allocations: 7.969 kB / 0.555 GB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/0.5894, allocations: 31.36 kB / 0.555 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.782e-05/0.5895, allocations: 19.28 kB / 0.555 GB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.5895, allocations: 7.984 kB / 0.555 GB, free: 13.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004212/0.5899, allocations: 303.5 kB / 0.5553 GB, free: 13.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.663e-06/0.5899, allocations: 0 / 0.5553 GB, free: 13.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006753/0.5906, allocations: 138 kB / 0.5555 GB, free: 13.46 MB / 378.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003172/0.5938, allocations: 1.344 MB / 0.5568 GB, free: 12.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001043/0.5949, allocations: 0.5393 MB / 0.5573 GB, free: 11.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5949, allocations: 0 / 0.5573 GB, free: 11.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003324/0.5952, allocations: 250.4 kB / 0.5575 GB, free: 11.51 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005166/0.5958, allocations: 77.39 kB / 0.5576 GB, free: 11.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.597, allocations: 0.5104 MB / 0.5581 GB, free: 10.97 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.5975, allocations: 0.8 MB / 0.5589 GB, free: 10.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001818/0.5976, allocations: 39.25 kB / 0.5589 GB, free: 10.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.5979, allocations: 124.5 kB / 0.5591 GB, free: 10.07 MB / 378.7 MB Notification: Performance of SimCode: time 2.545e-06/0.5979, allocations: 0 / 0.5591 GB, free: 10.07 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02695/0.6248, allocations: 12.61 MB / 0.5714 GB, free: 13.67 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/0.625, allocations: 175 kB / 0.5715 GB, free: 13.44 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.241/2.866, allocations: 0 / 0.5715 GB, free: 13.44 MB / 394.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe 2>&1)