Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.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.SimpleModuleSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric",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.001026/0.001026, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001332/0.001332, allocations: 168.7 kB / 15.95 MB, free: 204 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.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1677/0.1677, allocations: 5.374 MB / 296.5 MB, free: 3.824 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000321/0.000321, allocations: 12 kB / 362 MB, free: 14.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1083, allocations: 51.6 MB / 413.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.003365/0.1117, allocations: 2.957 MB / 416.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.1135, allocations: 1.193 MB / 417.8 MB, free: 6.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000314/0.1139, allocations: 4 kB / 417.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005692/0.1145, allocations: 198.9 kB / 418 MB, free: 6.145 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003777/0.1148, allocations: 123.1 kB / 418.1 MB, free: 6.023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.115, allocations: 75.91 kB / 418.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006027/0.1157, allocations: 0.5096 MB / 418.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002462/0.1159, allocations: 90 kB / 418.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003089/0.1162, allocations: 183.2 kB / 418.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003569/0.1166, allocations: 219.1 kB / 419.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.679e-05/0.1167, allocations: 24 kB / 419.2 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.1168, allocations: 31.98 kB / 419.2 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.576e-05/0.1169, allocations: 75.66 kB / 419.3 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.117, allocations: 97.45 kB / 419.4 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000395/0.1174, allocations: 394.9 kB / 419.7 MB, free: 4.332 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1174, allocations: 0 / 419.7 MB, free: 4.332 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1174, allocations: 0 / 419.7 MB, free: 4.332 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.308e-05/0.1175, allocations: 4 kB / 419.8 MB, free: 4.328 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001758/0.1192, allocations: 0.7713 MB / 420.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.1193, allocations: 15.97 kB / 420.5 MB, free: 3.492 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.702e-05/0.1194, allocations: 58.55 kB / 420.6 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.767e-05/0.1195, allocations: 47.44 kB / 420.6 MB, free: 3.379 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.1206, allocations: 495 kB / 421.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.1206, allocations: 20.56 kB / 421.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/0.1207, allocations: 27.94 kB / 421.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006049/0.1213, allocations: 325.4 kB / 421.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1213, allocations: 0 / 421.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.192e-05/0.1213, allocations: 11.95 kB / 421.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.1214, allocations: 8 kB / 421.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006952/0.1221, allocations: 298 kB / 421.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002287/0.1244, allocations: 1.35 MB / 423.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006099/0.125, allocations: 319.5 kB / 423.5 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003579/0.1253, allocations: 148.8 kB / 423.6 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.1254, allocations: 4 kB / 423.6 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.1254, allocations: 30.56 kB / 423.6 MB, free: 212 kB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.1254, allocations: 0 / 423.6 MB, free: 212 kB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.195/0.3204, allocations: 0.8067 MB / 424.5 MB, free: 45.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.3205, allocations: 53.28 kB / 424.5 MB, free: 45.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000485/0.321, allocations: 382 kB / 424.9 MB, free: 45.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.321, allocations: 30.2 kB / 424.9 MB, free: 45.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.3211, allocations: 222.1 kB / 425.1 MB, free: 45.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.3212, allocations: 49.62 kB / 425.2 MB, free: 45.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.723e-05/0.3212, allocations: 7.406 kB / 425.2 MB, free: 45.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.431e-05/0.3213, allocations: 347.2 kB / 425.5 MB, free: 44.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/0.3216, allocations: 123.3 kB / 425.6 MB, free: 44.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002791/0.3219, allocations: 165.4 kB / 425.8 MB, free: 44.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/0.3222, allocations: 133.6 kB / 425.9 MB, free: 44.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.3222, allocations: 0 / 425.9 MB, free: 44.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00218/0.3244, allocations: 0.668 MB / 426.6 MB, free: 44.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.3244, allocations: 4.188 kB / 426.6 MB, free: 44.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.3244, allocations: 10.42 kB / 426.6 MB, free: 44.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007925/0.3252, allocations: 258.4 kB / 426.9 MB, free: 44.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.3254, allocations: 56.23 kB / 426.9 MB, free: 44.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004864/0.3303, allocations: 3.633 MB / 430.6 MB, free: 41.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003798/0.3307, allocations: 48.33 kB / 430.6 MB, free: 41.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.3307, allocations: 16.56 kB / 430.6 MB, free: 41.93 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 (26): * Single equations (assignments): 24 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001634/0.3309, allocations: 151.1 kB / 430.8 MB, free: 41.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.571e-05/0.331, allocations: 39.33 kB / 430.8 MB, free: 41.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.448e-05/0.331, allocations: 34.89 kB / 430.8 MB, free: 41.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.331, allocations: 0 / 430.8 MB, free: 41.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3311, allocations: 1.25 kB / 430.8 MB, free: 41.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3311, allocations: 3.469 kB / 430.8 MB, free: 41.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002257/0.3333, allocations: 0.9701 MB / 431.8 MB, free: 41.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3333, allocations: 4.531 kB / 431.8 MB, free: 41.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.891e-05/0.3335, allocations: 33.41 kB / 431.8 MB, free: 41.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003756/0.3338, allocations: 186.1 kB / 432 MB, free: 41.42 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.3339, allocations: 3.188 kB / 432 MB, free: 41.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00333/0.3372, allocations: 2.028 MB / 434.1 MB, free: 40.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3372, allocations: 7.234 kB / 434.1 MB, free: 40.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001977/0.3392, allocations: 0.6071 MB / 434.7 MB, free: 39.94 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.3394, allocations: 131.2 kB / 434.8 MB, free: 39.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/0.3394, allocations: 3.953 kB / 434.8 MB, free: 39.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002649/0.3397, allocations: 28.81 kB / 434.8 MB, free: 39.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.292e-05/0.3398, allocations: 20.27 kB / 434.9 MB, free: 39.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.3398, allocations: 3.188 kB / 434.9 MB, free: 39.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002851/0.3401, allocations: 264.9 kB / 435.1 MB, free: 39.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3401, allocations: 0 / 435.1 MB, free: 39.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005088/0.3406, allocations: 97.47 kB / 435.2 MB, free: 39.72 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 (13): * Single equations (assignments): 12 * 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.002138/0.3427, allocations: 1.157 MB / 436.4 MB, free: 39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000954/0.3437, allocations: 0.5272 MB / 436.9 MB, free: 38.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3437, allocations: 3.312 kB / 436.9 MB, free: 38.76 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.344, allocations: 225.5 kB / 437.1 MB, free: 38.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004815/0.3445, allocations: 82.22 kB / 437.2 MB, free: 38.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004839/0.3494, allocations: 2.326 MB / 439.5 MB, free: 37.87 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.3496, allocations: 0.7871 MB / 440.3 MB, free: 37.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001948/0.3498, allocations: 47.5 kB / 440.4 MB, free: 37.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.35, allocations: 117.8 kB / 440.5 MB, free: 37.11 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.35, allocations: 0 / 440.5 MB, free: 37.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/0.3718, allocations: 9.255 MB / 449.7 MB, free: 36.45 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001414/0.3719, allocations: 208.6 kB / 449.9 MB, free: 36.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.969/2.341, allocations: 0 / 449.9 MB, free: 36.21 MB / 350.1 MB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe 2>&1) Environment - environmentSimulation: