Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.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.SimplePlantSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimplePlantSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric",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.000909/0.0009089, allocations: 91.61 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.001112/0.001112, 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.443/1.443, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1635/0.1635, allocations: 5.37 MB / 296.4 MB, free: 3.867 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003399, allocations: 11.98 kB / 362 MB, free: 14.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1059, allocations: 51.6 MB / 413.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.003435/0.1094, allocations: 3.028 MB / 416.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.1113, allocations: 1.196 MB / 417.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.1115, allocations: 11.94 kB / 417.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004452/0.1119, allocations: 195 kB / 418 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.1122, allocations: 135 kB / 418.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001367/0.1123, allocations: 71.91 kB / 418.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004627/0.1128, allocations: 0.5326 MB / 418.8 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.113, allocations: 90.03 kB / 418.9 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.1132, allocations: 183.2 kB / 419 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002532/0.1134, allocations: 231 kB / 419.3 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.66e-05/0.1135, allocations: 24 kB / 419.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.7e-05/0.1136, allocations: 36 kB / 419.3 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.716e-05/0.1137, allocations: 79.64 kB / 419.4 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.714e-05/0.1138, allocations: 97.45 kB / 419.5 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003796/0.1141, allocations: 414.9 kB / 419.9 MB, free: 4.172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.1141, allocations: 4 kB / 419.9 MB, free: 4.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1142, allocations: 0 / 419.9 MB, free: 4.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1142, allocations: 0 / 419.9 MB, free: 4.168 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001622/0.1158, allocations: 0.7829 MB / 420.7 MB, free: 3.336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.1158, allocations: 8.031 kB / 420.7 MB, free: 3.328 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.352e-05/0.1159, allocations: 66.55 kB / 420.8 MB, free: 3.254 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.631e-05/0.116, allocations: 43.44 kB / 420.8 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.1172, allocations: 0.509 MB / 421.3 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.1172, allocations: 24.56 kB / 421.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.557e-05/0.1173, allocations: 24 kB / 421.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007285/0.118, allocations: 369.2 kB / 421.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.118, allocations: 4 kB / 421.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.203e-05/0.1181, allocations: 15.95 kB / 421.7 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.1181, allocations: 8 kB / 421.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008958/0.119, allocations: 389.9 kB / 422.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002198/0.1212, allocations: 1.426 MB / 423.5 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1977/0.3189, allocations: 454.8 kB / 424 MB, free: 45.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005949/0.3195, allocations: 168.3 kB / 424.2 MB, free: 45.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.551e-05/0.3196, allocations: 8.141 kB / 424.2 MB, free: 45.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.3196, allocations: 38.83 kB / 424.2 MB, free: 45.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.455e-06/0.3197, allocations: 0 / 424.2 MB, free: 45.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.005723/0.3254, allocations: 1.089 MB / 425.3 MB, free: 45.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.3255, allocations: 55.88 kB / 425.3 MB, free: 45.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008444/0.3263, allocations: 386.8 kB / 425.7 MB, free: 44.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.145e-05/0.3264, allocations: 32.83 kB / 425.8 MB, free: 44.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002664/0.3267, allocations: 223.7 kB / 426 MB, free: 44.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.129e-05/0.3268, allocations: 73.3 kB / 426 MB, free: 44.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.3268, allocations: 3.375 kB / 426 MB, free: 44.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.327, allocations: 350.6 kB / 426.4 MB, free: 44.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00041/0.3274, allocations: 156.7 kB / 426.5 MB, free: 44.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004324/0.3279, allocations: 195.3 kB / 426.7 MB, free: 44.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004496/0.3283, allocations: 162.8 kB / 426.9 MB, free: 44.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3284, allocations: 0 / 426.9 MB, free: 44.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.003753/0.3321, allocations: 0.866 MB / 427.8 MB, free: 44.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/0.3322, allocations: 14.08 kB / 427.8 MB, free: 44.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.3322, allocations: 0 / 427.8 MB, free: 44.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/0.3333, allocations: 338.5 kB / 428.1 MB, free: 44.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.3336, allocations: 59.77 kB / 428.2 MB, free: 44.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00697/0.3406, allocations: 4.004 MB / 432.2 MB, free: 41.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005224/0.3411, allocations: 69.09 kB / 432.2 MB, free: 41.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/0.3412, allocations: 12.86 kB / 432.2 MB, free: 41.52 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 (31): * Single equations (assignments): 29 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002145/0.3414, allocations: 153.8 kB / 432.4 MB, free: 41.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.617e-05/0.3415, allocations: 38.38 kB / 432.4 MB, free: 41.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.247e-05/0.3416, allocations: 41.2 kB / 432.5 MB, free: 41.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.3416, allocations: 3.219 kB / 432.5 MB, free: 41.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3416, allocations: 0 / 432.5 MB, free: 41.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.3416, allocations: 3.422 kB / 432.5 MB, free: 41.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003787/0.3454, allocations: 1.224 MB / 433.7 MB, free: 41.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.3454, allocations: 9.766 kB / 433.7 MB, free: 41.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.3455, allocations: 36.67 kB / 433.7 MB, free: 41.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005669/0.3461, allocations: 265.2 kB / 434 MB, free: 40.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.3461, allocations: 10.64 kB / 434 MB, free: 40.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005203/0.3513, allocations: 2.416 MB / 436.4 MB, free: 39.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3514, allocations: 4.062 kB / 436.4 MB, free: 39.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003208/0.3546, allocations: 0.811 MB / 437.2 MB, free: 39.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001612/0.3548, allocations: 137 kB / 437.4 MB, free: 39.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.811e-05/0.3548, allocations: 2.312 kB / 437.4 MB, free: 39.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003058/0.3551, allocations: 36.73 kB / 437.4 MB, free: 39.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.043e-05/0.3552, allocations: 22.58 kB / 437.4 MB, free: 39.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.3552, allocations: 11.72 kB / 437.5 MB, free: 39.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002661/0.3555, allocations: 276.7 kB / 437.7 MB, free: 39.26 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3555, allocations: 0 / 437.7 MB, free: 39.26 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005219/0.356, allocations: 108.2 kB / 437.8 MB, free: 39.25 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 (18): * Single equations (assignments): 17 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00338/0.3594, allocations: 1.349 MB / 439.2 MB, free: 38.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.3606, allocations: 0.6017 MB / 439.8 MB, free: 38.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3606, allocations: 11.22 kB / 439.8 MB, free: 38.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004292/0.3611, allocations: 286.9 kB / 440.1 MB, free: 38.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005094/0.3616, allocations: 84.8 kB / 440.2 MB, free: 38.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006313/0.3679, allocations: 2.685 MB / 442.8 MB, free: 36.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.3681, allocations: 0.7993 MB / 443.6 MB, free: 36.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001973/0.3683, allocations: 45.56 kB / 443.7 MB, free: 36.13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.3685, allocations: 125.1 kB / 443.8 MB, free: 36.04 MB / 350.1 MB Notification: Performance of SimCode: time 1.212e-06/0.3685, allocations: 0 / 443.8 MB, free: 36.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02205/0.3905, allocations: 10.9 MB / 454.7 MB, free: 35.27 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001441/0.3907, allocations: 205.8 kB / 454.9 MB, free: 35.03 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.056/2.447, allocations: 0 / 454.9 MB, free: 35.03 MB / 350.1 MB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe 2>&1) Environment - environmentSimulation: