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/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.SimpleModuleSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric",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.00689/0.00689, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.344/1.344, allocations: 223.2 MB / 239 MB, free: 1.805 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 93.05 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.0251/0.0251, allocations: 5.396 MB / 346.7 MB, free: 5.562 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000331/0.0003309, allocations: 7.688 kB / 412.2 MB, free: 90.05 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.096/0.09636, allocations: 51.61 MB / 463.8 MB, free: 44.61 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3554/0.4518, allocations: 83.26 MB / 0.5343 GB, free: 19.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001683/0.452, allocations: 73.62 kB / 0.5343 GB, free: 19.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0329/0.4849, allocations: 12.66 MB / 0.5467 GB, free: 18 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.485, allocations: 0 / 0.5467 GB, free: 18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.132e-05/0.485, allocations: 11.91 kB / 0.5467 GB, free: 17.99 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001277/0.4863, allocations: 0.7133 MB / 0.5474 GB, free: 17.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.4863, allocations: 7.75 kB / 0.5474 GB, free: 17.49 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.063e-05/0.4864, allocations: 60.59 kB / 0.5475 GB, free: 17.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.739e-05/0.4865, allocations: 42.91 kB / 0.5475 GB, free: 17.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004099/0.4869, allocations: 345.9 kB / 0.5478 GB, free: 17.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.487, allocations: 19.72 kB / 0.5479 GB, free: 17.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.22e-05/0.487, allocations: 21.81 kB / 0.5479 GB, free: 17.19 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007541/0.4878, allocations: 385.2 kB / 0.5483 GB, free: 17.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.4878, allocations: 0 / 0.5483 GB, free: 17.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.383e-05/0.4878, allocations: 11.53 kB / 0.5483 GB, free: 17.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.4878, allocations: 3.875 kB / 0.5483 GB, free: 17.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009058/0.4888, allocations: 450.5 kB / 0.5487 GB, free: 17.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002216/0.491, allocations: 1.469 MB / 0.5501 GB, free: 16.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006275/0.4916, allocations: 359.7 kB / 0.5505 GB, free: 16.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.4917, allocations: 3.875 kB / 0.5505 GB, free: 16.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.4917, allocations: 36.62 kB / 0.5505 GB, free: 16.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.763e-06/0.4917, allocations: 0 / 0.5505 GB, free: 16.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.00659/0.4983, allocations: 1.157 MB / 0.5516 GB, free: 16.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.4984, allocations: 64.16 kB / 0.5517 GB, free: 15.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004825/0.4988, allocations: 384.8 kB / 0.5521 GB, free: 15.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.4989, allocations: 29.2 kB / 0.5521 GB, free: 15.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.499, allocations: 221.1 kB / 0.5523 GB, free: 15.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/0.4991, allocations: 55.55 kB / 0.5524 GB, free: 15.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.056e-05/0.4991, allocations: 3.562 kB / 0.5524 GB, free: 15.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.658e-05/0.4992, allocations: 351.1 kB / 0.5527 GB, free: 15.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000298/0.4995, allocations: 154 kB / 0.5528 GB, free: 15.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002937/0.4998, allocations: 193.7 kB / 0.553 GB, free: 15.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/0.5001, allocations: 158.2 kB / 0.5532 GB, free: 15.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5001, allocations: 0 / 0.5532 GB, free: 15.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.003402/0.5035, allocations: 0.8258 MB / 0.554 GB, free: 15.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.5035, allocations: 5.719 kB / 0.554 GB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/0.5035, allocations: 5.031 kB / 0.554 GB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002972/0.5065, allocations: 0.5942 MB / 0.5546 GB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/0.5068, allocations: 49.31 kB / 0.5546 GB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007179/0.514, allocations: 4.216 MB / 0.5587 GB, free: 28.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004889/0.5145, allocations: 52.16 kB / 0.5588 GB, free: 28.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/0.5145, allocations: 16.94 kB / 0.5588 GB, free: 28.39 MB / 378.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 (27): * Single equations (assignments): 25 * 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.0002381/0.5148, allocations: 151.3 kB / 0.559 GB, free: 28.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.088e-05/0.5149, allocations: 35.38 kB / 0.559 GB, free: 28.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.844e-05/0.5149, allocations: 40.5 kB / 0.559 GB, free: 28.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.5149, allocations: 2.125 kB / 0.559 GB, free: 28.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.515, allocations: 0 / 0.559 GB, free: 28.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.515, allocations: 2.625 kB / 0.559 GB, free: 28.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00349/0.5185, allocations: 1.151 MB / 0.5602 GB, free: 27.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5185, allocations: 0 / 0.5602 GB, free: 27.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.5186, allocations: 34.64 kB / 0.5602 GB, free: 27.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002194/0.5208, allocations: 0.4979 MB / 0.5607 GB, free: 27.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.5208, allocations: 8.469 kB / 0.5607 GB, free: 27.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004937/0.5258, allocations: 2.579 MB / 0.5632 GB, free: 26.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5258, allocations: 3.797 kB / 0.5632 GB, free: 26.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003047/0.5289, allocations: 0.739 MB / 0.5639 GB, free: 26.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/0.5291, allocations: 147.4 kB / 0.5641 GB, free: 26.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.958e-05/0.5291, allocations: 6.375 kB / 0.5641 GB, free: 26.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003161/0.5294, allocations: 32.22 kB / 0.5641 GB, free: 26.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/0.5295, allocations: 18.84 kB / 0.5641 GB, free: 26.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.5295, allocations: 16.06 kB / 0.5641 GB, free: 26.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003468/0.5299, allocations: 302.2 kB / 0.5644 GB, free: 26.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5299, allocations: 0 / 0.5644 GB, free: 26.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000608/0.5305, allocations: 134 kB / 0.5646 GB, free: 26.14 MB / 378.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 (13): * Single equations (assignments): 12 * 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.003313/0.5338, allocations: 1.321 MB / 0.5658 GB, free: 25.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.5351, allocations: 0.589 MB / 0.5664 GB, free: 25.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.5351, allocations: 0 / 0.5664 GB, free: 25.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004297/0.5355, allocations: 274.9 kB / 0.5667 GB, free: 25.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.536, allocations: 74.25 kB / 0.5668 GB, free: 25.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.5378, allocations: 1.52 MB / 0.5682 GB, free: 23.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.5382, allocations: 0.7958 MB / 0.569 GB, free: 23.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000151/0.5384, allocations: 36 kB / 0.5691 GB, free: 23.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.5385, allocations: 117.5 kB / 0.5692 GB, free: 23.21 MB / 378.7 MB Notification: Performance of SimCode: time 3.5e-07/0.5386, allocations: 1.125 kB / 0.5692 GB, free: 23.21 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02648/0.565, allocations: 12.09 MB / 0.581 GB, free: 18.18 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/0.5653, allocations: 201 kB / 0.5812 GB, free: 17.95 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.244/2.81, allocations: 4.594 kB / 0.5812 GB, free: 17.94 MB / 378.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe 2>&1)