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.001104/0.001104, allocations: 90.75 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.001287/0.001287, 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.526/1.526, allocations: 205.4 MB / 222.1 MB, free: 5.484 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.774/1.774, 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.0005338/0.0005341, allocations: 14.53 kB / 0.6738 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2414, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03622/0.2777, allocations: 29.64 MB / 0.8164 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.018/0.2957, allocations: 9.851 MB / 0.826 GB, free: 4.227 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003385/0.2991, allocations: 131.2 kB / 0.8261 GB, free: 4.098 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002566/0.3017, allocations: 0.62 MB / 0.8267 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005509/0.3073, allocations: 1.458 MB / 0.8281 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005352/0.3127, allocations: 1.261 MB / 0.8294 GB, free: 0.75 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01194/0.3246, allocations: 8.27 MB / 0.8374 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02056/0.3452, allocations: 10.32 MB / 0.8475 GB, free: 14.06 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005136/0.3504, allocations: 2.264 MB / 0.8497 GB, free: 11.79 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005764/0.3562, allocations: 2.889 MB / 0.8525 GB, free: 8.891 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001606/0.3579, allocations: 268 kB / 0.8528 GB, free: 8.629 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003719/0.3616, allocations: 0.8388 MB / 0.8536 GB, free: 7.789 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.004178/0.3658, allocations: 2.038 MB / 0.8556 GB, free: 5.746 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003232/0.3691, allocations: 0.9525 MB / 0.8565 GB, free: 4.785 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01251/0.3816, allocations: 8.357 MB / 0.8647 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.3817, allocations: 3.984 kB / 0.8647 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.306e-06/0.3817, allocations: 4 kB / 0.8647 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0004408/0.3821, allocations: 0 / 0.8647 GB, free: 12.4 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.01269/0.3948, allocations: 4.062 MB / 0.8687 GB, free: 8.266 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.865e-05/0.3949, allocations: 8.031 kB / 0.8687 GB, free: 8.258 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003357/0.3983, allocations: 0.6818 MB / 0.8694 GB, free: 7.566 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006472/0.4048, allocations: 0.962 MB / 0.8703 GB, free: 6.598 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007347/0.4122, allocations: 2.796 MB / 0.873 GB, free: 3.742 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004305/0.4126, allocations: 353.3 kB / 0.8734 GB, free: 3.395 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002306/0.4149, allocations: 467.8 kB / 0.8738 GB, free: 2.938 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02205/0.437, allocations: 7.624 MB / 0.8813 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003511/0.4374, allocations: 31.72 kB / 0.8813 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001606/0.439, allocations: 196 kB / 0.8815 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004937/0.4396, allocations: 316.9 kB / 0.8818 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01343/0.453, allocations: 5.679 MB / 0.8873 GB, free: 4.73 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6519/1.105, allocations: 35.11 MB / 0.9216 GB, free: 117.1 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003952/1.109, allocations: 2.147 MB / 0.9237 GB, free: 116.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002532/1.112, allocations: 1.272 MB / 0.9249 GB, free: 116.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/1.112, allocations: 13.62 kB / 0.925 GB, free: 116.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.895e-05/1.112, allocations: 45.91 kB / 0.925 GB, free: 116.4 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=133): time 4.639e-06/1.112, allocations: 0 / 0.925 GB, free: 116.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=136): time 0.01467/1.126, allocations: 7.085 MB / 0.9319 GB, free: 114.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.934e-05/1.127, allocations: 66.45 kB / 0.932 GB, free: 114.6 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0026/1.129, allocations: 1.477 MB / 0.9334 GB, free: 114.4 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001546/1.129, allocations: 49.52 kB / 0.9335 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001652/1.131, allocations: 2.004 MB / 0.9354 GB, free: 113.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006502/1.132, allocations: 494 kB / 0.9359 GB, free: 112.7 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.042e-05/1.132, allocations: 34.47 kB / 0.9359 GB, free: 112.7 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001756/1.132, allocations: 384.3 kB / 0.9363 GB, free: 112.4 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001566/1.134, allocations: 0.9021 MB / 0.9372 GB, free: 112 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002201/1.136, allocations: 1.585 MB / 0.9387 GB, free: 110.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002304/1.138, allocations: 1.184 MB / 0.9399 GB, free: 110.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-05/1.138, allocations: 7.109 kB / 0.9399 GB, free: 110.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.008027/1.146, allocations: 3.509 MB / 0.9433 GB, free: 108.9 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.363e-05/1.146, allocations: 14.19 kB / 0.9433 GB, free: 108.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-05/1.146, allocations: 26.72 kB / 0.9434 GB, free: 108.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002719/1.149, allocations: 0.9031 MB / 0.9442 GB, free: 108.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/1.15, allocations: 347.8 kB / 0.9446 GB, free: 108.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02068/1.171, allocations: 21.19 MB / 0.9653 GB, free: 90.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002389/1.173, allocations: 103.5 kB / 0.9654 GB, free: 90.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002211/1.174, allocations: 89.41 kB / 0.9654 GB, free: 90.27 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 (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(3,77.8%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004034/1.178, allocations: 1.611 MB / 0.967 GB, free: 89.55 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008369/1.179, allocations: 207.9 kB / 0.9672 GB, free: 89.45 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00594/1.185, allocations: 2.984 MB / 0.9701 GB, free: 88.16 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/1.185, allocations: 13.91 kB / 0.9701 GB, free: 88.16 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.685e-05/1.185, allocations: 8.906 kB / 0.9702 GB, free: 88.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/1.185, allocations: 8.391 kB / 0.9702 GB, free: 88.16 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01696/1.202, allocations: 7.315 MB / 0.9773 GB, free: 83.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/1.202, allocations: 3.875 kB / 0.9773 GB, free: 83.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007309/1.202, allocations: 185.2 kB / 0.9775 GB, free: 83.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002029/1.204, allocations: 0.8226 MB / 0.9783 GB, free: 83.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.509e-05/1.205, allocations: 27.69 kB / 0.9783 GB, free: 83.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01535/1.22, allocations: 20.3 MB / 0.9981 GB, free: 64.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.084e-05/1.22, allocations: 10.62 kB / 0.9981 GB, free: 64.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005449/1.225, allocations: 3.004 MB / 1.001 GB, free: 62.57 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001289/1.227, allocations: 469.1 kB / 1.002 GB, free: 62.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006108/1.227, allocations: 25.97 kB / 1.002 GB, free: 62.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/1.229, allocations: 81.28 kB / 1.002 GB, free: 62.16 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004175/1.229, allocations: 125.6 kB / 1.002 GB, free: 62.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.193e-05/1.229, allocations: 34.69 kB / 1.002 GB, free: 62.09 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001991/1.231, allocations: 0.9617 MB / 1.003 GB, free: 61.53 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.8e-07/1.231, allocations: 0 / 1.003 GB, free: 61.53 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004115/1.236, allocations: 0.7918 MB / 1.003 GB, free: 61.46 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 (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004949/1.24, allocations: 3.598 MB / 1.007 GB, free: 58.27 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005943/1.246, allocations: 4.003 MB / 1.011 GB, free: 54.12 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/1.246, allocations: 0 / 1.011 GB, free: 54.12 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003277/1.25, allocations: 2.742 MB / 1.014 GB, free: 51.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004683/1.254, allocations: 0.6582 MB / 1.014 GB, free: 50.59 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03816/1.293, allocations: 19.04 MB / 1.033 GB, free: 30.39 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004461/1.297, allocations: 3.109 MB / 1.036 GB, free: 27.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001646/1.299, allocations: 457.9 kB / 1.036 GB, free: 26.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00187/1.301, allocations: 1.546 MB / 1.038 GB, free: 25.25 MB / 0.7325 GB Notification: Performance of SimCode: time 1.122e-06/1.301, allocations: 3.938 kB / 1.038 GB, free: 25.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1344/1.435, allocations: 59.03 MB / 1.095 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003556/1.436, allocations: 229.5 kB / 1.096 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.401/4.836, allocations: 1.688 kB / 1.096 GB, free: 14.64 MB / 0.7794 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/linux/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) Environment - environmentSimulation: