Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.594/1.594, allocations: 288.4 MB / 303.6 MB, free: 8.129 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 176.5 kB / 372.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.262/1.262, allocations: 205.4 MB / 0.631 GB, free: 9.918 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007033/0.0007033, allocations: 98.28 kB / 0.7444 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000333/0.000333, allocations: 16.69 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1637, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02264/0.1864, allocations: 31.65 MB / 1.011 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0145/0.2009, allocations: 11.05 MB / 1.022 GB, free: 440 kB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.202, allocations: 139.2 kB / 1.022 GB, free: 300 kB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.2032, allocations: 0.6743 MB / 1.023 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002644/0.2058, allocations: 1.703 MB / 1.024 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003064/0.2089, allocations: 1.574 MB / 1.026 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.007847/0.2167, allocations: 9.698 MB / 1.035 GB, free: 2.609 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01695/0.2337, allocations: 14.13 MB / 1.049 GB, free: 4.367 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003352/0.2371, allocations: 2.654 MB / 1.052 GB, free: 1.703 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003367/0.2404, allocations: 3.473 MB / 1.055 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004634/0.2409, allocations: 328 kB / 1.055 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002704/0.2436, allocations: 1.821 MB / 1.057 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001862/0.2455, allocations: 2.451 MB / 1.06 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002169/0.2477, allocations: 2.611 MB / 1.062 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.3081/0.5558, allocations: 9.982 MB / 1.072 GB, free: 30.87 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.5559, allocations: 1.156 kB / 1.072 GB, free: 30.87 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.405e-06/0.5559, allocations: 0 / 1.072 GB, free: 30.87 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002716/0.5562, allocations: 0 / 1.072 GB, free: 30.87 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.007546/0.5637, allocations: 4.655 MB / 1.076 GB, free: 29.03 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.5638, allocations: 8.781 kB / 1.076 GB, free: 29.03 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001022/0.5648, allocations: 0.8086 MB / 1.077 GB, free: 28.95 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004713/0.5695, allocations: 1.058 MB / 1.078 GB, free: 28.66 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004912/0.5744, allocations: 3.261 MB / 1.081 GB, free: 28 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002745/0.5747, allocations: 413.5 kB / 1.082 GB, free: 27.99 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000813/0.5755, allocations: 0.5397 MB / 1.082 GB, free: 27.98 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01265/0.5882, allocations: 9.034 MB / 1.091 GB, free: 26.96 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001188/0.5883, allocations: 30.89 kB / 1.091 GB, free: 26.95 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005248/0.5889, allocations: 236.9 kB / 1.091 GB, free: 26.95 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000327/0.5892, allocations: 350 kB / 1.092 GB, free: 26.94 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009508/0.5987, allocations: 6.785 MB / 1.098 GB, free: 26.89 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02616/0.6249, allocations: 40.19 MB / 1.138 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002996/0.6279, allocations: 3.091 MB / 1.141 GB, free: 13.27 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002072/0.63, allocations: 1.964 MB / 1.143 GB, free: 12.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.801e-05/0.6301, allocations: 19.09 kB / 1.143 GB, free: 12.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.6301, allocations: 52.66 kB / 1.143 GB, free: 12.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=179): time 3.557e-06/0.6302, allocations: 0 / 1.143 GB, free: 12.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=182): time 0.02032/0.6505, allocations: 10.01 MB / 1.152 GB, free: 6.559 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.6505, allocations: 73.03 kB / 1.153 GB, free: 6.492 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/0.6519, allocations: 1.517 MB / 1.154 GB, free: 5.617 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.433e-05/0.652, allocations: 57.45 kB / 1.154 GB, free: 5.562 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001059/0.6531, allocations: 2.25 MB / 1.156 GB, free: 3.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003866/0.6535, allocations: 0.6274 MB / 1.157 GB, free: 3.051 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.6536, allocations: 47.28 kB / 1.157 GB, free: 3.016 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.6537, allocations: 397.9 kB / 1.157 GB, free: 2.645 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/0.655, allocations: 1.176 MB / 1.158 GB, free: 2.027 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001674/0.6567, allocations: 1.873 MB / 1.16 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00335/0.6601, allocations: 3.357 MB / 1.164 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.6601, allocations: 5.781 kB / 1.164 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005896/0.666, allocations: 4.565 MB / 1.168 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.666, allocations: 16.06 kB / 1.168 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.666, allocations: 25.48 kB / 1.168 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00319/0.6692, allocations: 1.585 MB / 1.17 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009596/0.6702, allocations: 357.9 kB / 1.17 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0182/0.6884, allocations: 17.05 MB / 1.187 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.6896, allocations: 115.9 kB / 1.187 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/0.6898, allocations: 104 kB / 1.187 GB, free: 11.19 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(12,31.2%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002464/0.6922, allocations: 1.892 MB / 1.189 GB, free: 9.312 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002502/0.6925, allocations: 225.4 kB / 1.189 GB, free: 9.09 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005839/0.6983, allocations: 4.08 MB / 1.193 GB, free: 5.043 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.6984, allocations: 16 kB / 1.193 GB, free: 5.027 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.961e-05/0.6984, allocations: 16 kB / 1.193 GB, free: 5.012 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/0.6984, allocations: 11.95 kB / 1.193 GB, free: 5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0125/0.7109, allocations: 9.447 MB / 1.202 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/0.7109, allocations: 4 kB / 1.202 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007173/0.7116, allocations: 182.2 kB / 1.202 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003071/0.7147, allocations: 1.35 MB / 1.204 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/0.7148, allocations: 36 kB / 1.204 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01725/0.7321, allocations: 15.97 MB / 1.219 GB, free: 9.41 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.7321, allocations: 4 kB / 1.219 GB, free: 9.406 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005522/0.7376, allocations: 4.047 MB / 1.223 GB, free: 5.328 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007666/0.7384, allocations: 0.5295 MB / 1.224 GB, free: 4.777 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002331/0.7387, allocations: 36 kB / 1.224 GB, free: 4.742 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008554/0.7395, allocations: 91.83 kB / 1.224 GB, free: 4.652 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002893/0.7398, allocations: 164.1 kB / 1.224 GB, free: 4.496 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.555e-05/0.7399, allocations: 48 kB / 1.224 GB, free: 4.449 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001053/0.741, allocations: 0.989 MB / 1.225 GB, free: 3.438 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.4e-07/0.741, allocations: 0 / 1.225 GB, free: 3.438 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002044/0.743, allocations: 0.9844 MB / 1.226 GB, free: 2.453 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005795/0.7488, allocations: 4.654 MB / 1.231 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.005434/0.7543, allocations: 4.285 MB / 1.235 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.7543, allocations: 0 / 1.235 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.003462/0.7578, allocations: 2.676 MB / 1.237 GB, free: 6.812 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00347/0.7612, allocations: 0.6968 MB / 1.238 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03407/0.7953, allocations: 22.87 MB / 1.26 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00432/0.7997, allocations: 3.576 MB / 1.264 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001298/0.801, allocations: 459.9 kB / 1.264 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001774/0.8028, allocations: 1.794 MB / 1.266 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of SimCode: time 5.81e-07/0.8028, allocations: 3.938 kB / 1.266 GB, free: 8.238 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.731/4.534, allocations: 70.92 MB / 1.335 GB, free: 2.078 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002229/4.534, allocations: 237 kB / 1.336 GB, free: 1.84 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.64/10.17, allocations: 0 / 1.336 GB, free: 1.84 MB / 0.8698 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)