Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.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.SimpleModule,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModule,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule",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.001154/0.001154, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001127/0.001127, allocations: 197 kB / 16.26 MB, free: 6.625 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.253/1.253, allocations: 222.9 MB / 239.9 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1212/0.1212, allocations: 5.383 MB / 295.5 MB, free: 2.973 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 59.91 kB / 360.5 MB, free: 14.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0809/0.08207, allocations: 50.61 MB / 411.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.005452/0.08756, allocations: 4.414 MB / 415.5 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002505/0.09009, allocations: 1.578 MB / 417.1 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004565/0.09057, allocations: 11.94 kB / 417.1 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.09163, allocations: 319.3 kB / 417.4 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006442/0.0923, allocations: 210.7 kB / 417.6 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004248/0.09274, allocations: 195.7 kB / 417.8 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1603/0.2531, allocations: 25.64 MB / 443.4 MB, free: 32.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006865/0.26, allocations: 7.957 MB / 451.4 MB, free: 29.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008998/0.269, allocations: 9.373 MB / 460.7 MB, free: 24.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01339/0.2824, allocations: 10.81 MB / 471.5 MB, free: 19.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005452/0.2879, allocations: 2.706 MB / 474.3 MB, free: 19.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006334/0.2942, allocations: 2.712 MB / 477 MB, free: 19.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003304/0.2975, allocations: 5.128 MB / 482.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01314/0.3107, allocations: 9.531 MB / 491.6 MB, free: 6.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0234/0.3341, allocations: 28.69 MB / 0.5081 GB, free: 12.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3341, allocations: 0 / 0.5081 GB, free: 12.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3342, allocations: 0 / 0.5081 GB, free: 12.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005568/0.3347, allocations: 0 / 0.5081 GB, free: 12.71 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2129 * Number of variables: 2129 Notification: Performance of Generate backend data structure: time 0.09687/0.4316, allocations: 30.8 MB / 0.5382 GB, free: 13.83 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.4317, allocations: 8.031 kB / 0.5382 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005187/0.4369, allocations: 1.122 MB / 0.5393 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00674/0.4436, allocations: 1.452 MB / 0.5407 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04794/0.4916, allocations: 18.8 MB / 0.5591 GB, free: 8.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006521/0.4922, allocations: 0.6295 MB / 0.5597 GB, free: 7.887 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003779/0.496, allocations: 0.8125 MB / 0.5605 GB, free: 7.074 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03492/0.531, allocations: 15.68 MB / 0.5758 GB, free: 6.879 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002486/0.5313, allocations: 23.81 kB / 0.5758 GB, free: 6.855 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002361/0.5336, allocations: 344 kB / 0.5762 GB, free: 6.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001711/0.5338, allocations: 212 kB / 0.5764 GB, free: 6.312 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3315/0.8653, allocations: 17.6 MB / 0.5935 GB, free: 96.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09715/0.9625, allocations: 57.52 MB / 0.6497 GB, free: 67.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02741/0.99, allocations: 21.37 MB / 0.6706 GB, free: 53.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0101/1, allocations: 7.453 MB / 0.6779 GB, free: 48.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002498/1, allocations: 71.39 kB / 0.6779 GB, free: 48.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.962e-05/1, allocations: 82.08 kB / 0.678 GB, free: 48.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=448): time 6.031e-06/1, allocations: 0 / 0.678 GB, free: 48.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=448): time 0.09255/1.093, allocations: 36.3 MB / 0.7135 GB, free: 12.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/1.093, allocations: 102.3 kB / 0.7136 GB, free: 12.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02572/1.119, allocations: 15.19 MB / 0.7284 GB, free: 13.52 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001641/1.12, allocations: 113.7 kB / 0.7285 GB, free: 13.4 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.007168/1.128, allocations: 6.087 MB / 0.7344 GB, free: 7.414 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00278/1.13, allocations: 1.576 MB / 0.736 GB, free: 5.816 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009025/1.14, allocations: 2.101 MB / 0.738 GB, free: 3.699 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.68e-05/1.14, allocations: 301.1 kB / 0.7383 GB, free: 3.402 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01476/1.154, allocations: 7.645 MB / 0.7458 GB, free: 11.75 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01628/1.171, allocations: 8.838 MB / 0.7544 GB, free: 2.566 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02973/1.2, allocations: 14.4 MB / 0.7685 GB, free: 3.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.813e-05/1.201, allocations: 4 kB / 0.7685 GB, free: 3.766 MB / 494.1 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.2758/1.476, allocations: 39.94 MB / 0.8075 GB, free: 131.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.641e-05/1.476, allocations: 20.59 kB / 0.8075 GB, free: 131.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.084e-05/1.476, allocations: 24.16 kB / 0.8075 GB, free: 131.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04513/1.522, allocations: 26.04 MB / 0.833 GB, free: 126.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006664/1.528, allocations: 1.497 MB / 0.8344 GB, free: 126.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5188/2.047, allocations: 203 MB / 1.033 GB, free: 92.06 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01879/2.066, allocations: 2.567 MB / 1.035 GB, free: 91.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00328/2.069, allocations: 382.8 kB / 1.036 GB, free: 90.94 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * 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 (840): * Single equations (assignments): 791 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 48 * 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): 48 systems {2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 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 {(47,200)} Notification: Performance of prepare postOptimizeDAE: time 0.01128/2.081, allocations: 4.516 MB / 1.04 GB, free: 88.31 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004815/2.085, allocations: 1.158 MB / 1.041 GB, free: 87.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09162/2.177, allocations: 31.8 MB / 1.072 GB, free: 59.83 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.033e-05/2.177, allocations: 44 kB / 1.072 GB, free: 59.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/2.177, allocations: 5.031 kB / 1.072 GB, free: 59.79 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001454/2.177, allocations: 19.92 kB / 1.072 GB, free: 59.77 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1279/2.305, allocations: 46.64 MB / 1.118 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.341e-05/2.305, allocations: 0 / 1.118 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001713/2.307, allocations: 457.2 kB / 1.118 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02313/2.33, allocations: 15.48 MB / 1.133 GB, free: 13.41 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001174/2.331, allocations: 107.9 kB / 1.133 GB, free: 13.3 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4258/2.757, allocations: 115 MB / 1.246 GB, free: 85.25 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/2.757, allocations: 0 / 1.246 GB, free: 85.25 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07789/2.835, allocations: 30.88 MB / 1.276 GB, free: 54.55 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006123/2.841, allocations: 2.657 MB / 1.279 GB, free: 51.93 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003266/2.845, allocations: 71.98 kB / 1.279 GB, free: 51.86 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009217/2.854, allocations: 1.4 MB / 1.28 GB, free: 50.46 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005905/2.854, allocations: 272.1 kB / 1.28 GB, free: 50.19 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000546/2.855, allocations: 147.9 kB / 1.28 GB, free: 50.05 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.01449/2.87, allocations: 10.49 MB / 1.291 GB, free: 39.63 MB / 0.4982 GB Notification: Performance of sort global known variables: time 1.5e-07/2.87, allocations: 0 / 1.291 GB, free: 39.63 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01141/2.881, allocations: 3.717 MB / 1.294 GB, free: 36.02 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (250): * Single equations (assignments): 249 * 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 {(48,154)} Notification: Performance of Backend phase and start with SimCode phase: time 0.2461/3.127, allocations: 31.55 MB / 1.325 GB, free: 123.4 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.08686/3.214, allocations: 39.92 MB / 1.364 GB, free: 117.1 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/3.214, allocations: 0 / 1.364 GB, free: 117.1 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.0519/3.266, allocations: 17.29 MB / 1.381 GB, free: 113.2 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01761/3.284, allocations: 3.115 MB / 1.384 GB, free: 112.1 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.569/4.852, allocations: 245.6 MB / 1.624 GB, free: 61.61 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009676/4.862, allocations: 8.689 MB / 1.632 GB, free: 52.88 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.01067/4.873, allocations: 3.889 MB / 1.636 GB, free: 49.13 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006414/4.879, allocations: 4.998 MB / 1.641 GB, free: 44.13 MB / 0.4982 GB Notification: Performance of SimCode: time 7.51e-07/4.879, allocations: 0 / 1.641 GB, free: 44.13 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.149/6.028, allocations: 394 MB / 2.026 GB, free: 39.45 MB / 0.5138 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/6.029, allocations: 211.4 kB / 2.026 GB, free: 39.2 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/19.07, allocations: 3.938 kB / 2.026 GB, free: 39.19 MB / 0.5138 GB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe 2>&1)