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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 195.3 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1312/0.1312, allocations: 5.384 MB / 295.3 MB, free: 2.965 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 59.91 kB / 360.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09446/0.09561, allocations: 50.61 MB / 410.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.004295/0.09994, allocations: 3.547 MB / 414.4 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.1017, allocations: 1.277 MB / 415.7 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.1019, allocations: 8 kB / 415.7 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005001/0.1024, allocations: 198.9 kB / 415.9 MB, free: 6.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002904/0.1027, allocations: 143 kB / 416 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001741/0.1029, allocations: 111.8 kB / 416.1 MB, free: 6.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000511/0.1034, allocations: 0.5639 MB / 416.7 MB, free: 6.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002159/0.1037, allocations: 112 kB / 416.8 MB, free: 5.891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.1039, allocations: 203.1 kB / 417 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002711/0.1042, allocations: 238.9 kB / 417.2 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.054e-05/0.1042, allocations: 28 kB / 417.3 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.1044, allocations: 32 kB / 417.3 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.1045, allocations: 99.44 kB / 417.4 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002033/0.1047, allocations: 214.8 kB / 417.6 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005073/0.1052, allocations: 0.5294 MB / 418.1 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1052, allocations: 4 kB / 418.1 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1052, allocations: 0 / 418.1 MB, free: 4.555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1052, allocations: 0 / 418.1 MB, free: 4.555 MB / 350.1 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.001988/0.1072, allocations: 0.8296 MB / 419 MB, free: 3.676 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.1073, allocations: 8.031 kB / 419 MB, free: 3.668 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.66e-05/0.1074, allocations: 74.72 kB / 419.1 MB, free: 3.586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.1075, allocations: 44.38 kB / 419.1 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.1087, allocations: 0.5063 MB / 419.6 MB, free: 2.996 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.1088, allocations: 20.5 kB / 419.6 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.579e-05/0.1088, allocations: 28 kB / 419.6 MB, free: 2.949 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007518/0.1096, allocations: 361.3 kB / 420 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1096, allocations: 0 / 420 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.559e-05/0.1096, allocations: 12 kB / 420 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.1097, allocations: 8 kB / 420 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000956/0.1106, allocations: 373.9 kB / 420.4 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002341/0.113, allocations: 1.421 MB / 421.8 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.1141, allocations: 446.3 kB / 422.2 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004647/0.1146, allocations: 164.8 kB / 422.4 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.1146, allocations: 4 kB / 422.4 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.1146, allocations: 38.5 kB / 422.4 MB, free: 12 kB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.423e-06/0.1146, allocations: 4.094 kB / 422.4 MB, free: 8 kB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.1601/0.2747, allocations: 1.022 MB / 423.5 MB, free: 48.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.2748, allocations: 54.62 kB / 423.5 MB, free: 48.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004161/0.2752, allocations: 391.7 kB / 423.9 MB, free: 48.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.2753, allocations: 32.8 kB / 423.9 MB, free: 48.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.2754, allocations: 224.7 kB / 424.2 MB, free: 47.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.527e-05/0.2755, allocations: 70.03 kB / 424.2 MB, free: 47.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.2756, allocations: 67.91 kB / 424.3 MB, free: 47.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.57e-05/0.2757, allocations: 351.8 kB / 424.6 MB, free: 47.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003898/0.276, allocations: 145.1 kB / 424.8 MB, free: 47.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003758/0.2764, allocations: 180.6 kB / 425 MB, free: 47.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007144/0.2772, allocations: 314.7 kB / 425.3 MB, free: 47.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2772, allocations: 0 / 425.3 MB, free: 47.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.003986/0.2812, allocations: 0.8306 MB / 426.1 MB, free: 47.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.2812, allocations: 10.88 kB / 426.1 MB, free: 47.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.2812, allocations: 0 / 426.1 MB, free: 47.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.2823, allocations: 323.5 kB / 426.4 MB, free: 47.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.2825, allocations: 60.88 kB / 426.5 MB, free: 47.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007245/0.2898, allocations: 3.959 MB / 430.4 MB, free: 44.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004591/0.2902, allocations: 52.27 kB / 430.5 MB, free: 44.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/0.2903, allocations: 14.55 kB / 430.5 MB, free: 44.35 MB / 350.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001639/0.2904, allocations: 155.4 kB / 430.7 MB, free: 44.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.701e-05/0.2905, allocations: 41.53 kB / 430.7 MB, free: 44.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.139e-05/0.2906, allocations: 46.33 kB / 430.7 MB, free: 44.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.2906, allocations: 0 / 430.7 MB, free: 44.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.2906, allocations: 2.969 kB / 430.7 MB, free: 44.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2906, allocations: 0 / 430.7 MB, free: 44.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004076/0.2947, allocations: 1.175 MB / 431.9 MB, free: 43.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.2947, allocations: 6.594 kB / 431.9 MB, free: 43.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.2949, allocations: 34.28 kB / 432 MB, free: 43.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006182/0.2955, allocations: 249.6 kB / 432.2 MB, free: 43.54 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.2955, allocations: 12.16 kB / 432.2 MB, free: 43.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005706/0.3012, allocations: 2.355 MB / 434.6 MB, free: 41.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3012, allocations: 3.125 kB / 434.6 MB, free: 41.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004482/0.3057, allocations: 0.7782 MB / 435.3 MB, free: 41.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.3059, allocations: 141.2 kB / 435.5 MB, free: 41.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.182e-05/0.306, allocations: 0 / 435.5 MB, free: 41.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003401/0.3063, allocations: 35.48 kB / 435.5 MB, free: 41.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/0.3064, allocations: 24.2 kB / 435.5 MB, free: 41.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.3064, allocations: 10.53 kB / 435.6 MB, free: 41.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002643/0.3067, allocations: 278.8 kB / 435.8 MB, free: 41.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3067, allocations: 0 / 435.8 MB, free: 41.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005202/0.3072, allocations: 109.1 kB / 435.9 MB, free: 41.36 MB / 350.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003858/0.3111, allocations: 1.318 MB / 437.3 MB, free: 40.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.3123, allocations: 0.5992 MB / 437.9 MB, free: 40.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3123, allocations: 3.094 kB / 437.9 MB, free: 40.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004627/0.3128, allocations: 273.7 kB / 438.1 MB, free: 40.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005236/0.3133, allocations: 78.48 kB / 438.2 MB, free: 40.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.3246, allocations: 4.509 MB / 442.7 MB, free: 37.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001879/0.3248, allocations: 0.7923 MB / 443.5 MB, free: 36.99 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001993/0.325, allocations: 50.75 kB / 443.5 MB, free: 36.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.3252, allocations: 119.8 kB / 443.7 MB, free: 36.89 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3252, allocations: 0 / 443.7 MB, free: 36.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02088/0.3461, allocations: 11.28 MB / 454.9 MB, free: 36.02 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001416/0.3462, allocations: 214.9 kB / 455.2 MB, free: 35.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.988/2.335, allocations: 2.969 kB / 455.2 MB, free: 35.77 MB / 350.1 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/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)