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.0009876/0.0009877, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.001229/0.001229, allocations: 177.3 kB / 15.94 MB, free: 228 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.304/1.304, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1576/0.1576, allocations: 5.369 MB / 296.3 MB, free: 3.961 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003299, allocations: 8 kB / 361.9 MB, free: 14.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1059, allocations: 51.61 MB / 413.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.003235/0.1091, allocations: 2.763 MB / 416.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.1108, allocations: 1.174 MB / 417.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.111, allocations: 7.938 kB / 417.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004031/0.1114, allocations: 171.2 kB / 417.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003047/0.1117, allocations: 163.5 kB / 417.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000147/0.1119, allocations: 71.89 kB / 417.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004238/0.1123, allocations: 355.2 kB / 418.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.1125, allocations: 82.03 kB / 418.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.1127, allocations: 175.3 kB / 418.4 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.113, allocations: 207.2 kB / 418.6 MB, free: 5.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.715e-05/0.113, allocations: 24 kB / 418.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.1131, allocations: 31.98 kB / 418.7 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.161e-05/0.1132, allocations: 71.66 kB / 418.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.048e-05/0.1133, allocations: 93.52 kB / 418.9 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003625/0.1136, allocations: 398.8 kB / 419.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.1137, allocations: 0 / 419.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1137, allocations: 0 / 419.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.1137, allocations: 0 / 419.2 MB, free: 4.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.001758/0.1154, allocations: 0.7673 MB / 420 MB, free: 3.934 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1155, allocations: 16.03 kB / 420 MB, free: 3.918 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.488e-05/0.1156, allocations: 58.53 kB / 420.1 MB, free: 3.852 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.971e-05/0.1157, allocations: 39.53 kB / 420.1 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009857/0.1167, allocations: 482.9 kB / 420.6 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.1167, allocations: 16.56 kB / 420.6 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/0.1167, allocations: 20 kB / 420.6 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005524/0.1173, allocations: 305.1 kB / 420.9 MB, free: 2.953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1173, allocations: 3.938 kB / 420.9 MB, free: 2.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.251e-05/0.1173, allocations: 19.95 kB / 421 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.497e-06/0.1174, allocations: 7.984 kB / 421 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005825/0.118, allocations: 265.6 kB / 421.2 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/0.12, allocations: 1.344 MB / 422.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005214/0.1206, allocations: 283.5 kB / 422.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.1206, allocations: 4 kB / 422.8 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.1207, allocations: 34.52 kB / 422.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/0.1207, allocations: 0 / 422.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.003113/0.1238, allocations: 0.7878 MB / 423.7 MB, free: 56 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1912/0.315, allocations: 57.09 kB / 423.7 MB, free: 45.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005559/0.3156, allocations: 378.3 kB / 424.1 MB, free: 45.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.839e-05/0.3157, allocations: 27.45 kB / 424.1 MB, free: 45.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.3158, allocations: 219.7 kB / 424.3 MB, free: 45.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.3159, allocations: 41.38 kB / 424.4 MB, free: 45.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.824e-05/0.3159, allocations: 3.875 kB / 424.4 MB, free: 45.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.044e-05/0.316, allocations: 344.9 kB / 424.7 MB, free: 44.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/0.3163, allocations: 110.3 kB / 424.8 MB, free: 44.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/0.3166, allocations: 149.3 kB / 425 MB, free: 44.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003204/0.3169, allocations: 118.4 kB / 425.1 MB, free: 44.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.3169, allocations: 4.578 kB / 425.1 MB, free: 44.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.002266/0.3192, allocations: 0.6162 MB / 425.7 MB, free: 44.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3192, allocations: 6.281 kB / 425.7 MB, free: 44.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3193, allocations: 0 / 425.7 MB, free: 44.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007853/0.3201, allocations: 251.2 kB / 426 MB, free: 44.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.3203, allocations: 45.08 kB / 426 MB, free: 44.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004628/0.3249, allocations: 3.565 MB / 429.6 MB, free: 42.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003767/0.3253, allocations: 45.67 kB / 429.6 MB, free: 42.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.3254, allocations: 17.12 kB / 429.6 MB, free: 42.08 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 (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001692/0.3255, allocations: 144.8 kB / 429.8 MB, free: 41.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-05/0.3256, allocations: 35.56 kB / 429.8 MB, free: 41.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.705e-05/0.3257, allocations: 34.75 kB / 429.8 MB, free: 41.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.3257, allocations: 1.75 kB / 429.8 MB, free: 41.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.3257, allocations: 0 / 429.8 MB, free: 41.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.3257, allocations: 0.875 kB / 429.8 MB, free: 41.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001986/0.3277, allocations: 0.8792 MB / 430.7 MB, free: 41.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3277, allocations: 0 / 430.7 MB, free: 41.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.586e-05/0.3278, allocations: 25.77 kB / 430.7 MB, free: 41.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003161/0.3281, allocations: 176.7 kB / 430.9 MB, free: 41.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.3282, allocations: 3.953 kB / 430.9 MB, free: 41.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002863/0.331, allocations: 2 MB / 432.9 MB, free: 40.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.331, allocations: 0 / 432.9 MB, free: 40.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/0.3327, allocations: 0.5582 MB / 433.5 MB, free: 40.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.3329, allocations: 130.2 kB / 433.6 MB, free: 40.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.949e-05/0.3329, allocations: 3.438 kB / 433.6 MB, free: 40.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002677/0.3332, allocations: 25.92 kB / 433.6 MB, free: 40.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.3333, allocations: 9.281 kB / 433.6 MB, free: 40.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.3333, allocations: 6.062 kB / 433.6 MB, free: 40.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002782/0.3336, allocations: 268.4 kB / 433.9 MB, free: 39.92 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3336, allocations: 0 / 433.9 MB, free: 39.92 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004953/0.3341, allocations: 85.56 kB / 434 MB, free: 39.91 MB / 350.1 MB 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 (9): * Single equations (assignments): 8 * 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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00182/0.3359, allocations: 1.097 MB / 435.1 MB, free: 39.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009311/0.3368, allocations: 0.4978 MB / 435.6 MB, free: 38.97 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3369, allocations: 0 / 435.6 MB, free: 38.97 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002865/0.3372, allocations: 213.2 kB / 435.8 MB, free: 38.85 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004143/0.3376, allocations: 67.22 kB / 435.9 MB, free: 38.85 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.339, allocations: 1.432 MB / 437.3 MB, free: 37.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.3392, allocations: 0.7887 MB / 438.1 MB, free: 37.08 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001734/0.3394, allocations: 38.52 kB / 438.1 MB, free: 37.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.3395, allocations: 116.3 kB / 438.2 MB, free: 37.06 MB / 350.1 MB Notification: Performance of SimCode: time 9.21e-07/0.3395, allocations: 0 / 438.2 MB, free: 37.06 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/0.3587, allocations: 8.605 MB / 446.8 MB, free: 36.45 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001447/0.3589, allocations: 191.6 kB / 447 MB, free: 36.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/2.091, allocations: 0.75 kB / 447 MB, free: 36.21 MB / 350.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/linux/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) Environment - environmentSimulation: