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_N.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_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N",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.432/1.432, 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.001378/0.001378, allocations: 184 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.65/1.65, allocations: 205.4 MB / 0.5775 GB, free: 20.52 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.00128/0.00128, allocations: 92.36 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003406/0.0003406, allocations: 8.938 kB / 0.7963 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.251, allocations: 106.3 MB / 0.9002 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.518/6.769, allocations: 2.239 GB / 3.139 GB, free: 321.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003219/6.77, allocations: 107.3 kB / 3.139 GB, free: 321.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.3511/7.121, allocations: 163.5 MB / 3.299 GB, free: 182.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.976e-06/7.121, allocations: 0 / 3.299 GB, free: 182.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001952/7.121, allocations: 95.92 kB / 3.299 GB, free: 182.2 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: 1041 * Number of variables: 1041 Notification: Performance of Generate backend data structure: time 0.007447/7.128, allocations: 3.692 MB / 3.302 GB, free: 178.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/7.128, allocations: 12.03 kB / 3.302 GB, free: 178.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001044/7.13, allocations: 0.5553 MB / 3.303 GB, free: 177.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01078/7.14, allocations: 1.739 MB / 3.305 GB, free: 176.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005272/7.146, allocations: 2.211 MB / 3.307 GB, free: 173.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001769/7.146, allocations: 296 kB / 3.307 GB, free: 173.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000939/7.147, allocations: 392.2 kB / 3.308 GB, free: 173.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01211/7.159, allocations: 5.984 MB / 3.313 GB, free: 167.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-05/7.159, allocations: 7.938 kB / 3.313 GB, free: 167 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004893/7.159, allocations: 164 kB / 3.314 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001566/7.16, allocations: 194.9 kB / 3.314 GB, free: 166.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01502/7.175, allocations: 6.093 MB / 3.32 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03402/7.209, allocations: 22.86 MB / 3.342 GB, free: 136.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008457/7.217, allocations: 3.983 MB / 3.346 GB, free: 132.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008493/7.218, allocations: 0.5112 MB / 3.346 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004202/7.222, allocations: 2.025 MB / 3.348 GB, free: 129.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=240): time 4.709e-06/7.222, allocations: 0 / 3.348 GB, free: 129.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=243): time 0.01488/7.237, allocations: 7.001 MB / 3.355 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/7.237, allocations: 449.2 kB / 3.356 GB, free: 122.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002168/7.24, allocations: 1.521 MB / 3.357 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0005533/7.24, allocations: 73.64 kB / 3.357 GB, free: 120.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001769/7.242, allocations: 1.594 MB / 3.359 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.00123/7.243, allocations: 0.8086 MB / 3.36 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/7.243, allocations: 52 kB / 3.36 GB, free: 118 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001957/7.244, allocations: 411.3 kB / 3.36 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004034/7.248, allocations: 1.543 MB / 3.361 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005131/7.253, allocations: 2.262 MB / 3.364 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004786/7.258, allocations: 1.83 MB / 3.365 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.015e-05/7.258, allocations: 4 kB / 3.365 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01137/7.269, allocations: 4.111 MB / 3.369 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001944/7.271, allocations: 7.145 MB / 3.376 GB, free: 100 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-05/7.271, allocations: 16 kB / 3.376 GB, free: 100 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.775e-05/7.271, allocations: 39.95 kB / 3.377 GB, free: 99.98 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004725/7.276, allocations: 0.7996 MB / 3.377 GB, free: 99.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.627e-05/7.276, allocations: 43.86 kB / 3.377 GB, free: 99.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004113/7.28, allocations: 378.1 kB / 3.378 GB, free: 98.77 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009315/7.281, allocations: 135.9 kB / 3.378 GB, free: 98.63 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/7.281, allocations: 8 kB / 3.378 GB, free: 98.62 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01053/7.292, allocations: 3.69 MB / 3.381 GB, free: 94.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.628e-05/7.292, allocations: 20 kB / 3.381 GB, free: 94.91 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.701e-05/7.292, allocations: 32 kB / 3.381 GB, free: 94.88 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00406/7.296, allocations: 0.7571 MB / 3.382 GB, free: 94.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.648e-05/7.296, allocations: 43.86 kB / 3.382 GB, free: 94.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003632/7.3, allocations: 338.3 kB / 3.383 GB, free: 93.75 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006891/7.3, allocations: 135.9 kB / 3.383 GB, free: 93.62 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * 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 (336): * Single equations (assignments): 336 * 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.003635/7.304, allocations: 1.242 MB / 3.384 GB, free: 92.36 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009978/7.305, allocations: 237.1 kB / 3.384 GB, free: 92.13 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01108/7.316, allocations: 4.12 MB / 3.388 GB, free: 87.99 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.308e-05/7.316, allocations: 24 kB / 3.388 GB, free: 87.96 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-05/7.316, allocations: 4 kB / 3.388 GB, free: 87.96 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.864e-05/7.316, allocations: 11.95 kB / 3.388 GB, free: 87.95 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0176/7.334, allocations: 8.629 MB / 3.397 GB, free: 79.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/7.334, allocations: 0 / 3.397 GB, free: 79.23 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003611/7.338, allocations: 0.7178 MB / 3.397 GB, free: 78.51 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.852e-05/7.338, allocations: 19.94 kB / 3.397 GB, free: 78.49 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002538/7.338, allocations: 67.94 kB / 3.397 GB, free: 78.42 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.266e-05/7.338, allocations: 12 kB / 3.397 GB, free: 78.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/7.338, allocations: 7.984 kB / 3.397 GB, free: 78.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007943/7.346, allocations: 4.077 MB / 3.401 GB, free: 74.14 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001862/7.348, allocations: 0.7627 MB / 3.402 GB, free: 73.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004895/7.348, allocations: 48 kB / 3.402 GB, free: 73.31 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002682/7.351, allocations: 267.7 kB / 3.402 GB, free: 73.05 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002764/7.351, allocations: 157.7 kB / 3.403 GB, free: 72.89 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002074/7.352, allocations: 99.86 kB / 3.403 GB, free: 72.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001771/7.353, allocations: 1.243 MB / 3.404 GB, free: 71.53 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/7.353, allocations: 0 / 3.404 GB, free: 71.53 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00468/7.358, allocations: 1.312 MB / 3.405 GB, free: 70.22 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 (262): * Single equations (assignments): 260 * 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.009285/7.367, allocations: 5.774 MB / 3.411 GB, free: 64.42 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0145/7.382, allocations: 5.678 MB / 3.416 GB, free: 58.74 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.374e-05/7.382, allocations: 0 / 3.416 GB, free: 58.74 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00679/7.389, allocations: 1.823 MB / 3.418 GB, free: 56.92 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005088/7.394, allocations: 0.5126 MB / 3.419 GB, free: 56.41 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06157/7.456, allocations: 32 MB / 3.45 GB, free: 23.15 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002072/7.458, allocations: 2.527 MB / 3.452 GB, free: 20.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005936/7.464, allocations: 1.252 MB / 3.454 GB, free: 19.34 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002603/7.466, allocations: 1.46 MB / 3.455 GB, free: 17.88 MB / 0.8855 GB Notification: Performance of SimCode: time 1.433e-06/7.466, allocations: 0 / 3.455 GB, free: 17.88 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5909/8.057, allocations: 63.2 MB / 3.517 GB, free: 239.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/8.057, allocations: 256.7 kB / 3.517 GB, free: 238.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.717/11.77, allocations: 0 / 3.517 GB, free: 238.7 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1)