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.409/1.409, allocations: 252 MB / 267 MB, free: 10.94 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.001003/0.001003, allocations: 180.1 kB / 326.6 MB, free: 2.219 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.754/1.754, allocations: 205.4 MB / 0.5776 GB, free: 20.28 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.0006905/0.0006906, allocations: 93.95 kB / 0.6822 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003579, allocations: 12.75 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2378, allocations: 106.3 MB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02526/0.2631, allocations: 29.64 MB / 0.9293 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01463/0.2778, allocations: 9.843 MB / 0.9389 GB, free: 24.22 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003619/0.2815, allocations: 127.2 kB / 0.939 GB, free: 24.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002958/0.2845, allocations: 0.624 MB / 0.9396 GB, free: 23.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005803/0.2903, allocations: 1.462 MB / 0.941 GB, free: 22 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005316/0.2957, allocations: 1.257 MB / 0.9423 GB, free: 20.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.009795/0.3055, allocations: 8.27 MB / 0.9503 GB, free: 12.45 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01893/0.3245, allocations: 10.34 MB / 0.9604 GB, free: 2.043 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005607/0.3302, allocations: 2.26 MB / 0.9626 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006324/0.3365, allocations: 2.9 MB / 0.9655 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.001775/0.3384, allocations: 268 kB / 0.9657 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004563/0.343, allocations: 0.8311 MB / 0.9665 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.004657/0.3477, allocations: 2.034 MB / 0.9685 GB, free: 9.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.003681/0.3514, allocations: 0.9563 MB / 0.9695 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0132/0.3646, allocations: 8.346 MB / 0.9776 GB, free: 404 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.3647, allocations: 0 / 0.9776 GB, free: 404 kB / 0.6198 GB Notification: Performance of FrontEnd: time 2.865e-06/0.3647, allocations: 4 kB / 0.9776 GB, free: 400 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0004545/0.3652, allocations: 0 / 0.9776 GB, free: 400 kB / 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.01286/0.378, allocations: 4.066 MB / 0.9816 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.24e-05/0.3781, allocations: 12.03 kB / 0.9816 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002999/0.3811, allocations: 0.6818 MB / 0.9823 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007164/0.3883, allocations: 0.9658 MB / 0.9832 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007551/0.3959, allocations: 2.796 MB / 0.9859 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003955/0.3964, allocations: 357.2 kB / 0.9863 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001799/0.3982, allocations: 459.9 kB / 0.9867 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.021/0.4192, allocations: 7.631 MB / 0.9942 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003436/0.4196, allocations: 23.78 kB / 0.9942 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001557/0.4212, allocations: 200 kB / 0.9944 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004644/0.4217, allocations: 320.9 kB / 0.9947 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01355/0.4352, allocations: 5.667 MB / 1 GB, free: 8.723 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.047/0.4823, allocations: 35.12 MB / 1.035 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003117/0.4854, allocations: 2.149 MB / 1.037 GB, free: 132 kB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001956/0.4874, allocations: 1.268 MB / 1.038 GB, free: 14.86 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/0.4876, allocations: 13.31 kB / 1.038 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.4876, allocations: 47.88 kB / 1.038 GB, free: 14.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=133): time 4.398e-06/0.4876, allocations: 0 / 1.038 GB, free: 14.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=136): time 0.01508/0.5027, allocations: 7.096 MB / 1.045 GB, free: 7.422 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.5028, allocations: 64.72 kB / 1.045 GB, free: 7.348 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002891/0.5057, allocations: 1.465 MB / 1.046 GB, free: 5.836 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000274/0.506, allocations: 45.7 kB / 1.046 GB, free: 5.785 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002136/0.5082, allocations: 2.015 MB / 1.048 GB, free: 3.742 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007506/0.5089, allocations: 485 kB / 1.049 GB, free: 3.262 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.5091, allocations: 40 kB / 1.049 GB, free: 3.223 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002565/0.5094, allocations: 381.8 kB / 1.049 GB, free: 2.844 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/0.511, allocations: 0.9018 MB / 1.05 GB, free: 1.941 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002105/0.5131, allocations: 1.593 MB / 1.052 GB, free: 36 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4951/1.008, allocations: 1.174 MB / 1.053 GB, free: 136 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.555e-05/1.008, allocations: 10.83 kB / 1.053 GB, free: 136 MB / 0.698 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006865/1.015, allocations: 3.513 MB / 1.056 GB, free: 135.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.936e-05/1.015, allocations: 15.66 kB / 1.056 GB, free: 135.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.564e-05/1.015, allocations: 21.81 kB / 1.056 GB, free: 135.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002767/1.018, allocations: 0.8966 MB / 1.057 GB, free: 135.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/1.019, allocations: 350.7 kB / 1.057 GB, free: 135.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02113/1.041, allocations: 21.2 MB / 1.078 GB, free: 120.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/1.043, allocations: 101.4 kB / 1.078 GB, free: 120.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002129/1.043, allocations: 87.06 kB / 1.078 GB, free: 120.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.003925/1.047, allocations: 1.613 MB / 1.08 GB, free: 119.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006273/1.047, allocations: 201.2 kB / 1.08 GB, free: 119.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005803/1.053, allocations: 2.982 MB / 1.083 GB, free: 118.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.912e-05/1.053, allocations: 14.16 kB / 1.083 GB, free: 118.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.36e-05/1.053, allocations: 9.562 kB / 1.083 GB, free: 118.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-05/1.053, allocations: 6.375 kB / 1.083 GB, free: 118.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01345/1.067, allocations: 7.322 MB / 1.09 GB, free: 115.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/1.067, allocations: 3.969 kB / 1.09 GB, free: 115.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008126/1.068, allocations: 175.9 kB / 1.09 GB, free: 115.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002282/1.07, allocations: 0.8221 MB / 1.091 GB, free: 114.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.254e-05/1.07, allocations: 31.78 kB / 1.091 GB, free: 114.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01615/1.086, allocations: 20.3 MB / 1.111 GB, free: 96.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.335e-06/1.086, allocations: 5.344 kB / 1.111 GB, free: 96.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005/1.091, allocations: 3.02 MB / 1.114 GB, free: 95.06 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007867/1.092, allocations: 464.5 kB / 1.114 GB, free: 94.72 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001919/1.092, allocations: 31.09 kB / 1.114 GB, free: 94.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00074/1.093, allocations: 69.47 kB / 1.115 GB, free: 94.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003513/1.093, allocations: 122.4 kB / 1.115 GB, free: 94.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-05/1.093, allocations: 38.62 kB / 1.115 GB, free: 94.58 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001138/1.095, allocations: 0.9581 MB / 1.116 GB, free: 94.03 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.142e-06/1.095, allocations: 0 / 1.116 GB, free: 94.03 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002975/1.098, allocations: 0.7882 MB / 1.116 GB, free: 93.96 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.004654/1.102, allocations: 3.605 MB / 1.12 GB, free: 91.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00508/1.107, allocations: 4.002 MB / 1.124 GB, free: 87.36 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/1.107, allocations: 4 kB / 1.124 GB, free: 87.36 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003533/1.111, allocations: 2.738 MB / 1.127 GB, free: 84.47 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003633/1.115, allocations: 0.6624 MB / 1.127 GB, free: 83.83 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.028/1.143, allocations: 19.03 MB / 1.146 GB, free: 63.65 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002746/1.145, allocations: 3.112 MB / 1.149 GB, free: 60.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001371/1.147, allocations: 457.9 kB / 1.149 GB, free: 60.05 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001346/1.148, allocations: 1.546 MB / 1.151 GB, free: 58.51 MB / 0.698 GB Notification: Performance of SimCode: time 1.132e-06/1.148, allocations: 0 / 1.151 GB, free: 58.51 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0843/1.232, allocations: 59.04 MB / 1.208 GB, free: 28 kB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002664/1.233, allocations: 236.1 kB / 1.209 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.715/4.948, allocations: 0 / 1.209 GB, free: 15.79 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)