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.001478/0.001478, allocations: 173.7 kB / 7.646 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.389/1.389, allocations: 221.5 MB / 229.6 MB, free: 7.59 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.0008284/0.0008283, allocations: 94.11 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02269/0.02269, allocations: 5.288 MB / 336.5 MB, free: 9.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.12e-05/2.122e-05, allocations: 1.344 kB / 396.4 MB, free: 51.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1052, allocations: 51.61 MB / 448 MB, free: 10.97 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1167/0.2219, allocations: 82.53 MB / 0.5181 GB, free: 8.32 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/0.2222, allocations: 71.97 kB / 0.5182 GB, free: 8.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2732/0.4955, allocations: 12.48 MB / 0.5304 GB, free: 81.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4955, allocations: 1.125 kB / 0.5304 GB, free: 81.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.917e-05/0.4955, allocations: 7.719 kB / 0.5304 GB, free: 81.84 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.001417/0.497, allocations: 0.6456 MB / 0.531 GB, free: 81.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.259e-05/0.497, allocations: 8.906 kB / 0.531 GB, free: 81.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.4972, allocations: 45.84 kB / 0.5311 GB, free: 81.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000557/0.4977, allocations: 342.2 kB / 0.5314 GB, free: 81.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.4978, allocations: 7.969 kB / 0.5314 GB, free: 81.13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.087e-05/0.4978, allocations: 13.88 kB / 0.5314 GB, free: 81.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007356/0.4986, allocations: 308.7 kB / 0.5317 GB, free: 81.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005628/0.4991, allocations: 277.7 kB / 0.532 GB, free: 81.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.4992, allocations: 2.359 kB / 0.532 GB, free: 81.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/0.4992, allocations: 5.75 kB / 0.532 GB, free: 81.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.4992, allocations: 6.781 kB / 0.532 GB, free: 81.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002783/0.502, allocations: 1.406 MB / 0.5333 GB, free: 80.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005697/0.5026, allocations: 296.5 kB / 0.5336 GB, free: 80.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003242/0.5029, allocations: 124.1 kB / 0.5337 GB, free: 80.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.503, allocations: 8.156 kB / 0.5338 GB, free: 80.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.503, allocations: 34.41 kB / 0.5338 GB, free: 80.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.823e-06/0.503, allocations: 0 / 0.5338 GB, free: 80.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.002962/0.506, allocations: 0.5452 MB / 0.5343 GB, free: 80.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.506, allocations: 52.59 kB / 0.5344 GB, free: 80.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004661/0.5065, allocations: 347.5 kB / 0.5347 GB, free: 80 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.5065, allocations: 25.7 kB / 0.5347 GB, free: 79.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.5067, allocations: 223.4 kB / 0.5349 GB, free: 79.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.775e-05/0.5067, allocations: 58.11 kB / 0.535 GB, free: 79.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.042e-05/0.5068, allocations: 0 / 0.535 GB, free: 79.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.48e-05/0.5068, allocations: 344.6 kB / 0.5353 GB, free: 79.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.507, allocations: 104.9 kB / 0.5354 GB, free: 79.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.5072, allocations: 149.1 kB / 0.5356 GB, free: 79.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.5075, allocations: 127.6 kB / 0.5357 GB, free: 79.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.5075, allocations: 0 / 0.5357 GB, free: 79.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.003133/0.5106, allocations: 0.7088 MB / 0.5364 GB, free: 79.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.5107, allocations: 5.5 kB / 0.5364 GB, free: 79.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.5107, allocations: 1 kB / 0.5364 GB, free: 79.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00296/0.5136, allocations: 0.5443 MB / 0.5369 GB, free: 79.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.514, allocations: 54.92 kB / 0.537 GB, free: 79.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006064/0.52, allocations: 3.99 MB / 0.5409 GB, free: 76.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004661/0.5205, allocations: 40.88 kB / 0.5409 GB, free: 76.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.068e-05/0.5206, allocations: 16.94 kB / 0.5409 GB, free: 76.65 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 (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.0001781/0.5208, allocations: 116.9 kB / 0.541 GB, free: 76.54 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002472/0.5232, allocations: 0.5423 MB / 0.5416 GB, free: 76.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.598e-05/0.5233, allocations: 30.91 kB / 0.5416 GB, free: 76.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.701e-05/0.5234, allocations: 38.44 kB / 0.5416 GB, free: 76.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.5234, allocations: 3.938 kB / 0.5416 GB, free: 76.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.5234, allocations: 0 / 0.5416 GB, free: 76.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.5234, allocations: 3.141 kB / 0.5416 GB, free: 76.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003057/0.5265, allocations: 1.055 MB / 0.5427 GB, free: 75.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.5265, allocations: 0 / 0.5427 GB, free: 75.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.5266, allocations: 23.81 kB / 0.5427 GB, free: 75.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002012/0.5287, allocations: 467.2 kB / 0.5431 GB, free: 75.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.637e-05/0.5287, allocations: 14.69 kB / 0.5431 GB, free: 75.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003954/0.5327, allocations: 2.242 MB / 0.5453 GB, free: 74.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.5327, allocations: 3.75 kB / 0.5453 GB, free: 74.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002572/0.5353, allocations: 0.6551 MB / 0.546 GB, free: 73.81 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001976/0.5355, allocations: 140.9 kB / 0.5461 GB, free: 73.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.002e-05/0.5355, allocations: 3.906 kB / 0.5461 GB, free: 73.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003029/0.5359, allocations: 29.69 kB / 0.5461 GB, free: 73.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.569e-05/0.5359, allocations: 13.88 kB / 0.5462 GB, free: 73.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.536, allocations: 7.719 kB / 0.5462 GB, free: 73.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002817/0.5362, allocations: 265.6 kB / 0.5464 GB, free: 73.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5362, allocations: 0 / 0.5464 GB, free: 73.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005857/0.5368, allocations: 121.1 kB / 0.5465 GB, free: 73.5 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 (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.002767/0.5396, allocations: 1.308 MB / 0.5478 GB, free: 72.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008288/0.5405, allocations: 0.4892 MB / 0.5483 GB, free: 72.28 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.5405, allocations: 0 / 0.5483 GB, free: 72.28 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002393/0.5407, allocations: 220.6 kB / 0.5485 GB, free: 72.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000454/0.5412, allocations: 65.56 kB / 0.5486 GB, free: 72.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.5422, allocations: 469.7 kB / 0.549 GB, free: 71.76 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.5424, allocations: 0.7891 MB / 0.5498 GB, free: 71.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001339/0.5426, allocations: 33.45 kB / 0.5498 GB, free: 71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.5427, allocations: 112.6 kB / 0.5499 GB, free: 70.9 MB / 362.7 MB Notification: Performance of SimCode: time 7.22e-07/0.5427, allocations: 0 / 0.5499 GB, free: 70.9 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02756/0.5703, allocations: 10.31 MB / 0.56 GB, free: 61.02 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001284/0.5705, allocations: 129.3 kB / 0.5601 GB, free: 60.84 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.196/2.766, allocations: 0 / 0.5601 GB, free: 60.84 MB / 362.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)