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.001196/0.001196, allocations: 174.7 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.35/1.35, 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.000794/0.0007939, allocations: 91.27 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02446/0.02446, allocations: 5.285 MB / 341.8 MB, free: 4.832 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.941e-05/3.997e-05, allocations: 4 kB / 403.8 MB, free: 62.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09967/0.09974, allocations: 51.61 MB / 455.4 MB, free: 11.26 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3883/0.4881, allocations: 83.21 MB / 0.526 GB, free: 7.766 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001738/0.4883, allocations: 66.34 kB / 0.5261 GB, free: 7.734 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03541/0.5237, allocations: 12.67 MB / 0.5384 GB, free: 12.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.5238, allocations: 0 / 0.5384 GB, free: 12.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.413e-05/0.5238, allocations: 4 kB / 0.5385 GB, free: 12.77 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.00122/0.525, allocations: 0.6394 MB / 0.5391 GB, free: 12.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.033e-05/0.5251, allocations: 12.03 kB / 0.5391 GB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.631e-05/0.5252, allocations: 66.16 kB / 0.5392 GB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.5253, allocations: 43.44 kB / 0.5392 GB, free: 12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005547/0.5259, allocations: 346.8 kB / 0.5395 GB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.5259, allocations: 15.5 kB / 0.5395 GB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.776e-05/0.526, allocations: 23.62 kB / 0.5396 GB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006525/0.5266, allocations: 322.9 kB / 0.5399 GB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.5267, allocations: 3.938 kB / 0.5399 GB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.359e-05/0.5267, allocations: 15.56 kB / 0.5399 GB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.5267, allocations: 4 kB / 0.5399 GB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006355/0.5274, allocations: 321.8 kB / 0.5402 GB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002399/0.5298, allocations: 1.469 MB / 0.5416 GB, free: 9.953 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004672/0.5303, allocations: 305.9 kB / 0.5419 GB, free: 9.711 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003109/0.5306, allocations: 130.9 kB / 0.5421 GB, free: 9.621 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.5306, allocations: 4.312 kB / 0.5421 GB, free: 9.617 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.5306, allocations: 33.69 kB / 0.5421 GB, free: 9.578 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.913e-06/0.5307, allocations: 0 / 0.5421 GB, free: 9.578 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.002715/0.5334, allocations: 0.5588 MB / 0.5426 GB, free: 9.094 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.5334, allocations: 55.36 kB / 0.5427 GB, free: 9.027 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00047/0.5339, allocations: 388.1 kB / 0.5431 GB, free: 8.734 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.5339, allocations: 28.83 kB / 0.5431 GB, free: 8.703 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.5341, allocations: 213 kB / 0.5433 GB, free: 8.543 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.029e-05/0.5341, allocations: 63.91 kB / 0.5433 GB, free: 8.488 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-05/0.5342, allocations: 3 kB / 0.5433 GB, free: 8.488 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.5343, allocations: 348.2 kB / 0.5437 GB, free: 8.156 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.5345, allocations: 112.2 kB / 0.5438 GB, free: 8.094 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.5347, allocations: 146.3 kB / 0.5439 GB, free: 7.992 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.535, allocations: 127.3 kB / 0.544 GB, free: 7.918 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.535, allocations: 0 / 0.544 GB, free: 7.918 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.003108/0.5381, allocations: 0.7363 MB / 0.5448 GB, free: 7.301 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.5381, allocations: 7.984 kB / 0.5448 GB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.5381, allocations: 0 / 0.5448 GB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002631/0.5408, allocations: 0.5468 MB / 0.5453 GB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/0.541, allocations: 55.41 kB / 0.5454 GB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006221/0.5473, allocations: 3.978 MB / 0.5492 GB, free: 3.043 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004505/0.5477, allocations: 54.66 kB / 0.5493 GB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.957e-05/0.5478, allocations: 7.984 kB / 0.5493 GB, free: 2.988 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 (26): * Single equations (assignments): 24 * 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.0001126/0.5479, allocations: 120.1 kB / 0.5494 GB, free: 2.871 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.837e-05/0.548, allocations: 35.59 kB / 0.5495 GB, free: 2.836 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.407e-05/0.5481, allocations: 45.25 kB / 0.5495 GB, free: 2.805 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.5481, allocations: 7.891 kB / 0.5495 GB, free: 2.797 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.5481, allocations: 0 / 0.5495 GB, free: 2.797 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.5481, allocations: 7.984 kB / 0.5495 GB, free: 2.789 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003276/0.5514, allocations: 1.101 MB / 0.5506 GB, free: 1.844 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.5514, allocations: 0 / 0.5506 GB, free: 1.844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.5515, allocations: 24.08 kB / 0.5506 GB, free: 1.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002115/0.5536, allocations: 475 kB / 0.5511 GB, free: 1.414 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/0.5537, allocations: 15.42 kB / 0.5511 GB, free: 1.402 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004498/0.5582, allocations: 2.302 MB / 0.5533 GB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.5582, allocations: 4.031 kB / 0.5533 GB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002699/0.5609, allocations: 0.6737 MB / 0.554 GB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001941/0.5611, allocations: 144.4 kB / 0.5541 GB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.461e-05/0.5612, allocations: 4 kB / 0.5541 GB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000312/0.5615, allocations: 30.97 kB / 0.5542 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.493e-05/0.5616, allocations: 15.42 kB / 0.5542 GB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.5616, allocations: 7.984 kB / 0.5542 GB, free: 14.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003484/0.5619, allocations: 299.5 kB / 0.5545 GB, free: 14.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5619, allocations: 4 kB / 0.5545 GB, free: 14.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006251/0.5626, allocations: 138.7 kB / 0.5546 GB, free: 14.22 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 (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.003194/0.5658, allocations: 1.304 MB / 0.5559 GB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000948/0.5667, allocations: 0.5123 MB / 0.5564 GB, free: 12.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5668, allocations: 3.938 kB / 0.5564 GB, free: 12.53 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003006/0.5671, allocations: 234.8 kB / 0.5566 GB, free: 12.33 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/0.5675, allocations: 79.7 kB / 0.5567 GB, free: 12.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.5686, allocations: 489.8 kB / 0.5571 GB, free: 11.81 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.569, allocations: 0.7953 MB / 0.5579 GB, free: 10.99 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001409/0.5691, allocations: 30.97 kB / 0.558 GB, free: 10.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.5693, allocations: 114 kB / 0.5581 GB, free: 10.93 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.5693, allocations: 0 / 0.5581 GB, free: 10.93 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02881/0.5981, allocations: 12.26 MB / 0.57 GB, free: 14.88 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/0.5983, allocations: 185.4 kB / 0.5702 GB, free: 14.64 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.189/2.787, allocations: 0 / 0.5702 GB, free: 14.64 MB / 394.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)