Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",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.001324/0.001324, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001326/0.001326, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.743/1.743, allocations: 205.4 MB / 222.1 MB, free: 5.621 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.733/1.733, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005537/0.0005537, allocations: 17.03 kB / 0.6738 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2919, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.0137/0.3057, allocations: 10.68 MB / 0.7978 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008891/0.3146, allocations: 5.021 MB / 0.8027 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001308/0.316, allocations: 31.88 kB / 0.8028 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.3173, allocations: 298 kB / 0.8031 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001915/0.3192, allocations: 0.5053 MB / 0.8036 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.3211, allocations: 470.1 kB / 0.804 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003499/0.3246, allocations: 2.786 MB / 0.8067 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006271/0.3309, allocations: 3.633 MB / 0.8103 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001824/0.3328, allocations: 0.724 MB / 0.811 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002254/0.335, allocations: 1.005 MB / 0.812 GB, free: 2.559 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0005559/0.3356, allocations: 96 kB / 0.812 GB, free: 2.465 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001475/0.3371, allocations: 307.6 kB / 0.8123 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001203/0.3383, allocations: 0.7171 MB / 0.813 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008902/0.3392, allocations: 348.9 kB / 0.8134 GB, free: 1.098 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003993/0.3432, allocations: 3.027 MB / 0.8163 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.3433, allocations: 0 / 0.8163 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.404e-06/0.3433, allocations: 3.938 kB / 0.8163 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001194/0.3434, allocations: 0 / 0.8163 GB, free: 14.06 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.004631/0.348, allocations: 1.636 MB / 0.8179 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.3481, allocations: 16.02 kB / 0.8179 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009638/0.3491, allocations: 244.2 kB / 0.8182 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002759/0.3518, allocations: 481.5 kB / 0.8186 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002577/0.3544, allocations: 1.127 MB / 0.8197 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/0.3546, allocations: 119.1 kB / 0.8199 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006325/0.3553, allocations: 155.9 kB / 0.82 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006222/0.3615, allocations: 2.739 MB / 0.8227 GB, free: 7.383 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.685e-05/0.3616, allocations: 4 kB / 0.8227 GB, free: 7.379 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000324/0.3619, allocations: 67.97 kB / 0.8227 GB, free: 7.312 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003684/0.3623, allocations: 174.9 kB / 0.8229 GB, free: 7.141 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004405/0.3667, allocations: 2.284 MB / 0.8251 GB, free: 4.852 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01344/0.3802, allocations: 10.55 MB / 0.8354 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009963/0.3812, allocations: 0.5803 MB / 0.836 GB, free: 8.824 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006118/0.3819, allocations: 384.6 kB / 0.8364 GB, free: 8.445 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/0.382, allocations: 89.11 kB / 0.8365 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.3821, allocations: 38.55 kB / 0.8365 GB, free: 8.293 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=36): time 2.845e-06/0.3821, allocations: 0 / 0.8365 GB, free: 8.293 MB / 0.6544 GB Notification: Performance of matching and sorting (n=52): time 0.01866/0.4008, allocations: 6.276 MB / 0.8426 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.4009, allocations: 81.55 kB / 0.8427 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/0.4023, allocations: 0.8945 MB / 0.8436 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001098/0.4024, allocations: 33.7 kB / 0.8436 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006076/0.403, allocations: 0.7578 MB / 0.8444 GB, free: 148 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002465/0.4033, allocations: 185.6 kB / 0.8445 GB, free: 15.96 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.423e-05/0.4034, allocations: 16 kB / 0.8445 GB, free: 15.94 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000202/0.4036, allocations: 390.8 kB / 0.8449 GB, free: 15.55 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.4047, allocations: 0.6382 MB / 0.8455 GB, free: 14.91 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/0.4059, allocations: 1.011 MB / 0.8465 GB, free: 13.74 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.4072, allocations: 0.8063 MB / 0.8473 GB, free: 12.93 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.4072, allocations: 4 kB / 0.8473 GB, free: 12.93 MB / 0.67 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008273/0.4155, allocations: 3.213 MB / 0.8505 GB, free: 9.699 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003289/0.4158, allocations: 427 kB / 0.8509 GB, free: 9.113 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.477e-05/0.4159, allocations: 12 kB / 0.8509 GB, free: 9.102 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007109/0.423, allocations: 1.868 MB / 0.8527 GB, free: 7.219 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009075/0.424, allocations: 219.7 kB / 0.8529 GB, free: 7.004 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01374/0.4377, allocations: 10.25 MB / 0.8629 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.4391, allocations: 167.7 kB / 0.8631 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001839/0.4393, allocations: 47.98 kB / 0.8631 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.4393, allocations: 4 kB / 0.8631 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006714/0.446, allocations: 2.614 MB / 0.8657 GB, free: 9.395 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.912e-05/0.4461, allocations: 19.88 kB / 0.8657 GB, free: 9.375 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004662/0.4508, allocations: 1.2 MB / 0.8669 GB, free: 8.168 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.4518, allocations: 255.6 kB / 0.8671 GB, free: 7.918 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007341/0.4592, allocations: 5.539 MB / 0.8725 GB, free: 2.113 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.4604, allocations: 151.8 kB / 0.8727 GB, free: 1.965 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/0.4606, allocations: 43.98 kB / 0.8727 GB, free: 1.922 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * 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: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001427/0.462, allocations: 0.8406 MB / 0.8735 GB, free: 1.07 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/0.4623, allocations: 79.06 kB / 0.8736 GB, free: 0.9922 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00748/0.4697, allocations: 2.68 MB / 0.8762 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.4698, allocations: 4 kB / 0.8762 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.4698, allocations: 7.984 kB / 0.8762 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.4698, allocations: 0 / 0.8762 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/0.4805, allocations: 4.632 MB / 0.8808 GB, free: 9.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.4806, allocations: 4 kB / 0.8808 GB, free: 9.516 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004147/0.481, allocations: 96.11 kB / 0.8809 GB, free: 9.422 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006432/0.4875, allocations: 1.712 MB / 0.8825 GB, free: 7.695 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.967e-05/0.4876, allocations: 12 kB / 0.8825 GB, free: 7.684 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01242/0.5, allocations: 9.755 MB / 0.8921 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.5001, allocations: 8.016 kB / 0.8921 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007159/0.5072, allocations: 2.644 MB / 0.8947 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006389/0.5079, allocations: 295.9 kB / 0.8949 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002388/0.5082, allocations: 12 kB / 0.8949 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008632/0.509, allocations: 139.7 kB / 0.8951 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002277/0.5093, allocations: 47.89 kB / 0.8951 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.767e-05/0.5093, allocations: 16 kB / 0.8951 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009975/0.5104, allocations: 0.6356 MB / 0.8958 GB, free: 9.535 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5104, allocations: 4 kB / 0.8958 GB, free: 9.531 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002527/0.5129, allocations: 0.6016 MB / 0.8964 GB, free: 8.93 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 38 * 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: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00759/0.5205, allocations: 3.24 MB / 0.8995 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005405/0.5259, allocations: 3.235 MB / 0.9027 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.106e-06/0.526, allocations: 0 / 0.9027 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001917/0.5279, allocations: 1.272 MB / 0.9039 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.5293, allocations: 226.8 kB / 0.9041 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02196/0.5513, allocations: 9.828 MB / 0.9137 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001773/0.5531, allocations: 1.622 MB / 0.9153 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001331/0.5545, allocations: 498.5 kB / 0.9158 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007482/0.5552, allocations: 487.3 kB / 0.9163 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of SimCode: time 1.373e-06/0.5552, allocations: 0 / 0.9163 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4677/1.023, allocations: 34.54 MB / 0.95 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000247/1.023, allocations: 250.9 kB / 0.9502 GB, free: 117.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.399/3.422, allocations: 0 / 0.9502 GB, free: 117.9 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) Environment - environmentSimulation: