Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.427/1.427, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 180.9 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.4 MB / 0.5775 GB, free: 20.32 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008428/0.0008428, allocations: 102 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.000326, allocations: 11.09 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2033, allocations: 106.3 MB / 0.9002 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02276/0.2261, allocations: 28.69 MB / 0.9282 GB, free: 35.1 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01327/0.2394, allocations: 9.852 MB / 0.9378 GB, free: 25.22 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002741/0.2422, allocations: 123.2 kB / 0.9379 GB, free: 25.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002001/0.2442, allocations: 0.6328 MB / 0.9385 GB, free: 24.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005485/0.2497, allocations: 1.266 MB / 0.9398 GB, free: 23.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004082/0.2538, allocations: 1.284 MB / 0.941 GB, free: 21.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.005555/0.2594, allocations: 3.433 MB / 0.9444 GB, free: 18.47 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01378/0.2732, allocations: 10.31 MB / 0.9545 GB, free: 8.082 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003968/0.2772, allocations: 1.981 MB / 0.9564 GB, free: 6.094 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003508/0.2808, allocations: 1.985 MB / 0.9583 GB, free: 4.102 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0006503/0.2815, allocations: 264 kB / 0.9586 GB, free: 3.844 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002027/0.2835, allocations: 0.6983 MB / 0.9593 GB, free: 3.145 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.00151/0.285, allocations: 1.863 MB / 0.9611 GB, free: 1.277 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001244/0.2863, allocations: 0.9563 MB / 0.962 GB, free: 320 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.01034/0.2966, allocations: 8.209 MB / 0.97 GB, free: 8.082 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.2967, allocations: 0 / 0.97 GB, free: 8.082 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.827e-06/0.2967, allocations: 0 / 0.97 GB, free: 8.082 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003933/0.2971, allocations: 0 / 0.97 GB, free: 8.082 MB / 0.6198 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.01073/0.3078, allocations: 4.023 MB / 0.974 GB, free: 3.984 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.3079, allocations: 8.031 kB / 0.974 GB, free: 3.977 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002504/0.3104, allocations: 0.6818 MB / 0.9746 GB, free: 3.285 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005305/0.3157, allocations: 0.9269 MB / 0.9755 GB, free: 2.352 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00669/0.3225, allocations: 2.796 MB / 0.9783 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003319/0.3228, allocations: 345.2 kB / 0.9786 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001438/0.3243, allocations: 467.8 kB / 0.9791 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01657/0.3409, allocations: 7.589 MB / 0.9865 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001739/0.3411, allocations: 31.77 kB / 0.9865 GB, free: 6.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006864/0.3418, allocations: 200 kB / 0.9867 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003511/0.3421, allocations: 308.9 kB / 0.987 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01219/0.3543, allocations: 5.679 MB / 0.9925 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04637/0.4008, allocations: 35.12 MB / 1.027 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003159/0.404, allocations: 2.146 MB / 1.029 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/0.4041, allocations: 17.3 kB / 1.029 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.43e-05/0.4042, allocations: 59.81 kB / 1.029 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=133): time 4.228e-06/0.4042, allocations: 0 / 1.029 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of matching and sorting (n=136): time 0.01478/0.419, allocations: 7.084 MB / 1.036 GB, free: 0.5039 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/0.4191, allocations: 64.72 kB / 1.036 GB, free: 440 kB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/0.4213, allocations: 1.464 MB / 1.037 GB, free: 14.92 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001096/0.4214, allocations: 45.7 kB / 1.037 GB, free: 14.87 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001434/0.4228, allocations: 2.008 MB / 1.039 GB, free: 12.83 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004365/0.4233, allocations: 485.1 kB / 1.04 GB, free: 12.35 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.409e-05/0.4234, allocations: 36 kB / 1.04 GB, free: 12.32 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.4235, allocations: 389.8 kB / 1.04 GB, free: 11.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/0.4248, allocations: 0.9018 MB / 1.041 GB, free: 11.03 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0018/0.4266, allocations: 1.574 MB / 1.043 GB, free: 9.137 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.4283, allocations: 1.185 MB / 1.044 GB, free: 7.953 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.4283, allocations: 8 kB / 1.044 GB, free: 7.945 MB / 0.698 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006257/0.4346, allocations: 3.518 MB / 1.047 GB, free: 4.379 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.61e-05/0.4346, allocations: 16 kB / 1.047 GB, free: 4.363 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.074e-05/0.4347, allocations: 20.84 kB / 1.047 GB, free: 4.344 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002601/0.4373, allocations: 0.896 MB / 1.048 GB, free: 3.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.4385, allocations: 351.4 kB / 1.049 GB, free: 3.066 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4323/0.8708, allocations: 21.53 MB / 1.07 GB, free: 121.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/0.8726, allocations: 103.5 kB / 1.07 GB, free: 121.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/0.8727, allocations: 88.31 kB / 1.07 GB, free: 121.1 MB / 0.698 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.003094/0.8758, allocations: 1.607 MB / 1.071 GB, free: 121 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000522/0.8764, allocations: 201.5 kB / 1.072 GB, free: 121 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007334/0.8837, allocations: 2.982 MB / 1.074 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.198e-05/0.8838, allocations: 15.59 kB / 1.074 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-05/0.8838, allocations: 13.84 kB / 1.074 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.135e-05/0.8839, allocations: 6.984 kB / 1.074 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01372/0.8976, allocations: 7.315 MB / 1.082 GB, free: 118.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.8976, allocations: 5.906 kB / 1.082 GB, free: 118.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007857/0.8984, allocations: 180.1 kB / 1.082 GB, free: 118.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002353/0.9008, allocations: 0.828 MB / 1.083 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001161/0.9009, allocations: 30.86 kB / 1.083 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01515/0.9161, allocations: 20.64 MB / 1.103 GB, free: 100.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.9161, allocations: 8.75 kB / 1.103 GB, free: 100.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005208/0.9213, allocations: 3.305 MB / 1.106 GB, free: 98.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/0.9226, allocations: 466 kB / 1.106 GB, free: 98.14 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002268/0.9229, allocations: 23.84 kB / 1.106 GB, free: 98.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008021/0.9237, allocations: 68.95 kB / 1.107 GB, free: 98.11 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003606/0.9241, allocations: 131.4 kB / 1.107 GB, free: 98.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.771e-05/0.9241, allocations: 35.41 kB / 1.107 GB, free: 98.07 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001496/0.9256, allocations: 0.9604 MB / 1.108 GB, free: 97.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9256, allocations: 0 / 1.108 GB, free: 97.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003906/0.9296, allocations: 0.7863 MB / 1.108 GB, free: 97.6 MB / 0.698 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.005093/0.9347, allocations: 5.053 MB / 1.113 GB, free: 93.82 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005241/0.9399, allocations: 4.001 MB / 1.117 GB, free: 91.05 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.166e-06/0.94, allocations: 4.062 kB / 1.117 GB, free: 91.05 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003187/0.9432, allocations: 2.736 MB / 1.12 GB, free: 88.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002864/0.9461, allocations: 0.6478 MB / 1.121 GB, free: 88.61 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03325/0.9793, allocations: 34.02 MB / 1.154 GB, free: 54.28 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003196/0.9826, allocations: 3.195 MB / 1.157 GB, free: 51.06 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001557/0.9842, allocations: 453.9 kB / 1.157 GB, free: 50.61 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001449/0.9856, allocations: 1.558 MB / 1.159 GB, free: 49.05 MB / 0.698 GB Notification: Performance of SimCode: time 1.232e-06/0.9857, allocations: 0 / 1.159 GB, free: 49.05 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08153/1.067, allocations: 58.99 MB / 1.216 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/1.067, allocations: 230.2 kB / 1.217 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.667/4.735, allocations: 2.5 kB / 1.217 GB, free: 6.379 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)