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.008392/0.008393, allocations: 171.1 kB / 15.11 MB, free: 6.039 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.329/1.329, allocations: 223.2 MB / 239 MB, free: 64 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009692/0.0009694, allocations: 96.36 kB / 290.2 MB, free: 4.539 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02427/0.02427, allocations: 5.397 MB / 346.7 MB, free: 7.676 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003411/0.0003411, allocations: 8 kB / 412.2 MB, free: 6.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2246, allocations: 51.6 MB / 463.8 MB, free: 73.39 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09714/0.3218, allocations: 83.53 MB / 0.5345 GB, free: 5.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001752/0.322, allocations: 75.91 kB / 0.5346 GB, free: 5.676 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2464/0.5684, allocations: 12.87 MB / 0.5472 GB, free: 81.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.5685, allocations: 0 / 0.5472 GB, free: 81.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.5685, allocations: 3.938 kB / 0.5472 GB, free: 81.67 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.001225/0.5697, allocations: 0.7328 MB / 0.5479 GB, free: 81.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.5698, allocations: 9.75 kB / 0.5479 GB, free: 81.13 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.102e-05/0.5698, allocations: 60.69 kB / 0.548 GB, free: 81.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.399e-05/0.5699, allocations: 44 kB / 0.548 GB, free: 81.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004005/0.5703, allocations: 366.8 kB / 0.5484 GB, free: 80.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.5703, allocations: 17.75 kB / 0.5484 GB, free: 80.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.487e-05/0.5704, allocations: 24.91 kB / 0.5484 GB, free: 80.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007173/0.5711, allocations: 401.3 kB / 0.5488 GB, free: 80.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.5711, allocations: 3.375 kB / 0.5488 GB, free: 80.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.513e-05/0.5712, allocations: 8 kB / 0.5488 GB, free: 80.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.5712, allocations: 6.625 kB / 0.5488 GB, free: 80.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009158/0.5721, allocations: 471.2 kB / 0.5492 GB, free: 80.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002019/0.5742, allocations: 1.52 MB / 0.5507 GB, free: 79.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005987/0.5748, allocations: 412.8 kB / 0.5511 GB, free: 79.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.5748, allocations: 3.219 kB / 0.5511 GB, free: 79.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.5748, allocations: 34.73 kB / 0.5512 GB, free: 79.06 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 1.423e-06/0.5748, allocations: 3.938 kB / 0.5512 GB, free: 79.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.006124/0.581, allocations: 1.192 MB / 0.5523 GB, free: 78.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.581, allocations: 55.31 kB / 0.5524 GB, free: 78.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003761/0.5814, allocations: 403.7 kB / 0.5528 GB, free: 78.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.5814, allocations: 33.64 kB / 0.5528 GB, free: 78.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.5815, allocations: 219.6 kB / 0.553 GB, free: 77.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.5816, allocations: 70.42 kB / 0.5531 GB, free: 77.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-05/0.5816, allocations: 7.969 kB / 0.5531 GB, free: 77.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.592e-05/0.5817, allocations: 348.8 kB / 0.5534 GB, free: 77.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000297/0.582, allocations: 158.8 kB / 0.5536 GB, free: 77.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003219/0.5823, allocations: 201.4 kB / 0.5538 GB, free: 77.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/0.5826, allocations: 174.9 kB / 0.5539 GB, free: 77.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.5826, allocations: 0 / 0.5539 GB, free: 77.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.003398/0.586, allocations: 0.8522 MB / 0.5548 GB, free: 76.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.5861, allocations: 4 kB / 0.5548 GB, free: 76.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.5861, allocations: 4 kB / 0.5548 GB, free: 76.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00278/0.5889, allocations: 0.5938 MB / 0.5553 GB, free: 76.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002762/0.5892, allocations: 59.95 kB / 0.5554 GB, free: 76.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006184/0.5954, allocations: 4.216 MB / 0.5595 GB, free: 71.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004615/0.5958, allocations: 59.61 kB / 0.5596 GB, free: 71.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.5959, allocations: 15.97 kB / 0.5596 GB, free: 71.53 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 () * 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 (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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001904/0.5961, allocations: 154.4 kB / 0.5597 GB, free: 71.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-05/0.5961, allocations: 35.53 kB / 0.5598 GB, free: 71.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.056e-05/0.5962, allocations: 47.58 kB / 0.5598 GB, free: 71.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.5962, allocations: 0 / 0.5598 GB, free: 71.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.5962, allocations: 0 / 0.5598 GB, free: 71.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5962, allocations: 4 kB / 0.5598 GB, free: 71.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00339/0.5996, allocations: 1.185 MB / 0.561 GB, free: 70.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.5996, allocations: 0 / 0.561 GB, free: 70.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.5998, allocations: 43.97 kB / 0.561 GB, free: 70 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002161/0.602, allocations: 0.5112 MB / 0.5615 GB, free: 69.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.602, allocations: 7.984 kB / 0.5615 GB, free: 69.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004546/0.6066, allocations: 2.569 MB / 0.564 GB, free: 66.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6066, allocations: 4.062 kB / 0.564 GB, free: 66.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002783/0.6094, allocations: 0.7664 MB / 0.5648 GB, free: 65.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.6095, allocations: 148.6 kB / 0.5649 GB, free: 65.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.848e-05/0.6096, allocations: 11.94 kB / 0.5649 GB, free: 65.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002943/0.6099, allocations: 23.98 kB / 0.565 GB, free: 65.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.6099, allocations: 23.92 kB / 0.565 GB, free: 65.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.61, allocations: 11.98 kB / 0.565 GB, free: 65.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003177/0.6103, allocations: 307.1 kB / 0.5653 GB, free: 65.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6103, allocations: 0 / 0.5653 GB, free: 65.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005646/0.6109, allocations: 143.8 kB / 0.5654 GB, free: 65.31 MB / 362.7 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 (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.003201/0.6141, allocations: 1.345 MB / 0.5667 GB, free: 63.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.6152, allocations: 0.6237 MB / 0.5673 GB, free: 63.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6152, allocations: 4 kB / 0.5674 GB, free: 63.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003742/0.6156, allocations: 282.6 kB / 0.5676 GB, free: 63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.616, allocations: 78.59 kB / 0.5677 GB, free: 62.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.6175, allocations: 1.562 MB / 0.5692 GB, free: 61.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001733/0.6177, allocations: 0.8078 MB / 0.57 GB, free: 60.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001396/0.6179, allocations: 35.22 kB / 0.57 GB, free: 60.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.618, allocations: 123.4 kB / 0.5702 GB, free: 60.31 MB / 362.7 MB Notification: Performance of SimCode: time 3e-07/0.618, allocations: 0 / 0.5702 GB, free: 60.31 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.6408, allocations: 12.44 MB / 0.5823 GB, free: 48.06 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001306/0.6409, allocations: 202.8 kB / 0.5825 GB, free: 47.82 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.292/2.933, allocations: 0 / 0.5825 GB, free: 47.82 MB / 362.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)