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.0009076/0.0009076, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.001123/0.001123, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1997/0.1997, allocations: 5.373 MB / 296.4 MB, free: 3.938 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005237/0.0005241, allocations: 11.98 kB / 362 MB, free: 14.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1154, allocations: 51.6 MB / 413.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.004159/0.1196, allocations: 3.799 MB / 417.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002676/0.1223, allocations: 1.493 MB / 418.9 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000289/0.1226, allocations: 8 kB / 418.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.1236, allocations: 454.6 kB / 419.4 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004267/0.1241, allocations: 198.7 kB / 419.5 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.1244, allocations: 123.8 kB / 419.7 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2487/0.3731, allocations: 26.62 MB / 446.3 MB, free: 32.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008531/0.3817, allocations: 5.621 MB / 451.9 MB, free: 30.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01118/0.3929, allocations: 6.331 MB / 458.2 MB, free: 27.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01691/0.4099, allocations: 8.022 MB / 466.3 MB, free: 24.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006523/0.4165, allocations: 0.903 MB / 467.2 MB, free: 24.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0103/0.4268, allocations: 0.9106 MB / 468.1 MB, free: 24.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008132/0.435, allocations: 2.921 MB / 471 MB, free: 22.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01014/0.4452, allocations: 2.732 MB / 473.7 MB, free: 21.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02651/0.4717, allocations: 23.21 MB / 496.9 MB, free: 5.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.4718, allocations: 4 kB / 496.9 MB, free: 5.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4718, allocations: 0 / 496.9 MB, free: 5.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000933/0.4727, allocations: 4 kB / 496.9 MB, free: 5.242 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: 2129 * Number of variables: 2129 Notification: Performance of Generate backend data structure: time 0.08945/0.5622, allocations: 28.26 MB / 0.5129 GB, free: 8.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/0.5623, allocations: 8.031 kB / 0.5129 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008064/0.5703, allocations: 1.123 MB / 0.514 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01124/0.5816, allocations: 1.455 MB / 0.5154 GB, free: 6.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06059/0.6422, allocations: 20.65 MB / 0.5356 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009074/0.6432, allocations: 0.6217 MB / 0.5362 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005558/0.6487, allocations: 0.8203 MB / 0.537 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04587/0.6946, allocations: 16.89 MB / 0.5535 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002721/0.6949, allocations: 19.81 kB / 0.5535 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003964/0.6989, allocations: 348 kB / 0.5538 GB, free: 14.56 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001982/0.6991, allocations: 212 kB / 0.554 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04651/0.7456, allocations: 20.22 MB / 0.5738 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5561/1.302, allocations: 61.7 MB / 0.634 GB, free: 70.15 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03572/1.338, allocations: 24.99 MB / 0.6584 GB, free: 58.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01296/1.351, allocations: 8.676 MB / 0.6669 GB, free: 54.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002153/1.351, allocations: 71.52 kB / 0.667 GB, free: 54.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/1.351, allocations: 76.95 kB / 0.6671 GB, free: 54.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=448): time 5.23e-06/1.351, allocations: 4 kB / 0.6671 GB, free: 54.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=448): time 0.1213/1.472, allocations: 51.51 MB / 0.7174 GB, free: 5.457 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/1.472, allocations: 101.4 kB / 0.7175 GB, free: 5.348 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03332/1.506, allocations: 16.19 MB / 0.7333 GB, free: 5.336 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002115/1.508, allocations: 109.7 kB / 0.7334 GB, free: 5.223 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.007835/1.516, allocations: 6.089 MB / 0.7393 GB, free: 15.55 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003361/1.519, allocations: 1.588 MB / 0.7409 GB, free: 14.06 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002525/1.522, allocations: 176 kB / 0.741 GB, free: 13.89 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000873/1.522, allocations: 0.6621 MB / 0.7417 GB, free: 13.22 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01949/1.542, allocations: 9.186 MB / 0.7507 GB, free: 4.02 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02234/1.564, allocations: 10.38 MB / 0.7608 GB, free: 9.301 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3247/1.889, allocations: 9.859 MB / 0.7704 GB, free: 135.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-05/1.889, allocations: 9.031 kB / 0.7704 GB, free: 135.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.1614/2.051, allocations: 54.53 MB / 0.8237 GB, free: 127.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/2.051, allocations: 15.88 kB / 0.8237 GB, free: 127.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.11e-05/2.051, allocations: 27.55 kB / 0.8237 GB, free: 127.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04901/2.1, allocations: 30.49 MB / 0.8535 GB, free: 105.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007331/2.107, allocations: 1.572 MB / 0.855 GB, free: 103.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6776/2.785, allocations: 225.3 MB / 1.075 GB, free: 53.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02069/2.806, allocations: 3.358 MB / 1.078 GB, free: 50.19 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002832/2.809, allocations: 383.7 kB / 1.079 GB, free: 49.81 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 (linear and non-linear blocks): 48 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 48 {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: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {47 200} Notification: Performance of prepare postOptimizeDAE: time 0.0114/2.82, allocations: 4.523 MB / 1.083 GB, free: 45.38 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004638/2.825, allocations: 1.164 MB / 1.084 GB, free: 44.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1154/2.94, allocations: 45.8 MB / 1.129 GB, free: 14.58 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.399e-05/2.94, allocations: 40 kB / 1.129 GB, free: 14.54 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/2.94, allocations: 5.75 kB / 1.129 GB, free: 14.54 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000145/2.94, allocations: 27.69 kB / 1.129 GB, free: 14.51 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4996/3.44, allocations: 62.98 MB / 1.191 GB, free: 122.9 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.036e-05/3.44, allocations: 4.453 kB / 1.191 GB, free: 122.9 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002086/3.442, allocations: 454 kB / 1.191 GB, free: 122.9 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03099/3.473, allocations: 20.31 MB / 1.211 GB, free: 117.2 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002395/3.475, allocations: 119.8 kB / 1.211 GB, free: 117.1 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6269/4.102, allocations: 143.5 MB / 1.351 GB, free: 119.9 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/4.102, allocations: 0 / 1.351 GB, free: 119.9 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1179/4.22, allocations: 44.86 MB / 1.395 GB, free: 111.5 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01235/4.233, allocations: 3.018 MB / 1.398 GB, free: 109.9 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006718/4.24, allocations: 73.66 kB / 1.398 GB, free: 109.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01542/4.255, allocations: 2.06 MB / 1.4 GB, free: 108.5 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001014/4.256, allocations: 284 kB / 1.4 GB, free: 108.2 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001674/4.258, allocations: 147.3 kB / 1.4 GB, free: 108.1 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.02309/4.281, allocations: 11.17 MB / 1.411 GB, free: 96.96 MB / 0.4982 GB Notification: Performance of sort global known variables: time 5.21e-07/4.281, allocations: 0.7656 kB / 1.411 GB, free: 96.96 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.02769/4.309, allocations: 4.073 MB / 1.415 GB, free: 93 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {48 154} Notification: Performance of Backend phase and start with SimCode phase: time 0.1537/4.462, allocations: 45.53 MB / 1.46 GB, free: 47.58 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.3697/4.832, allocations: 40.65 MB / 1.499 GB, free: 125.1 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/4.832, allocations: 1.375 kB / 1.499 GB, free: 125.1 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.06512/4.897, allocations: 23.71 MB / 1.523 GB, free: 124.9 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02859/4.926, allocations: 3.041 MB / 1.526 GB, free: 124.6 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.958/6.884, allocations: 192.4 MB / 1.713 GB, free: 113.9 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01356/6.898, allocations: 8.687 MB / 1.722 GB, free: 112.2 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.01473/6.912, allocations: 3.645 MB / 1.725 GB, free: 112.1 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01171/6.924, allocations: 5.001 MB / 1.73 GB, free: 108.1 MB / 0.4982 GB Notification: Performance of SimCode: time 1.052e-06/6.924, allocations: 0 / 1.73 GB, free: 108.1 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.373/8.297, allocations: 391 MB / 2.112 GB, free: 119.7 MB / 0.5138 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/8.297, allocations: 200.8 kB / 2.112 GB, free: 119.4 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.29/24.59, allocations: 0 / 2.112 GB, free: 119.4 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/linux/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) Environment - environmentSimulation: