Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.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.SimpleCellVoltageSource,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleCellVoltageSource,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource",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.001663/0.001663, 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.518/1.518, allocations: 221.5 MB / 229.6 MB, free: 7.566 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.001018/0.001018, allocations: 91.59 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.02357/0.02357, allocations: 5.288 MB / 336.5 MB, free: 9.914 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.514e-05/1.518e-05, allocations: 0.625 kB / 396.4 MB, free: 51.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09508/0.09511, allocations: 51.61 MB / 448 MB, free: 10.96 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.108/0.2032, allocations: 82.2 MB / 0.5178 GB, free: 8.648 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000194/0.2034, allocations: 67.97 kB / 0.5179 GB, free: 8.582 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2704/0.4738, allocations: 11.91 MB / 0.5295 GB, free: 81.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4739, allocations: 0 / 0.5295 GB, free: 81.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.118e-05/0.4739, allocations: 6.625 kB / 0.5295 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001093/0.475, allocations: 0.6052 MB / 0.5301 GB, free: 81.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.4751, allocations: 13.92 kB / 0.5301 GB, free: 81.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.567e-05/0.4751, allocations: 43 kB / 0.5301 GB, free: 81.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004236/0.4756, allocations: 338 kB / 0.5305 GB, free: 81.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.4756, allocations: 5.062 kB / 0.5305 GB, free: 81.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.546e-05/0.4757, allocations: 12.09 kB / 0.5305 GB, free: 81.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005532/0.4762, allocations: 278.1 kB / 0.5308 GB, free: 81.19 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004249/0.4766, allocations: 255.6 kB / 0.531 GB, free: 81.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.4767, allocations: 1.734 kB / 0.531 GB, free: 81.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.4767, allocations: 0 / 0.531 GB, free: 81.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.4767, allocations: 8.922 kB / 0.531 GB, free: 81.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002265/0.479, allocations: 1.362 MB / 0.5323 GB, free: 80.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003135/0.4793, allocations: 166.1 kB / 0.5325 GB, free: 80.44 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002919/0.4796, allocations: 111.1 kB / 0.5326 GB, free: 80.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.4797, allocations: 6.078 kB / 0.5326 GB, free: 80.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.4797, allocations: 31.88 kB / 0.5326 GB, free: 80.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.4797, allocations: 0 / 0.5326 GB, free: 80.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004546/0.4802, allocations: 187 kB / 0.5328 GB, free: 80.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.4802, allocations: 53.14 kB / 0.5329 GB, free: 80.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005671/0.4808, allocations: 336.8 kB / 0.5332 GB, free: 80.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.4808, allocations: 25.7 kB / 0.5332 GB, free: 80.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.481, allocations: 209.3 kB / 0.5334 GB, free: 80.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.481, allocations: 41.77 kB / 0.5334 GB, free: 79.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.025e-05/0.4811, allocations: 0 / 0.5334 GB, free: 79.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4812, allocations: 341.4 kB / 0.5338 GB, free: 79.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.4814, allocations: 94.64 kB / 0.5339 GB, free: 79.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.4816, allocations: 134.7 kB / 0.534 GB, free: 79.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.4818, allocations: 105.6 kB / 0.5341 GB, free: 79.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4818, allocations: 0 / 0.5341 GB, free: 79.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008328/0.4826, allocations: 351.6 kB / 0.5344 GB, free: 79.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.4826, allocations: 4.375 kB / 0.5344 GB, free: 79.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.4827, allocations: 3.594 kB / 0.5344 GB, free: 79.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004946/0.4832, allocations: 90.78 kB / 0.5345 GB, free: 79.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004344/0.4836, allocations: 79.67 kB / 0.5346 GB, free: 79.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.485, allocations: 1.497 MB / 0.5361 GB, free: 78.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003823/0.4854, allocations: 33.08 kB / 0.5361 GB, free: 78.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.959e-05/0.4854, allocations: 15.5 kB / 0.5361 GB, free: 78.23 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 (25): * 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: 0 * 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: Performance of prepare postOptimizeDAE: time 8.4e-05/0.4855, allocations: 106.2 kB / 0.5362 GB, free: 78.12 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002912/0.4858, allocations: 184.5 kB / 0.5364 GB, free: 78.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.73e-05/0.4859, allocations: 35.69 kB / 0.5364 GB, free: 78.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.674e-05/0.4859, allocations: 35.23 kB / 0.5365 GB, free: 78.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4859, allocations: 1.406 kB / 0.5365 GB, free: 78.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.486, allocations: 1.375 kB / 0.5365 GB, free: 78.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.486, allocations: 2.688 kB / 0.5365 GB, free: 78.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007669/0.4867, allocations: 0.6291 MB / 0.5371 GB, free: 77.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4868, allocations: 1.969 kB / 0.5371 GB, free: 77.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/0.487, allocations: 53.12 kB / 0.5371 GB, free: 77.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.487, allocations: 1.062 kB / 0.5371 GB, free: 77.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.4871, allocations: 7.859 kB / 0.5371 GB, free: 77.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4871, allocations: 1.219 kB / 0.5371 GB, free: 77.74 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4871, allocations: 1.219 kB / 0.5371 GB, free: 77.74 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.4874, allocations: 305 kB / 0.5374 GB, free: 77.56 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.4875, allocations: 137 kB / 0.5376 GB, free: 77.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.814e-05/0.4876, allocations: 1.281 kB / 0.5376 GB, free: 77.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/0.4878, allocations: 25.69 kB / 0.5376 GB, free: 77.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.4879, allocations: 7.328 kB / 0.5376 GB, free: 77.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.4879, allocations: 7.062 kB / 0.5376 GB, free: 77.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002738/0.4882, allocations: 257.8 kB / 0.5378 GB, free: 77.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4882, allocations: 0 / 0.5378 GB, free: 77.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004023/0.4886, allocations: 85.5 kB / 0.5379 GB, free: 77.35 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 (11): * Single equations (assignments): 11 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005779/0.4892, allocations: 0.9328 MB / 0.5388 GB, free: 76.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006554/0.4899, allocations: 336.8 kB / 0.5392 GB, free: 76.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4899, allocations: 0 / 0.5392 GB, free: 76.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.49, allocations: 75.14 kB / 0.5392 GB, free: 76.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.4905, allocations: 64.31 kB / 0.5393 GB, free: 76.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.4917, allocations: 434.9 kB / 0.5397 GB, free: 76.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.4919, allocations: 0.7786 MB / 0.5405 GB, free: 75.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001656/0.4921, allocations: 30.28 kB / 0.5405 GB, free: 75.53 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.4923, allocations: 111.8 kB / 0.5406 GB, free: 75.52 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4923, allocations: 0 / 0.5406 GB, free: 75.52 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02616/0.5185, allocations: 6.048 MB / 0.5465 GB, free: 74.28 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001557/0.5187, allocations: 134 kB / 0.5466 GB, free: 74.09 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.109/2.628, allocations: 0 / 0.5466 GB, free: 74.09 MB / 362.7 MB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe 2>&1)