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.0009288/0.0009286, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 221.5 MB / 229.6 MB, free: 7.586 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.0008587/0.0008585, allocations: 90.19 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02289/0.02289, allocations: 5.295 MB / 336.6 MB, free: 9.918 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.903e-05/1.905e-05, allocations: 1.688 kB / 396.4 MB, free: 51.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1094, allocations: 51.6 MB / 448 MB, free: 10.98 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1138/0.2233, allocations: 82.79 MB / 0.5184 GB, free: 8.074 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/0.2235, allocations: 67.97 kB / 0.5184 GB, free: 8.008 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2755/0.4991, allocations: 12.69 MB / 0.5308 GB, free: 81.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.4991, allocations: 0 / 0.5308 GB, free: 81.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.43e-05/0.4991, allocations: 7.297 kB / 0.5308 GB, free: 81.88 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.001163/0.5003, allocations: 0.6513 MB / 0.5315 GB, free: 81.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.5004, allocations: 9.688 kB / 0.5315 GB, free: 81.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.5005, allocations: 47.38 kB / 0.5315 GB, free: 81.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004537/0.5009, allocations: 354 kB / 0.5319 GB, free: 81.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.501, allocations: 11.19 kB / 0.5319 GB, free: 81.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.485e-05/0.501, allocations: 15.5 kB / 0.5319 GB, free: 81.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007028/0.5017, allocations: 325.9 kB / 0.5322 GB, free: 81.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004783/0.5022, allocations: 298.1 kB / 0.5325 GB, free: 81.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.5022, allocations: 3.938 kB / 0.5325 GB, free: 81.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/0.5023, allocations: 7.922 kB / 0.5325 GB, free: 81.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.5023, allocations: 6.031 kB / 0.5325 GB, free: 81.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002288/0.5046, allocations: 1.456 MB / 0.5339 GB, free: 80.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005786/0.5052, allocations: 340.6 kB / 0.5342 GB, free: 80.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003082/0.5055, allocations: 137.3 kB / 0.5344 GB, free: 80.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.5056, allocations: 2.812 kB / 0.5344 GB, free: 80.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.5056, allocations: 36.91 kB / 0.5344 GB, free: 80.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 1.823e-06/0.5056, allocations: 0 / 0.5344 GB, free: 80.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.002744/0.5083, allocations: 0.5689 MB / 0.535 GB, free: 80.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.5084, allocations: 53.56 kB / 0.535 GB, free: 80.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004468/0.5088, allocations: 346.1 kB / 0.5353 GB, free: 80.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.5089, allocations: 26.45 kB / 0.5354 GB, free: 79.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.509, allocations: 224 kB / 0.5356 GB, free: 79.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.811e-05/0.5091, allocations: 66.88 kB / 0.5357 GB, free: 79.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.172e-05/0.5091, allocations: 5.094 kB / 0.5357 GB, free: 79.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.301e-05/0.5092, allocations: 347.3 kB / 0.536 GB, free: 79.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.5094, allocations: 119.8 kB / 0.5361 GB, free: 79.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.5096, allocations: 154.2 kB / 0.5362 GB, free: 79.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.5099, allocations: 123.3 kB / 0.5364 GB, free: 79.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.5099, allocations: 5.062 kB / 0.5364 GB, free: 79.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.003318/0.5132, allocations: 0.7329 MB / 0.5371 GB, free: 79.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.561e-05/0.5133, allocations: 5.375 kB / 0.5371 GB, free: 79.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.5133, allocations: 1.031 kB / 0.5371 GB, free: 79.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002723/0.516, allocations: 0.552 MB / 0.5376 GB, free: 79.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/0.5164, allocations: 54.48 kB / 0.5377 GB, free: 79.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00567/0.522, allocations: 4.003 MB / 0.5416 GB, free: 76.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004916/0.5226, allocations: 41.78 kB / 0.5416 GB, free: 76.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/0.5226, allocations: 21.28 kB / 0.5417 GB, free: 76.36 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: variableResistor.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real 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.0001618/0.5228, allocations: 105.2 kB / 0.5418 GB, free: 76.25 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00256/0.5253, allocations: 0.5695 MB / 0.5423 GB, free: 76.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.059e-05/0.5255, allocations: 43.98 kB / 0.5424 GB, free: 76.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.5256, allocations: 36.23 kB / 0.5424 GB, free: 76.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.5256, allocations: 3.156 kB / 0.5424 GB, free: 76.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.5256, allocations: 0 / 0.5424 GB, free: 76.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.5256, allocations: 3.75 kB / 0.5424 GB, free: 76.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003182/0.5288, allocations: 1.087 MB / 0.5435 GB, free: 75.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.5288, allocations: 3 kB / 0.5435 GB, free: 75.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.529, allocations: 41.38 kB / 0.5435 GB, free: 75.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002052/0.531, allocations: 473.6 kB / 0.5439 GB, free: 75.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/0.5311, allocations: 9.734 kB / 0.544 GB, free: 75.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003888/0.535, allocations: 2.247 MB / 0.5462 GB, free: 73.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.535, allocations: 0 / 0.5462 GB, free: 73.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002585/0.5376, allocations: 0.6792 MB / 0.5468 GB, free: 73.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002051/0.5378, allocations: 142 kB / 0.547 GB, free: 73.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.236e-05/0.5379, allocations: 3.938 kB / 0.547 GB, free: 73.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/0.5382, allocations: 24.39 kB / 0.547 GB, free: 73.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.268e-05/0.5383, allocations: 19.3 kB / 0.547 GB, free: 73.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-05/0.5383, allocations: 15.28 kB / 0.547 GB, free: 73.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002913/0.5386, allocations: 270 kB / 0.5473 GB, free: 73.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5386, allocations: 3.938 kB / 0.5473 GB, free: 73.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006141/0.5392, allocations: 127.6 kB / 0.5474 GB, free: 73.16 MB / 362.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.002902/0.5421, allocations: 1.319 MB / 0.5487 GB, free: 72.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008426/0.543, allocations: 0.518 MB / 0.5492 GB, free: 71.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.543, allocations: 0 / 0.5492 GB, free: 71.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002519/0.5433, allocations: 242.8 kB / 0.5494 GB, free: 71.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004769/0.5437, allocations: 65.66 kB / 0.5495 GB, free: 71.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.5448, allocations: 479.1 kB / 0.5499 GB, free: 71.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/0.545, allocations: 0.807 MB / 0.5507 GB, free: 70.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001338/0.5451, allocations: 35.27 kB / 0.5508 GB, free: 70.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.5453, allocations: 119.4 kB / 0.5509 GB, free: 70.28 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5453, allocations: 0 / 0.5509 GB, free: 70.28 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0313/0.5766, allocations: 10.66 MB / 0.5613 GB, free: 59.69 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001474/0.5768, allocations: 126.1 kB / 0.5614 GB, free: 59.5 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.16/2.736, allocations: 3.938 kB / 0.5614 GB, free: 59.5 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)