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.357/1.357, allocations: 251.9 MB / 266.8 MB, free: 11 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.001109/0.001109, allocations: 175.7 kB / 326.5 MB, free: 2.238 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.81/1.81, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.001022/0.001022, allocations: 90.42 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003548, allocations: 13.31 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2542, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels): time 0.02081/0.275, allocations: 22.9 MB / 0.9225 GB, free: 40.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1731/0.4482, allocations: 133.8 MB / 1.053 GB, free: 2.691 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003633/0.4519, allocations: 63.69 kB / 1.053 GB, free: 2.629 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00261/0.4545, allocations: 436.7 kB / 1.054 GB, free: 2.199 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007877/0.4624, allocations: 1.318 MB / 1.055 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.5883/1.051, allocations: 1.847 MB / 1.057 GB, free: 9.43 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01053/1.061, allocations: 3.213 MB / 1.06 GB, free: 9.414 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01625/1.078, allocations: 6.896 MB / 1.067 GB, free: 8.418 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004875/1.083, allocations: 1.581 MB / 1.068 GB, free: 8.414 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005409/1.088, allocations: 1.791 MB / 1.07 GB, free: 8.402 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001966/1.09, allocations: 198.6 kB / 1.07 GB, free: 8.402 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003875/1.094, allocations: 0.5745 MB / 1.071 GB, free: 8.402 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.003769/1.098, allocations: 1.39 MB / 1.072 GB, free: 8.402 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.003292/1.101, allocations: 0.8691 MB / 1.073 GB, free: 8.371 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01241/1.113, allocations: 7.217 MB / 1.08 GB, free: 8.027 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/1.114, allocations: 1.125 kB / 1.08 GB, free: 8.027 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.426e-06/1.114, allocations: 0 / 1.08 GB, free: 8.027 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0005172/1.114, allocations: 0 / 1.08 GB, free: 8.027 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1228 * Number of variables: 1228 Notification: Performance of Generate backend data structure: time 0.0172/1.131, allocations: 4.004 MB / 1.084 GB, free: 6.207 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/1.131, allocations: 8.031 kB / 1.084 GB, free: 6.207 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00354/1.135, allocations: 0.6504 MB / 1.085 GB, free: 6.141 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01445/1.149, allocations: 2.075 MB / 1.087 GB, free: 5.828 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008262/1.158, allocations: 2.51 MB / 1.089 GB, free: 5.305 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003761/1.158, allocations: 354.5 kB / 1.089 GB, free: 5.293 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002461/1.161, allocations: 465.1 kB / 1.09 GB, free: 5.285 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02385/1.184, allocations: 7.052 MB / 1.097 GB, free: 3.883 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003458/1.185, allocations: 15.62 kB / 1.097 GB, free: 3.879 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002684/1.188, allocations: 199.8 kB / 1.097 GB, free: 3.879 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003908/1.188, allocations: 258 kB / 1.097 GB, free: 3.848 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02191/1.21, allocations: 6.878 MB / 1.104 GB, free: 2.469 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05794/1.268, allocations: 26.98 MB / 1.13 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01189/1.28, allocations: 4.288 MB / 1.134 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001071/1.281, allocations: 0.5172 MB / 1.135 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007008/1.288, allocations: 2.277 MB / 1.137 GB, free: 0 / 0.7136 GB Notification: Performance of pre-optimization done (n=254): time 8.606e-06/1.288, allocations: 0 / 1.137 GB, free: 0 / 0.7136 GB Notification: Performance of matching and sorting (n=257): time 0.02442/1.313, allocations: 7.913 MB / 1.145 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002641/1.313, allocations: 392.5 kB / 1.145 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004214/1.317, allocations: 1.792 MB / 1.147 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.001038/1.318, allocations: 70.36 kB / 1.147 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002519/1.321, allocations: 1.83 MB / 1.149 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001782/1.323, allocations: 0.8566 MB / 1.15 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000782/1.323, allocations: 53.75 kB / 1.15 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003656/1.324, allocations: 411.3 kB / 1.15 GB, free: 9.664 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005058/1.329, allocations: 1.663 MB / 1.152 GB, free: 8.578 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005831/1.335, allocations: 2.368 MB / 1.154 GB, free: 6.578 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005687/1.34, allocations: 1.948 MB / 1.156 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.796e-05/1.34, allocations: 4 kB / 1.156 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01356/1.354, allocations: 4.377 MB / 1.16 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.00282/1.357, allocations: 6.947 MB / 1.167 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.866e-05/1.357, allocations: 20 kB / 1.167 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.724e-05/1.357, allocations: 32 kB / 1.167 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005165/1.362, allocations: 0.8259 MB / 1.168 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.032e-05/1.362, allocations: 48.06 kB / 1.168 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004624/1.367, allocations: 400.2 kB / 1.168 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001013/1.368, allocations: 141.1 kB / 1.168 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/1.368, allocations: 4 kB / 1.168 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01259/1.381, allocations: 3.831 MB / 1.172 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001065/1.381, allocations: 17.5 kB / 1.172 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.753e-05/1.381, allocations: 34.81 kB / 1.172 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004602/1.386, allocations: 0.7807 MB / 1.173 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-05/1.386, allocations: 40.89 kB / 1.173 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00416/1.39, allocations: 344.8 kB / 1.173 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008539/1.391, allocations: 141 kB / 1.173 GB, free: 5.914 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (347): * Single equations (assignments): 347 * 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.005035/1.396, allocations: 1.344 MB / 1.175 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00143/1.397, allocations: 245 kB / 1.175 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01419/1.411, allocations: 4.535 MB / 1.179 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.791e-05/1.412, allocations: 28 kB / 1.179 GB, free: 1.711 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.057e-05/1.412, allocations: 7.984 kB / 1.179 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.882e-05/1.412, allocations: 11.95 kB / 1.179 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02606/1.438, allocations: 9.623 MB / 1.189 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.032e-05/1.438, allocations: 4 kB / 1.189 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004642/1.442, allocations: 0.7812 MB / 1.19 GB, free: 10.51 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.201e-05/1.443, allocations: 14.91 kB / 1.19 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000731/1.443, allocations: 77.81 kB / 1.19 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.814e-05/1.443, allocations: 12 kB / 1.19 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-06/1.443, allocations: 5.844 kB / 1.19 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0118/1.455, allocations: 4.478 MB / 1.194 GB, free: 7.043 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002746/1.458, allocations: 0.811 MB / 1.195 GB, free: 6.457 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001252/1.459, allocations: 62.11 kB / 1.195 GB, free: 6.434 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003717/1.463, allocations: 286.4 kB / 1.195 GB, free: 6.188 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005691/1.464, allocations: 171.3 kB / 1.195 GB, free: 6.039 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004412/1.464, allocations: 94 kB / 1.195 GB, free: 5.965 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002856/1.467, allocations: 1.282 MB / 1.197 GB, free: 5.035 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.11e-07/1.467, allocations: 0 / 1.197 GB, free: 5.035 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.008321/1.475, allocations: 1.345 MB / 1.198 GB, free: 3.82 MB / 0.7605 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.0148/1.49, allocations: 6.11 MB / 1.204 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01837/1.509, allocations: 6.077 MB / 1.21 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.689e-05/1.509, allocations: 5.875 kB / 1.21 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.005377/1.514, allocations: 2.01 MB / 1.212 GB, free: 9.605 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004193/1.518, allocations: 0.5795 MB / 1.212 GB, free: 9.172 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06844/1.587, allocations: 33.82 MB / 1.246 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004838/1.592, allocations: 2.773 MB / 1.248 GB, free: 7.809 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.008774/1.6, allocations: 1.278 MB / 1.249 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004264/1.605, allocations: 1.719 MB / 1.251 GB, free: 6.152 MB / 0.8073 GB Notification: Performance of SimCode: time 8.52e-07/1.605, allocations: 0 / 1.251 GB, free: 6.152 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1671/1.772, allocations: 68.83 MB / 1.318 GB, free: 1.887 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/1.772, allocations: 255.2 kB / 1.319 GB, free: 1.539 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.165/5.937, allocations: 0 / 1.319 GB, free: 1.539 MB / 0.8698 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)