Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009029/0.0009028, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001066/0.001066, allocations: 193.9 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.59/1.59, allocations: 292.3 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 65.47 kB / 0.6709 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2264, allocations: 114.6 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03436/0.2608, allocations: 34.38 MB / 0.8164 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01724/0.2781, allocations: 11.63 MB / 0.8277 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00347/0.2816, allocations: 143.2 kB / 0.8279 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.009046/0.2907, allocations: 3.977 MB / 0.8318 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0055/0.2962, allocations: 1.871 MB / 0.8336 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005561/0.3018, allocations: 2.178 MB / 0.8357 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0135/0.3153, allocations: 12.4 MB / 0.8478 GB, free: 11.15 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01608/0.3314, allocations: 12.32 MB / 0.8599 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005152/0.3366, allocations: 3.184 MB / 0.863 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005948/0.3426, allocations: 4.272 MB / 0.8671 GB, free: 7.246 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001041/0.3436, allocations: 0.543 MB / 0.8677 GB, free: 6.703 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004089/0.3477, allocations: 2.137 MB / 0.8698 GB, free: 4.562 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002736/0.3505, allocations: 2.822 MB / 0.8725 GB, free: 1.734 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003901/0.3544, allocations: 3.131 MB / 0.8756 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01151/0.3659, allocations: 11.83 MB / 0.8871 GB, free: 2.723 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.3659, allocations: 0 / 0.8871 GB, free: 2.723 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.492e-06/0.3659, allocations: 0 / 0.8871 GB, free: 2.723 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002614/0.3662, allocations: 0 / 0.8871 GB, free: 2.723 MB / 0.7012 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.01258/0.3788, allocations: 5.791 MB / 0.8928 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.231e-05/0.3789, allocations: 12.03 kB / 0.8928 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001097/0.38, allocations: 0.805 MB / 0.8936 GB, free: 12.03 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005484/0.3855, allocations: 1.06 MB / 0.8946 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004881/0.3904, allocations: 3.266 MB / 0.8978 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002457/0.3906, allocations: 407.5 kB / 0.8982 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007296/0.3913, allocations: 0.5432 MB / 0.8987 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01294/0.4043, allocations: 9.075 MB / 0.9076 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001149/0.4044, allocations: 31.69 kB / 0.9076 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005036/0.4049, allocations: 236 kB / 0.9078 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003303/0.4053, allocations: 350.8 kB / 0.9082 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009779/0.4151, allocations: 6.826 MB / 0.9148 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4338/0.8489, allocations: 40.1 MB / 0.954 GB, free: 93.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003429/0.8523, allocations: 3.122 MB / 0.9571 GB, free: 91.31 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002988/0.8553, allocations: 1.97 MB / 0.959 GB, free: 90.55 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001324/0.8555, allocations: 18.28 kB / 0.959 GB, free: 90.55 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.8555, allocations: 52.53 kB / 0.959 GB, free: 90.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=179): time 3.747e-06/0.8555, allocations: 0 / 0.959 GB, free: 90.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=182): time 0.02455/0.8801, allocations: 9.983 MB / 0.9688 GB, free: 86.36 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.8802, allocations: 70.19 kB / 0.9689 GB, free: 86.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002638/0.8828, allocations: 1.533 MB / 0.9704 GB, free: 85.42 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001073/0.8829, allocations: 51.55 kB / 0.9704 GB, free: 85.37 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001311/0.8842, allocations: 2.252 MB / 0.9726 GB, free: 83.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004992/0.8847, allocations: 0.6314 MB / 0.9732 GB, free: 82.86 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006809/0.8854, allocations: 407.9 kB / 0.9736 GB, free: 82.63 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.528e-05/0.8855, allocations: 306.6 kB / 0.9739 GB, free: 82.33 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001648/0.8871, allocations: 1.174 MB / 0.975 GB, free: 81.71 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001956/0.8891, allocations: 1.888 MB / 0.9769 GB, free: 80.16 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003798/0.8929, allocations: 3.364 MB / 0.9802 GB, free: 77.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.258e-05/0.893, allocations: 6.188 kB / 0.9802 GB, free: 77.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.006919/0.8999, allocations: 4.579 MB / 0.9847 GB, free: 75.35 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.959e-05/0.8999, allocations: 19.97 kB / 0.9847 GB, free: 75.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-05/0.9, allocations: 23.59 kB / 0.9847 GB, free: 75.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003439/0.9034, allocations: 1.598 MB / 0.9863 GB, free: 74.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/0.9044, allocations: 347.9 kB / 0.9866 GB, free: 74.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01744/0.9219, allocations: 17.02 MB / 1.003 GB, free: 62.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.9235, allocations: 120.9 kB / 1.003 GB, free: 62.15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002381/0.9238, allocations: 91.94 kB / 1.003 GB, free: 62.14 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002964/0.9267, allocations: 1.895 MB / 1.005 GB, free: 60.25 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004828/0.9272, allocations: 225.3 kB / 1.005 GB, free: 60.03 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005724/0.9329, allocations: 4.098 MB / 1.009 GB, free: 55.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.933, allocations: 18.75 kB / 1.01 GB, free: 55.89 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.311e-05/0.933, allocations: 16.38 kB / 1.01 GB, free: 55.87 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.933, allocations: 11.95 kB / 1.01 GB, free: 55.86 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01358/0.9466, allocations: 9.478 MB / 1.019 GB, free: 46.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.9467, allocations: 12.09 kB / 1.019 GB, free: 46.17 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006986/0.9474, allocations: 179.7 kB / 1.019 GB, free: 45.99 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002938/0.9503, allocations: 1.359 MB / 1.02 GB, free: 44.62 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/0.9504, allocations: 32 kB / 1.02 GB, free: 44.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01511/0.9656, allocations: 15.93 MB / 1.036 GB, free: 28.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.9656, allocations: 7.938 kB / 1.036 GB, free: 28.13 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005294/0.9709, allocations: 4.073 MB / 1.04 GB, free: 23.96 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/0.9719, allocations: 0.5295 MB / 1.04 GB, free: 23.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004553/0.9724, allocations: 35.98 kB / 1.04 GB, free: 23.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009846/0.9733, allocations: 91.64 kB / 1.041 GB, free: 23.29 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003105/0.9737, allocations: 161.7 kB / 1.041 GB, free: 23.13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.531e-05/0.9738, allocations: 44 kB / 1.041 GB, free: 23.09 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001199/0.975, allocations: 1.001 MB / 1.042 GB, free: 22.07 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.975, allocations: 0 / 1.042 GB, free: 22.07 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002933/0.9779, allocations: 0.9922 MB / 1.043 GB, free: 21.07 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005379/0.9833, allocations: 4.667 MB / 1.047 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005479/0.9888, allocations: 4.275 MB / 1.051 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.9888, allocations: 4 kB / 1.051 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003232/0.9921, allocations: 2.661 MB / 1.054 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003094/0.9952, allocations: 0.7107 MB / 1.055 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04445/1.04, allocations: 30.91 MB / 1.085 GB, free: 7.676 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004943/1.045, allocations: 3.573 MB / 1.088 GB, free: 4.066 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001494/1.046, allocations: 467.8 kB / 1.089 GB, free: 3.605 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002093/1.048, allocations: 1.788 MB / 1.091 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of SimCode: time 1.502e-06/1.048, allocations: 0 / 1.091 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1365/1.185, allocations: 71.03 MB / 1.16 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/1.185, allocations: 240.4 kB / 1.16 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.785/3.97, allocations: 0 / 1.16 GB, free: 11.2 MB / 0.8419 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)