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.001386/0.001386, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001639/0.001639, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.086/2.086, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.771/1.771, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0005694/0.0005696, allocations: 17.84 kB / 0.6737 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.352, allocations: 116.3 MB / 0.7872 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.02749/0.3796, allocations: 10.36 MB / 0.7974 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01731/0.397, allocations: 4.96 MB / 0.8022 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002511/0.3997, allocations: 23.94 kB / 0.8022 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00292/0.4026, allocations: 330.2 kB / 0.8025 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004874/0.4076, allocations: 0.5257 MB / 0.8031 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004531/0.4122, allocations: 0.5702 MB / 0.8036 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004861/0.4171, allocations: 1.138 MB / 0.8047 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01017/0.4273, allocations: 3.63 MB / 0.8083 GB, free: 6.227 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002466/0.4298, allocations: 0.5997 MB / 0.8088 GB, free: 5.625 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002636/0.4325, allocations: 0.6657 MB / 0.8095 GB, free: 4.957 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004708/0.433, allocations: 96 kB / 0.8096 GB, free: 4.863 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00175/0.4348, allocations: 303.7 kB / 0.8099 GB, free: 4.566 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001209/0.436, allocations: 0.6627 MB / 0.8105 GB, free: 3.902 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008758/0.4369, allocations: 352.9 kB / 0.8109 GB, free: 3.551 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005509/0.4425, allocations: 3.016 MB / 0.8138 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.24e-05/0.4426, allocations: 0 / 0.8138 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of FrontEnd: time 6.152e-06/0.4426, allocations: 0 / 0.8138 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001623/0.4428, allocations: 0 / 0.8138 GB, free: 0.5273 MB / 0.6231 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.008975/0.4518, allocations: 1.632 MB / 0.8154 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 7.438e-05/0.4519, allocations: 12.03 kB / 0.8154 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001617/0.4535, allocations: 244.2 kB / 0.8156 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005566/0.4591, allocations: 0.4898 MB / 0.8161 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004789/0.464, allocations: 1.139 MB / 0.8172 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002231/0.4643, allocations: 119 kB / 0.8174 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009109/0.4652, allocations: 148 kB / 0.8175 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009841/0.475, allocations: 2.735 MB / 0.8202 GB, free: 9.84 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-05/0.4752, allocations: 7.984 kB / 0.8202 GB, free: 9.832 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003818/0.4756, allocations: 71.97 kB / 0.8202 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007063/0.4763, allocations: 170.9 kB / 0.8204 GB, free: 9.594 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008111/0.4845, allocations: 2.288 MB / 0.8226 GB, free: 7.301 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02583/0.5104, allocations: 10.54 MB / 0.8329 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001931/0.5123, allocations: 0.5803 MB / 0.8335 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002298/0.5126, allocations: 89.09 kB / 0.8336 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.036e-05/0.5127, allocations: 38.56 kB / 0.8336 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=36): time 4.419e-06/0.5127, allocations: 4 kB / 0.8336 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=52): time 0.03723/0.55, allocations: 6.284 MB / 0.8398 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.323e-05/0.5501, allocations: 85.55 kB / 0.8398 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002199/0.5523, allocations: 0.9023 MB / 0.8407 GB, free: 3.766 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002096/0.5525, allocations: 33.7 kB / 0.8408 GB, free: 3.727 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009955/0.5536, allocations: 0.75 MB / 0.8415 GB, free: 2.965 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003848/0.554, allocations: 185.4 kB / 0.8417 GB, free: 2.781 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.5541, allocations: 20 kB / 0.8417 GB, free: 2.762 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0003171/0.5544, allocations: 382.8 kB / 0.8421 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002236/0.5567, allocations: 0.646 MB / 0.8427 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002701/0.5594, allocations: 1.007 MB / 0.8437 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002331/0.5618, allocations: 0.818 MB / 0.8445 GB, free: 15.74 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.429e-05/0.5618, allocations: 4 kB / 0.8445 GB, free: 15.73 MB / 0.67 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01766/0.5795, allocations: 3.221 MB / 0.8476 GB, free: 12.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.002795/0.5824, allocations: 4.529 MB / 0.852 GB, free: 7.605 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-05/0.5824, allocations: 16 kB / 0.8521 GB, free: 7.59 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01564/0.5981, allocations: 1.868 MB / 0.8539 GB, free: 5.711 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001812/0.6, allocations: 219.7 kB / 0.8541 GB, free: 5.496 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02857/0.6286, allocations: 10.52 MB / 0.8644 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002397/0.631, allocations: 171.7 kB / 0.8645 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002239/0.6313, allocations: 55.97 kB / 0.8646 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.6314, allocations: 7.953 kB / 0.8646 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01362/0.645, allocations: 2.629 MB / 0.8672 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.871e-05/0.6451, allocations: 12 kB / 0.8672 GB, free: 7.57 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008774/0.6539, allocations: 1.2 MB / 0.8683 GB, free: 6.363 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.6551, allocations: 255.5 kB / 0.8686 GB, free: 6.113 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008933/0.6641, allocations: 5.692 MB / 0.8741 GB, free: 160 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.6655, allocations: 159.8 kB / 0.8743 GB, free: 0 / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.6656, allocations: 36.05 kB / 0.8743 GB, free: 15.96 MB / 0.7012 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.001632/0.6672, allocations: 0.8439 MB / 0.8751 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001984/0.6674, allocations: 79.06 kB / 0.8752 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008757/0.6762, allocations: 2.692 MB / 0.8779 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.6763, allocations: 8 kB / 0.8779 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.6763, allocations: 0 / 0.8779 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/0.6763, allocations: 7.984 kB / 0.8779 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01169/0.688, allocations: 4.531 MB / 0.8823 GB, free: 7.668 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.6881, allocations: 4 kB / 0.8823 GB, free: 7.664 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004602/0.6885, allocations: 104 kB / 0.8824 GB, free: 7.562 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007357/0.6959, allocations: 1.708 MB / 0.8841 GB, free: 5.84 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.696, allocations: 19.94 kB / 0.8841 GB, free: 5.82 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01393/0.71, allocations: 10.04 MB / 0.8939 GB, free: 11.24 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.71, allocations: 4.5 kB / 0.8939 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007995/0.718, allocations: 2.751 MB / 0.8966 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008287/0.7189, allocations: 280.1 kB / 0.8968 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.7191, allocations: 19.98 kB / 0.8969 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008557/0.7199, allocations: 139.7 kB / 0.897 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/0.7202, allocations: 51.86 kB / 0.897 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-05/0.7202, allocations: 16 kB / 0.8971 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009384/0.7212, allocations: 0.6356 MB / 0.8977 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7212, allocations: 0 / 0.8977 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002226/0.7234, allocations: 0.5938 MB / 0.8983 GB, free: 6.641 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.008819/0.7322, allocations: 3.889 MB / 0.9021 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006185/0.7385, allocations: 3.263 MB / 0.9052 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/0.7385, allocations: 0 / 0.9052 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002123/0.7407, allocations: 1.276 MB / 0.9065 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.7418, allocations: 223 kB / 0.9067 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4795/1.221, allocations: 17.46 MB / 0.9238 GB, free: 127 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001495/1.223, allocations: 1.651 MB / 0.9254 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001493/1.224, allocations: 496.8 kB / 0.9258 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007023/1.225, allocations: 492.4 kB / 0.9263 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of SimCode: time 1.413e-06/1.225, allocations: 0 / 0.9263 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09401/1.319, allocations: 34.55 MB / 0.96 GB, free: 114.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/1.319, allocations: 243.2 kB / 0.9603 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.592/3.912, allocations: 0 / 0.9603 GB, free: 114.2 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: