Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.36/1.36, allocations: 251.9 MB / 266.9 MB, free: 10.88 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001128/0.001128, allocations: 175.2 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.4 MB / 0.5775 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008113/0.0008114, allocations: 94.23 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003143/0.0003144, allocations: 10.69 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2066, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.344/6.55, allocations: 2.238 GB / 3.138 GB, free: 320.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004678/6.551, allocations: 107.7 kB / 3.139 GB, free: 320.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.4399/6.991, allocations: 186.4 MB / 3.321 GB, free: 158.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.647e-06/6.991, allocations: 0 / 3.321 GB, free: 158.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0005264/6.991, allocations: 107.9 kB / 3.321 GB, free: 158.6 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1124 * Number of variables: 1124 Notification: Performance of Generate backend data structure: time 0.01617/7.008, allocations: 3.938 MB / 3.324 GB, free: 154.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/7.008, allocations: 8.031 kB / 3.324 GB, free: 154.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003598/7.011, allocations: 0.6004 MB / 3.325 GB, free: 153.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01326/7.025, allocations: 1.813 MB / 3.327 GB, free: 152.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009018/7.034, allocations: 2.411 MB / 3.329 GB, free: 149.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004641/7.034, allocations: 320.5 kB / 3.329 GB, free: 149.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00272/7.037, allocations: 419.9 kB / 3.33 GB, free: 148.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02452/7.061, allocations: 6.453 MB / 3.336 GB, free: 142.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003464/7.062, allocations: 7.938 kB / 3.336 GB, free: 142.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002642/7.065, allocations: 180 kB / 3.336 GB, free: 142 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003198/7.065, allocations: 215.4 kB / 3.337 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01965/7.085, allocations: 6.458 MB / 3.343 GB, free: 135.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05157/7.136, allocations: 26.2 MB / 3.368 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01051/7.147, allocations: 4.277 MB / 3.373 GB, free: 103.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/7.148, allocations: 0.5151 MB / 3.373 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005619/7.154, allocations: 2.225 MB / 3.375 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=254): time 1.094e-05/7.154, allocations: 0 / 3.375 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=257): time 0.02158/7.175, allocations: 7.712 MB / 3.383 GB, free: 92.61 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001732/7.175, allocations: 449.2 kB / 3.383 GB, free: 92.07 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003626/7.179, allocations: 1.581 MB / 3.385 GB, free: 90.45 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0008367/7.18, allocations: 73.7 kB / 3.385 GB, free: 90.37 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001976/7.182, allocations: 1.716 MB / 3.387 GB, free: 88.63 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001509/7.183, allocations: 0.8548 MB / 3.387 GB, free: 87.77 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000763/7.184, allocations: 52 kB / 3.387 GB, free: 87.71 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002752/7.185, allocations: 415.5 kB / 3.388 GB, free: 87.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00436/7.189, allocations: 1.661 MB / 3.389 GB, free: 85.64 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004895/7.194, allocations: 2.371 MB / 3.392 GB, free: 82.98 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004822/7.199, allocations: 1.945 MB / 3.394 GB, free: 81.01 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.28e-05/7.199, allocations: 4 kB / 3.394 GB, free: 81.01 MB / 0.8855 GB Notification: Performance of matching and sorting (n=346) (initialization): time 0.01201/7.211, allocations: 4.362 MB / 3.398 GB, free: 76.59 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.002131/7.213, allocations: 6.829 MB / 3.405 GB, free: 69.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.174e-05/7.213, allocations: 16 kB / 3.405 GB, free: 69.12 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.582e-05/7.213, allocations: 32 kB / 3.405 GB, free: 69.09 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004898/7.218, allocations: 0.8384 MB / 3.405 GB, free: 68.25 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.785e-05/7.218, allocations: 39.86 kB / 3.406 GB, free: 68.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004491/7.223, allocations: 398.1 kB / 3.406 GB, free: 67.82 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007961/7.223, allocations: 135.9 kB / 3.406 GB, free: 67.68 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/7.223, allocations: 4 kB / 3.406 GB, free: 67.68 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01204/7.236, allocations: 3.825 MB / 3.41 GB, free: 63.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.76e-05/7.236, allocations: 20 kB / 3.41 GB, free: 63.79 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.263e-05/7.236, allocations: 40.09 kB / 3.41 GB, free: 63.75 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004836/7.241, allocations: 0.7761 MB / 3.411 GB, free: 62.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001121/7.241, allocations: 39.88 kB / 3.411 GB, free: 62.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005055/7.246, allocations: 358.2 kB / 3.411 GB, free: 62.59 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009372/7.247, allocations: 127.9 kB / 3.411 GB, free: 62.46 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (346): * Single equations (assignments): 346 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005356/7.252, allocations: 1.328 MB / 3.412 GB, free: 61.12 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001522/7.254, allocations: 241 kB / 3.413 GB, free: 60.88 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01484/7.269, allocations: 4.521 MB / 3.417 GB, free: 56.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.621e-05/7.269, allocations: 28 kB / 3.417 GB, free: 56.27 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-05/7.269, allocations: 3.953 kB / 3.417 GB, free: 56.27 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.137e-05/7.269, allocations: 15.94 kB / 3.417 GB, free: 56.25 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02427/7.293, allocations: 9.489 MB / 3.426 GB, free: 46.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.422e-05/7.293, allocations: 4 kB / 3.426 GB, free: 46.61 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004632/7.298, allocations: 0.784 MB / 3.427 GB, free: 45.82 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.634e-05/7.298, allocations: 8 kB / 3.427 GB, free: 45.82 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006922/7.299, allocations: 71.94 kB / 3.427 GB, free: 45.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.194e-05/7.299, allocations: 12 kB / 3.427 GB, free: 45.73 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/7.299, allocations: 0 / 3.427 GB, free: 45.73 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01141/7.31, allocations: 4.462 MB / 3.432 GB, free: 41.09 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002879/7.313, allocations: 0.8171 MB / 3.432 GB, free: 40.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001467/7.315, allocations: 55.98 kB / 3.432 GB, free: 40.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004425/7.319, allocations: 295.6 kB / 3.433 GB, free: 39.91 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006206/7.32, allocations: 157.8 kB / 3.433 GB, free: 39.75 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004906/7.32, allocations: 95.92 kB / 3.433 GB, free: 39.66 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003503/7.324, allocations: 1.301 MB / 3.434 GB, free: 38.34 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.01e-07/7.324, allocations: 0 / 3.434 GB, free: 38.34 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.008176/7.332, allocations: 1.406 MB / 3.436 GB, free: 36.93 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (276): * Single equations (assignments): 274 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01273/7.345, allocations: 6.152 MB / 3.442 GB, free: 30.75 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01461/7.359, allocations: 6.055 MB / 3.448 GB, free: 24.67 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.55e-05/7.36, allocations: 0.5 kB / 3.448 GB, free: 24.67 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004445/7.364, allocations: 2.015 MB / 3.449 GB, free: 22.65 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004189/7.368, allocations: 0.5726 MB / 3.45 GB, free: 22.08 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6254/7.994, allocations: 33.02 MB / 3.482 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004605/7.998, allocations: 2.688 MB / 3.485 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.007343/8.006, allocations: 1.275 MB / 3.486 GB, free: 230 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003965/8.01, allocations: 1.6 MB / 3.488 GB, free: 230 MB / 0.8855 GB Notification: Performance of SimCode: time 2.043e-06/8.01, allocations: 0 / 3.488 GB, free: 230 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1223/8.132, allocations: 68.19 MB / 3.554 GB, free: 227.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/8.132, allocations: 256.3 kB / 3.555 GB, free: 226.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.999/12.13, allocations: 4 kB / 3.555 GB, free: 226.9 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1)