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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005938/0.005938, allocations: 99.69 kB / 15.73 MB, free: 6.473 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.001341/0.001341, allocations: 197.5 kB / 16.67 MB, free: 6.379 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1372/0.1372, allocations: 5.383 MB / 295.9 MB, free: 2.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 55.91 kB / 412.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2388, allocations: 50.62 MB / 462.9 MB, free: 21.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.00403/0.2429, allocations: 3.373 MB / 466.3 MB, free: 18.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002082/0.245, allocations: 1.261 MB / 467.6 MB, free: 18.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002741/0.2453, allocations: 7.875 kB / 467.6 MB, free: 18.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005506/0.2459, allocations: 211 kB / 467.8 MB, free: 17.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003608/0.2463, allocations: 150.3 kB / 467.9 MB, free: 17.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.2465, allocations: 116.3 kB / 468 MB, free: 17.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000482/0.247, allocations: 0.5646 MB / 468.6 MB, free: 17.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002028/0.2472, allocations: 124 kB / 468.7 MB, free: 17.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002284/0.2475, allocations: 210 kB / 468.9 MB, free: 17.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/0.2477, allocations: 255.4 kB / 469.2 MB, free: 17.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.526e-05/0.2478, allocations: 52.25 kB / 469.2 MB, free: 17.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.2479, allocations: 59.06 kB / 469.3 MB, free: 17.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.172e-05/0.248, allocations: 108.6 kB / 469.4 MB, free: 17.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.2482, allocations: 226.1 kB / 469.6 MB, free: 16.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005292/0.2487, allocations: 0.5325 MB / 470.1 MB, free: 16.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2487, allocations: 0 / 470.1 MB, free: 16.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2488, allocations: 0.9688 kB / 470.1 MB, free: 16.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.2488, allocations: 0 / 470.1 MB, free: 16.75 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001893/0.2507, allocations: 0.807 MB / 470.9 MB, free: 16.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.2507, allocations: 13.91 kB / 471 MB, free: 16.19 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.912e-05/0.2508, allocations: 55.19 kB / 471 MB, free: 16.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.29e-05/0.2509, allocations: 45.5 kB / 471.1 MB, free: 16.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.2519, allocations: 488.1 kB / 471.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.252, allocations: 26.66 kB / 471.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.956e-05/0.252, allocations: 25.94 kB / 471.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005202/0.2525, allocations: 293.9 kB / 471.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.2525, allocations: 1.375 kB / 471.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/0.2526, allocations: 9.375 kB / 471.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.2526, allocations: 6.875 kB / 471.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00054/0.2531, allocations: 247.5 kB / 472.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001953/0.2551, allocations: 1.271 MB / 473.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004639/0.2556, allocations: 259.1 kB / 473.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/0.2559, allocations: 117.9 kB / 473.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.2559, allocations: 2.078 kB / 473.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.364e-05/0.2559, allocations: 32.62 kB / 473.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.2559, allocations: 0 / 473.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.003578/0.2595, allocations: 0.7285 MB / 474.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.093e-05/0.2596, allocations: 54.17 kB / 474.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004165/0.26, allocations: 391.9 kB / 475 MB, free: 13.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.26, allocations: 35.08 kB / 475 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.2601, allocations: 215.6 kB / 475.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.2602, allocations: 40.88 kB / 475.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.974e-05/0.2603, allocations: 59.42 kB / 475.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.33e-05/0.2603, allocations: 341.6 kB / 475.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/0.2606, allocations: 98.86 kB / 475.7 MB, free: 13.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.2609, allocations: 136.6 kB / 475.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004367/0.2613, allocations: 218.1 kB / 476.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2613, allocations: 0 / 476.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.002253/0.2636, allocations: 0.5594 MB / 476.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.2636, allocations: 7.75 kB / 476.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.2636, allocations: 4.062 kB / 476.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008585/0.2645, allocations: 241.7 kB / 476.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.2647, allocations: 42.5 kB / 476.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004741/0.2695, allocations: 3.786 MB / 480.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/0.2699, allocations: 44.25 kB / 480.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.2699, allocations: 6.469 kB / 480.8 MB, free: 9.375 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 (22): * Single equations (assignments): 20 * 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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000171/0.2701, allocations: 145.8 kB / 480.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.851e-05/0.2702, allocations: 35.19 kB / 480.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.174e-05/0.2703, allocations: 40.86 kB / 481 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.2703, allocations: 1 kB / 481 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.2703, allocations: 1.344 kB / 481 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2703, allocations: 4 kB / 481 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/0.2725, allocations: 0.8421 MB / 481.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.2725, allocations: 0 / 481.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.201e-05/0.2726, allocations: 17.27 kB / 481.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003204/0.2729, allocations: 166.8 kB / 482 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.273, allocations: 1.156 kB / 482 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003013/0.276, allocations: 2.012 MB / 484 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.276, allocations: 96 / 484 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/0.2778, allocations: 0.509 MB / 484.5 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.2779, allocations: 132.1 kB / 484.7 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.222e-05/0.278, allocations: 9.172 kB / 484.7 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002928/0.2783, allocations: 19.86 kB / 484.7 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.486e-05/0.2784, allocations: 8.984 kB / 484.7 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.2784, allocations: 2.469 kB / 484.7 MB, free: 6.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002883/0.2787, allocations: 273.1 kB / 485 MB, free: 6.008 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2787, allocations: 0 / 485 MB, free: 6.008 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005481/0.2793, allocations: 97.03 kB / 485.1 MB, free: 5.988 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 (9): * Single equations (assignments): 8 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00193/0.2812, allocations: 1.026 MB / 486.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009093/0.2821, allocations: 495 kB / 486.6 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2821, allocations: 0 / 486.6 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002942/0.2824, allocations: 197.6 kB / 486.8 MB, free: 4.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005612/0.283, allocations: 84.91 kB / 486.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007339/0.2904, allocations: 3.618 MB / 490.5 MB, free: 2.148 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/0.2906, allocations: 0.7811 MB / 491.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001799/0.2908, allocations: 36.55 kB / 491.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.2909, allocations: 111.7 kB / 491.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2909, allocations: 1.156 kB / 491.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03404/0.325, allocations: 9.966 MB / 0.4896 GB, free: 9.969 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12, allocations: 8.438 kB / 0.4896 GB, free: 9.961 MB / 366.1 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/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)