Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.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.SimpleCell,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleCell,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell",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.001415/0.001415, allocations: 172.5 kB / 7.647 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.503/1.503, allocations: 221.5 MB / 229.6 MB, free: 7.594 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.0008174/0.0008174, allocations: 94.09 kB / 280.5 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02239/0.02239, allocations: 5.291 MB / 336.5 MB, free: 9.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.492e-05/1.493e-05, allocations: 0 / 396.4 MB, free: 51.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0972/0.09724, allocations: 51.62 MB / 448 MB, free: 10.97 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1108/0.2081, allocations: 82.24 MB / 0.5178 GB, free: 8.609 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/0.2084, allocations: 67.97 kB / 0.5179 GB, free: 8.543 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2646/0.4731, allocations: 12.29 MB / 0.5299 GB, free: 81.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4731, allocations: 0 / 0.5299 GB, free: 81.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.46e-05/0.4731, allocations: 7.812 kB / 0.5299 GB, free: 81.78 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001224/0.4744, allocations: 0.6338 MB / 0.5305 GB, free: 81.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.4744, allocations: 10.55 kB / 0.5305 GB, free: 81.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.4745, allocations: 40.12 kB / 0.5306 GB, free: 81.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005378/0.4751, allocations: 343 kB / 0.5309 GB, free: 81.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.4751, allocations: 6.781 kB / 0.5309 GB, free: 81.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.4752, allocations: 15.31 kB / 0.5309 GB, free: 81.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006427/0.4758, allocations: 293.8 kB / 0.5312 GB, free: 81.08 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005461/0.4764, allocations: 266 kB / 0.5315 GB, free: 81.01 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.4764, allocations: 1.25 kB / 0.5315 GB, free: 81.01 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.375e-05/0.4764, allocations: 0 / 0.5315 GB, free: 81.01 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.4765, allocations: 8.234 kB / 0.5315 GB, free: 81.01 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002395/0.4789, allocations: 1.374 MB / 0.5328 GB, free: 80.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005689/0.4794, allocations: 287.3 kB / 0.5331 GB, free: 80.26 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/0.4797, allocations: 106.5 kB / 0.5332 GB, free: 80.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.713e-05/0.4798, allocations: 5.656 kB / 0.5332 GB, free: 80.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.4798, allocations: 38.33 kB / 0.5332 GB, free: 80.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.4798, allocations: 0 / 0.5332 GB, free: 80.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.003048/0.4829, allocations: 0.5242 MB / 0.5337 GB, free: 80.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.4829, allocations: 57.3 kB / 0.5338 GB, free: 80.08 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005182/0.4834, allocations: 337.3 kB / 0.5341 GB, free: 79.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.4835, allocations: 30.73 kB / 0.5341 GB, free: 79.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.4836, allocations: 217.2 kB / 0.5344 GB, free: 79.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.947e-05/0.4837, allocations: 45.17 kB / 0.5344 GB, free: 79.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.971e-05/0.4837, allocations: 0 / 0.5344 GB, free: 79.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.204e-05/0.4838, allocations: 344.3 kB / 0.5347 GB, free: 79.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.484, allocations: 105 kB / 0.5348 GB, free: 79.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.4842, allocations: 138.9 kB / 0.535 GB, free: 79.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.4844, allocations: 117 kB / 0.5351 GB, free: 79.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.4844, allocations: 0 / 0.5351 GB, free: 79.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.003178/0.4876, allocations: 0.693 MB / 0.5357 GB, free: 79.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.4876, allocations: 5.156 kB / 0.5358 GB, free: 79.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.4876, allocations: 3.078 kB / 0.5358 GB, free: 79.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002748/0.4904, allocations: 0.5446 MB / 0.5363 GB, free: 79.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.4907, allocations: 49.3 kB / 0.5363 GB, free: 79.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006307/0.497, allocations: 3.994 MB / 0.5402 GB, free: 76.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004445/0.4974, allocations: 43.61 kB / 0.5403 GB, free: 76.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.4975, allocations: 11.95 kB / 0.5403 GB, free: 76.66 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 (23): * Single equations (assignments): 21 * 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.0001813/0.4977, allocations: 112.9 kB / 0.5404 GB, free: 76.54 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002655/0.5003, allocations: 0.5309 MB / 0.5409 GB, free: 76.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.148e-05/0.5004, allocations: 37.53 kB / 0.5409 GB, free: 76.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.258e-05/0.5005, allocations: 30.05 kB / 0.541 GB, free: 76.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.5005, allocations: 3.375 kB / 0.541 GB, free: 76.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.5005, allocations: 3.562 kB / 0.541 GB, free: 76.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.5005, allocations: 0 / 0.541 GB, free: 76.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003085/0.5036, allocations: 1.021 MB / 0.542 GB, free: 75.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.5036, allocations: 0 / 0.542 GB, free: 75.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.893e-05/0.5037, allocations: 20.52 kB / 0.542 GB, free: 75.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002114/0.5059, allocations: 480.9 kB / 0.5425 GB, free: 75.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.5059, allocations: 7.609 kB / 0.5425 GB, free: 75.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00401/0.5099, allocations: 2.241 MB / 0.5447 GB, free: 74.17 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.5099, allocations: 0 / 0.5447 GB, free: 74.17 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002611/0.5126, allocations: 0.6351 MB / 0.5453 GB, free: 73.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001905/0.5128, allocations: 139.1 kB / 0.5454 GB, free: 73.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.87e-05/0.5128, allocations: 4 kB / 0.5454 GB, free: 73.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002982/0.5131, allocations: 24.62 kB / 0.5454 GB, free: 73.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.218e-05/0.5132, allocations: 19.05 kB / 0.5455 GB, free: 73.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.5132, allocations: 7.578 kB / 0.5455 GB, free: 73.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003097/0.5135, allocations: 257 kB / 0.5457 GB, free: 73.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5135, allocations: 4 kB / 0.5457 GB, free: 73.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005865/0.5141, allocations: 124.5 kB / 0.5458 GB, free: 73.59 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 (10): * Single equations (assignments): 9 * 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.002854/0.517, allocations: 1.285 MB / 0.5471 GB, free: 72.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008116/0.5178, allocations: 485.3 kB / 0.5475 GB, free: 72.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.5178, allocations: 3.844 kB / 0.5475 GB, free: 72.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002343/0.5181, allocations: 213.9 kB / 0.5478 GB, free: 72.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.5185, allocations: 56.7 kB / 0.5478 GB, free: 72.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.5196, allocations: 466.7 kB / 0.5483 GB, free: 71.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.5198, allocations: 0.7832 MB / 0.549 GB, free: 71.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.5199, allocations: 33.55 kB / 0.549 GB, free: 71.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.52, allocations: 106.3 kB / 0.5492 GB, free: 71.16 MB / 362.7 MB Notification: Performance of SimCode: time 2.9e-07/0.5201, allocations: 0 / 0.5492 GB, free: 71.16 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02985/0.5499, allocations: 10.14 MB / 0.559 GB, free: 61.89 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001459/0.5501, allocations: 112.2 kB / 0.5592 GB, free: 61.7 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.337/2.887, allocations: 0 / 0.5592 GB, free: 61.7 MB / 362.7 MB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe 2>&1)