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.001238/0.001239, 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.001364/0.001364, 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.283/1.283, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.139/0.139, allocations: 5.389 MB / 295.3 MB, free: 2.91 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 59.91 kB / 360.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0929/0.09404, allocations: 50.62 MB / 410.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.004977/0.09905, allocations: 4.4 MB / 415.3 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.1012, allocations: 1.578 MB / 416.8 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002678/0.1015, allocations: 8 kB / 416.9 MB, free: 5.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.1026, allocations: 335.3 kB / 417.2 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004778/0.1031, allocations: 198.7 kB / 417.4 MB, free: 5.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004095/0.1035, allocations: 191.8 kB / 417.6 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.177/0.2806, allocations: 23.56 MB / 441.1 MB, free: 33.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006958/0.2876, allocations: 7.269 MB / 448.4 MB, free: 30.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008513/0.2961, allocations: 6.589 MB / 455 MB, free: 28.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01287/0.309, allocations: 8.526 MB / 463.5 MB, free: 24.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004583/0.3136, allocations: 0.9535 MB / 464.5 MB, free: 24.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006802/0.3204, allocations: 0.965 MB / 465.4 MB, free: 24.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004188/0.3246, allocations: 3.053 MB / 468.5 MB, free: 22.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01677/0.3414, allocations: 7.466 MB / 475.9 MB, free: 18.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02691/0.3683, allocations: 27.1 MB / 0.4913 GB, free: 13.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.123e-05/0.3684, allocations: 0 / 0.4913 GB, free: 13.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3684, allocations: 0 / 0.4913 GB, free: 13.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000859/0.3693, allocations: 0 / 0.4913 GB, free: 13.77 MB / 366.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.1069/0.4762, allocations: 30.8 MB / 0.5213 GB, free: 14.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.4762, allocations: 12.03 kB / 0.5214 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005175/0.4814, allocations: 1.118 MB / 0.5224 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008628/0.4901, allocations: 1.448 MB / 0.5239 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05486/0.5449, allocations: 18.8 MB / 0.5422 GB, free: 9.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007195/0.5457, allocations: 0.6256 MB / 0.5428 GB, free: 8.941 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004336/0.55, allocations: 0.8164 MB / 0.5436 GB, free: 8.125 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0371/0.5872, allocations: 15.68 MB / 0.5589 GB, free: 7.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000246/0.5874, allocations: 27.75 kB / 0.559 GB, free: 7.902 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002839/0.5903, allocations: 348 kB / 0.5593 GB, free: 7.562 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001761/0.5905, allocations: 216 kB / 0.5595 GB, free: 7.352 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04099/0.6315, allocations: 17.6 MB / 0.5767 GB, free: 5.734 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4501/1.082, allocations: 57.52 MB / 0.6329 GB, free: 69.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03109/1.113, allocations: 21.38 MB / 0.6537 GB, free: 59.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01107/1.124, allocations: 7.448 MB / 0.661 GB, free: 55.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000264/1.124, allocations: 67.72 kB / 0.6611 GB, free: 55.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.585e-05/1.124, allocations: 80.06 kB / 0.6611 GB, free: 55.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=448): time 4.859e-06/1.124, allocations: 0 / 0.6611 GB, free: 55.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=448): time 0.09846/1.223, allocations: 36.3 MB / 0.6966 GB, free: 26.03 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/1.223, allocations: 102.4 kB / 0.6967 GB, free: 25.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02302/1.246, allocations: 15.18 MB / 0.7115 GB, free: 10.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001516/1.247, allocations: 114.3 kB / 0.7116 GB, free: 10.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004974/1.252, allocations: 6.087 MB / 0.7176 GB, free: 5.133 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00214/1.254, allocations: 1.582 MB / 0.7191 GB, free: 3.562 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004163/1.259, allocations: 2.093 MB / 0.7212 GB, free: 1.453 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.547e-05/1.259, allocations: 309.1 kB / 0.7215 GB, free: 1.148 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01342/1.272, allocations: 7.645 MB / 0.7289 GB, free: 9.492 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0146/1.287, allocations: 8.833 MB / 0.7376 GB, free: 340 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02731/1.314, allocations: 14.4 MB / 0.7516 GB, free: 1.566 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.501e-05/1.314, allocations: 4 kB / 0.7516 GB, free: 1.562 MB / 478.1 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.3126/1.627, allocations: 39.94 MB / 0.7906 GB, free: 131.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.302e-05/1.627, allocations: 16.19 kB / 0.7906 GB, free: 131.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.71e-05/1.627, allocations: 22.06 kB / 0.7907 GB, free: 131.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04864/1.675, allocations: 26.02 MB / 0.8161 GB, free: 128.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00622/1.682, allocations: 1.496 MB / 0.8175 GB, free: 128.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5362/2.218, allocations: 190.6 MB / 1.004 GB, free: 102.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.018/2.236, allocations: 2.564 MB / 1.006 GB, free: 102.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002534/2.239, allocations: 371.6 kB / 1.006 GB, free: 102.2 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.009316/2.248, allocations: 4.517 MB / 1.011 GB, free: 100.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003622/2.252, allocations: 1.159 MB / 1.012 GB, free: 99.85 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08526/2.337, allocations: 31.81 MB / 1.043 GB, free: 84.95 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.698e-05/2.337, allocations: 44 kB / 1.043 GB, free: 84.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/2.337, allocations: 3.984 kB / 1.043 GB, free: 84.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.742e-05/2.337, allocations: 19.92 kB / 1.043 GB, free: 84.88 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1159/2.453, allocations: 46.64 MB / 1.089 GB, free: 38.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-05/2.453, allocations: 0 / 1.089 GB, free: 38.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001704/2.455, allocations: 452.1 kB / 1.089 GB, free: 37.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0224/2.477, allocations: 15.47 MB / 1.104 GB, free: 22.53 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001474/2.479, allocations: 115.9 kB / 1.104 GB, free: 22.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4744/2.953, allocations: 108.3 MB / 1.21 GB, free: 111.3 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/2.953, allocations: 3.625 kB / 1.21 GB, free: 111.3 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08972/3.043, allocations: 30.88 MB / 1.24 GB, free: 86.48 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007848/3.051, allocations: 2.65 MB / 1.243 GB, free: 83.86 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003591/3.054, allocations: 75.75 kB / 1.243 GB, free: 83.79 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01116/3.065, allocations: 1.4 MB / 1.244 GB, free: 82.39 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009305/3.066, allocations: 273.3 kB / 1.245 GB, free: 82.12 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001015/3.067, allocations: 143.9 kB / 1.245 GB, free: 81.98 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.01945/3.087, allocations: 10.49 MB / 1.255 GB, free: 71.57 MB / 0.4982 GB Notification: Performance of sort global known variables: time 8.82e-07/3.087, allocations: 0 / 1.255 GB, free: 71.57 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01578/3.103, allocations: 3.712 MB / 1.259 GB, free: 67.95 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.08977/3.192, allocations: 31.56 MB / 1.289 GB, free: 36.51 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.2784/3.471, allocations: 32.81 MB / 1.321 GB, free: 132.2 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/3.471, allocations: 0 / 1.321 GB, free: 132.2 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.0539/3.525, allocations: 17.17 MB / 1.338 GB, free: 131.8 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01785/3.543, allocations: 2.979 MB / 1.341 GB, free: 131.6 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.583/5.126, allocations: 245.6 MB / 1.581 GB, free: 84.57 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008408/5.134, allocations: 8.686 MB / 1.589 GB, free: 81.93 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.01065/5.145, allocations: 3.595 MB / 1.593 GB, free: 81.69 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006411/5.151, allocations: 4.997 MB / 1.598 GB, free: 77.64 MB / 0.4982 GB Notification: Performance of SimCode: time 9.01e-07/5.151, allocations: 0 / 1.598 GB, free: 77.64 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8439/5.995, allocations: 383.3 MB / 1.972 GB, free: 109.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001411/5.995, allocations: 215.8 kB / 1.972 GB, free: 109.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/17.71, allocations: 5.312 kB / 1.972 GB, free: 109.3 MB / 0.5294 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)