Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.0009578/0.0009578, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005897/0.005897, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.309/1.309, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.632/1.632, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005727/0.0005727, allocations: 17.19 kB / 0.6744 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2266, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03559/0.2622, allocations: 36.6 MB / 0.8237 GB, free: 6.762 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01607/0.2783, allocations: 10.96 MB / 0.8344 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002718/0.2811, allocations: 127.3 kB / 0.8346 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001808/0.2829, allocations: 0.7791 MB / 0.8353 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004687/0.2876, allocations: 2.1 MB / 0.8374 GB, free: 8.754 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003781/0.2914, allocations: 1.786 MB / 0.8391 GB, free: 6.969 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01226/0.3037, allocations: 13.17 MB / 0.852 GB, free: 9.762 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0204/0.3241, allocations: 14.45 MB / 0.8661 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005032/0.3292, allocations: 2.836 MB / 0.8689 GB, free: 8.367 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00516/0.3344, allocations: 3.881 MB / 0.8727 GB, free: 4.473 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007229/0.3351, allocations: 344 kB / 0.873 GB, free: 4.137 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002582/0.3377, allocations: 1.326 MB / 0.8743 GB, free: 2.809 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002225/0.3399, allocations: 2.533 MB / 0.8767 GB, free: 276 kB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003202/0.3431, allocations: 2.96 MB / 0.8796 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01039/0.3535, allocations: 11.67 MB / 0.891 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3536, allocations: 0 / 0.891 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of FrontEnd: time 4.368e-06/0.3536, allocations: 0 / 0.891 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003076/0.3539, allocations: 7.938 kB / 0.891 GB, free: 1.57 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01038/0.3643, allocations: 5.086 MB / 0.896 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.3643, allocations: 12.03 kB / 0.896 GB, free: 12.4 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001546/0.3659, allocations: 0.8294 MB / 0.8968 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004837/0.3707, allocations: 1.067 MB / 0.8979 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005225/0.376, allocations: 3.427 MB / 0.9012 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00026/0.3762, allocations: 423.8 kB / 0.9016 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007871/0.377, allocations: 0.5472 MB / 0.9022 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4034/0.7804, allocations: 9.369 MB / 0.9113 GB, free: 60.54 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001315/0.7806, allocations: 25.03 kB / 0.9113 GB, free: 60.54 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005471/0.7812, allocations: 246.2 kB / 0.9116 GB, free: 60.54 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006088/0.7818, allocations: 424.5 kB / 0.912 GB, free: 60.53 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01119/0.793, allocations: 7.119 MB / 0.9189 GB, free: 60.48 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03611/0.8291, allocations: 41.37 MB / 0.9593 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004068/0.8332, allocations: 3.107 MB / 0.9624 GB, free: 31.96 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00248/0.8357, allocations: 2.123 MB / 0.9644 GB, free: 31.14 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.384e-05/0.8358, allocations: 25.19 kB / 0.9645 GB, free: 31.14 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.577e-05/0.8359, allocations: 63.56 kB / 0.9645 GB, free: 31.07 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=209): time 3.777e-06/0.8359, allocations: 0 / 0.9645 GB, free: 31.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=212): time 0.0209/0.8568, allocations: 10.61 MB / 0.9749 GB, free: 25.45 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.8569, allocations: 83.78 kB / 0.975 GB, free: 25.38 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002203/0.8591, allocations: 2.001 MB / 0.9769 GB, free: 24.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001241/0.8592, allocations: 63.27 kB / 0.977 GB, free: 24.24 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001024/0.8602, allocations: 2.4 MB / 0.9793 GB, free: 22.13 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004229/0.8607, allocations: 0.7338 MB / 0.98 GB, free: 21.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002391/0.8609, allocations: 211.1 kB / 0.9802 GB, free: 21.37 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.521e-05/0.8609, allocations: 301.1 kB / 0.9805 GB, free: 21.07 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001641/0.8626, allocations: 1.374 MB / 0.9819 GB, free: 20.36 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/0.8645, allocations: 2.106 MB / 0.9839 GB, free: 18.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003545/0.868, allocations: 3.771 MB / 0.9876 GB, free: 16.23 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/0.868, allocations: 3.969 kB / 0.9876 GB, free: 16.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006343/0.8744, allocations: 5.067 MB / 0.9926 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.8744, allocations: 15.06 kB / 0.9926 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/0.8744, allocations: 21 kB / 0.9926 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002951/0.8774, allocations: 1.588 MB / 0.9941 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.8789, allocations: 455.8 kB / 0.9946 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01675/0.8956, allocations: 17.11 MB / 1.011 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00213/0.8978, allocations: 155.8 kB / 1.011 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001795/0.898, allocations: 104 kB / 1.012 GB, free: 12.02 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003251/0.9012, allocations: 1.942 MB / 1.013 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005196/0.9018, allocations: 288.6 kB / 1.014 GB, free: 9.805 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006926/0.9087, allocations: 4.449 MB / 1.018 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.9087, allocations: 20.09 kB / 1.018 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.78e-05/0.9087, allocations: 16 kB / 1.018 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.83e-05/0.9088, allocations: 19.31 kB / 1.018 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01357/0.9223, allocations: 9.676 MB / 1.028 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/0.9224, allocations: 4 kB / 1.028 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009524/0.9233, allocations: 231.9 kB / 1.028 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003106/0.9265, allocations: 1.426 MB / 1.029 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001234/0.9266, allocations: 44.11 kB / 1.029 GB, free: 9.953 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02234/0.9489, allocations: 17.1 MB / 1.046 GB, free: 8.363 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.949, allocations: 7.75 kB / 1.046 GB, free: 8.359 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007341/0.9563, allocations: 4.54 MB / 1.05 GB, free: 3.793 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/0.9576, allocations: 0.6382 MB / 1.051 GB, free: 3.133 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003584/0.9579, allocations: 39.94 kB / 1.051 GB, free: 3.094 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/0.9591, allocations: 119.9 kB / 1.051 GB, free: 2.977 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005128/0.9597, allocations: 176.9 kB / 1.051 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/0.9598, allocations: 64 kB / 1.051 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001837/0.9616, allocations: 1.323 MB / 1.053 GB, free: 1.414 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9617, allocations: 0 / 1.053 GB, free: 1.414 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003092/0.9648, allocations: 1.137 MB / 1.054 GB, free: 284 kB / 0.7637 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007344/0.9721, allocations: 5.16 MB / 1.059 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.007159/0.9793, allocations: 4.688 MB / 1.063 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/0.9793, allocations: 4 kB / 1.063 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.004561/0.9839, allocations: 2.936 MB / 1.066 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004982/0.9889, allocations: 0.8243 MB / 1.067 GB, free: 2.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0528/1.042, allocations: 35.94 MB / 1.102 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003963/1.046, allocations: 3.693 MB / 1.106 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002097/1.048, allocations: 0.5557 MB / 1.106 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002185/1.05, allocations: 1.94 MB / 1.108 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of SimCode: time 7.72e-07/1.05, allocations: 0 / 1.108 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1271/1.177, allocations: 82.41 MB / 1.189 GB, free: 4.941 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/1.177, allocations: 240 kB / 1.189 GB, free: 4.688 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.264/4.441, allocations: 0 / 1.189 GB, free: 4.688 MB / 0.9044 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)