Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.0008047/0.0008049, allocations: 98.27 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.004665/0.004665, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.34/1.34, allocations: 205.4 MB / 222.5 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.591/1.591, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0004982/0.0004982, allocations: 18.3 kB / 0.6744 GB, free: 25.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2322, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03086/0.263, allocations: 31.44 MB / 0.8187 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01628/0.2794, allocations: 10.29 MB / 0.8288 GB, free: 1.605 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002865/0.2823, allocations: 127.2 kB / 0.8289 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001767/0.284, allocations: 0.6318 MB / 0.8295 GB, free: 0.8438 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004535/0.2886, allocations: 1.735 MB / 0.8312 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004434/0.293, allocations: 1.754 MB / 0.8329 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0106/0.3037, allocations: 10.57 MB / 0.8432 GB, free: 2.75 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01867/0.3224, allocations: 12.08 MB / 0.855 GB, free: 6.562 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004876/0.3272, allocations: 2.236 MB / 0.8572 GB, free: 4.316 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00508/0.3323, allocations: 2.962 MB / 0.8601 GB, free: 1.344 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001265/0.3336, allocations: 268 kB / 0.8604 GB, free: 1.082 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004515/0.3382, allocations: 1.7 MB / 0.862 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003206/0.3414, allocations: 2.058 MB / 0.864 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003883/0.3453, allocations: 2.341 MB / 0.8663 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.009994/0.3553, allocations: 9.649 MB / 0.8757 GB, free: 1.277 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3553, allocations: 7.875 kB / 0.8757 GB, free: 1.27 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3553, allocations: 4 kB / 0.8757 GB, free: 1.266 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002063/0.3555, allocations: 4 kB / 0.8757 GB, free: 1.262 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.007814/0.3634, allocations: 4.011 MB / 0.8797 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.3634, allocations: 8.031 kB / 0.8797 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009572/0.3644, allocations: 0.6781 MB / 0.8803 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004802/0.3692, allocations: 0.9551 MB / 0.8813 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004155/0.3734, allocations: 2.859 MB / 0.8841 GB, free: 8.605 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002138/0.3736, allocations: 349.7 kB / 0.8844 GB, free: 8.262 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007045/0.3743, allocations: 472.2 kB / 0.8848 GB, free: 7.801 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0146/0.3889, allocations: 7.663 MB / 0.8923 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001571/0.3891, allocations: 23.72 kB / 0.8923 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000513/0.3896, allocations: 200 kB / 0.8925 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004156/0.3901, allocations: 316.9 kB / 0.8928 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0114/0.4015, allocations: 5.71 MB / 0.8984 GB, free: 9.527 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4718/0.8733, allocations: 35.12 MB / 0.9327 GB, free: 107.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002409/0.8758, allocations: 2.16 MB / 0.9348 GB, free: 107.2 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001183/0.877, allocations: 1.261 MB / 0.9361 GB, free: 107.2 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.07e-05/0.877, allocations: 15.25 kB / 0.9361 GB, free: 107.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.8771, allocations: 49.67 kB / 0.9361 GB, free: 107.1 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=133): time 4.218e-06/0.8771, allocations: 4.609 kB / 0.9361 GB, free: 107.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=136): time 0.0124/0.8895, allocations: 7.113 MB / 0.9431 GB, free: 104.8 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.8895, allocations: 76.11 kB / 0.9431 GB, free: 104.7 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/0.8914, allocations: 1.484 MB / 0.9446 GB, free: 104.1 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.719e-05/0.8915, allocations: 52.95 kB / 0.9446 GB, free: 104 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00125/0.8927, allocations: 2.007 MB / 0.9466 GB, free: 102.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003612/0.8931, allocations: 487.5 kB / 0.9471 GB, free: 102.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/0.8933, allocations: 149 kB / 0.9472 GB, free: 102.1 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.201e-05/0.8934, allocations: 302.5 kB / 0.9475 GB, free: 101.8 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/0.8948, allocations: 0.9115 MB / 0.9484 GB, free: 101.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/0.8965, allocations: 1.595 MB / 0.9499 GB, free: 100.2 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00347/0.9, allocations: 2.74 MB / 0.9526 GB, free: 98.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/0.9, allocations: 6.188 kB / 0.9526 GB, free: 98.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005576/0.9056, allocations: 3.521 MB / 0.9561 GB, free: 96.95 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.9056, allocations: 18.02 kB / 0.9561 GB, free: 96.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.74e-05/0.9057, allocations: 26.09 kB / 0.9561 GB, free: 96.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002431/0.9081, allocations: 0.9102 MB / 0.957 GB, free: 96.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.9092, allocations: 358 kB / 0.9573 GB, free: 96.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01476/0.9239, allocations: 21.23 MB / 0.9781 GB, free: 78.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/0.9254, allocations: 104.4 kB / 0.9782 GB, free: 78.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/0.9255, allocations: 85.78 kB / 0.9783 GB, free: 78.31 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 (185): * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002542/0.9281, allocations: 1.615 MB / 0.9798 GB, free: 77.59 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002539/0.9284, allocations: 208.9 kB / 0.98 GB, free: 77.48 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004324/0.9327, allocations: 2.981 MB / 0.9829 GB, free: 75.88 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.9327, allocations: 14 kB / 0.983 GB, free: 75.88 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/0.9327, allocations: 13.31 kB / 0.983 GB, free: 75.88 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.9327, allocations: 7.969 kB / 0.983 GB, free: 75.87 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008504/0.9412, allocations: 7.339 MB / 0.9901 GB, free: 71.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/0.9413, allocations: 3.906 kB / 0.9901 GB, free: 71.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006912/0.942, allocations: 176.3 kB / 0.9903 GB, free: 71.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001979/0.944, allocations: 0.8252 MB / 0.9911 GB, free: 70.75 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.547e-05/0.944, allocations: 26.16 kB / 0.9911 GB, free: 70.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01259/0.9566, allocations: 20.32 MB / 1.011 GB, free: 51.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.9567, allocations: 7.812 kB / 1.011 GB, free: 51.77 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003957/0.9606, allocations: 3.021 MB / 1.014 GB, free: 49.91 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005799/0.9612, allocations: 470.7 kB / 1.014 GB, free: 49.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001882/0.9614, allocations: 23.88 kB / 1.014 GB, free: 49.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007496/0.9622, allocations: 75.56 kB / 1.014 GB, free: 49.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002378/0.9624, allocations: 129.5 kB / 1.015 GB, free: 49.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.917e-05/0.9625, allocations: 36.72 kB / 1.015 GB, free: 49.42 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009806/0.9635, allocations: 0.9737 MB / 1.016 GB, free: 48.86 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9635, allocations: 0 / 1.016 GB, free: 48.86 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002413/0.9659, allocations: 0.7888 MB / 1.016 GB, free: 48.35 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003975/0.9699, allocations: 3.625 MB / 1.02 GB, free: 44.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004343/0.9742, allocations: 4.024 MB / 1.024 GB, free: 40.45 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.9743, allocations: 4.062 kB / 1.024 GB, free: 40.44 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002623/0.9769, allocations: 2.741 MB / 1.027 GB, free: 37.54 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003478/0.9804, allocations: 0.6691 MB / 1.027 GB, free: 36.88 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0281/1.008, allocations: 25.75 MB / 1.052 GB, free: 9.414 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002345/1.011, allocations: 3.113 MB / 1.055 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00112/1.012, allocations: 457.9 kB / 1.056 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001167/1.013, allocations: 1.53 MB / 1.057 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of SimCode: time 5.91e-07/1.013, allocations: 0 / 1.057 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07671/1.09, allocations: 58.19 MB / 1.114 GB, free: 10.74 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/1.09, allocations: 255.3 kB / 1.114 GB, free: 10.48 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.711/3.801, allocations: 0 / 1.114 GB, free: 10.48 MB / 0.795 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)