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_R_N.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_R_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",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.491/1.491, allocations: 252 MB / 267 MB, free: 10.96 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.001039/0.001039, allocations: 189.9 kB / 326.6 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.006/2.006, allocations: 205.4 MB / 0.5776 GB, free: 20.2 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.0008633/0.0008634, allocations: 87.36 kB / 0.6822 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.0003571, allocations: 10.44 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2619, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.02857/0.2906, allocations: 34.49 MB / 0.934 GB, free: 29.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01867/0.3093, allocations: 10.59 MB / 0.9443 GB, free: 18.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004647/0.314, allocations: 135.2 kB / 0.9445 GB, free: 18.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003278/0.3173, allocations: 0.7635 MB / 0.9452 GB, free: 17.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00626/0.3236, allocations: 1.787 MB / 0.947 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004854/0.3285, allocations: 1.278 MB / 0.9482 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01073/0.3392, allocations: 10.35 MB / 0.9583 GB, free: 4.227 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02498/0.3643, allocations: 12.66 MB / 0.9707 GB, free: 7.492 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007224/0.3716, allocations: 2.864 MB / 0.9735 GB, free: 4.617 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008042/0.3797, allocations: 3.769 MB / 0.9772 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.00249/0.3822, allocations: 352 kB / 0.9775 GB, free: 0.4922 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004577/0.3868, allocations: 0.7064 MB / 0.9782 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.005422/0.3923, allocations: 2.514 MB / 0.9806 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.004178/0.3965, allocations: 1.194 MB / 0.9818 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01617/0.4127, allocations: 10.18 MB / 0.9917 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.4128, allocations: 0 / 0.9917 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.97e-06/0.4128, allocations: 4 kB / 0.9918 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0007209/0.4135, allocations: 0 / 0.9918 GB, free: 1.852 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.019/0.4325, allocations: 5.152 MB / 0.9968 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.4326, allocations: 8.031 kB / 0.9968 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003881/0.4365, allocations: 0.8369 MB / 0.9976 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007845/0.4444, allocations: 1.058 MB / 0.9986 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008541/0.4529, allocations: 3.353 MB / 1.002 GB, free: 7.301 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003859/0.4534, allocations: 427.3 kB / 1.002 GB, free: 6.883 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002093/0.4555, allocations: 0.539 MB / 1.003 GB, free: 6.344 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02143/0.4769, allocations: 9.334 MB / 1.012 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001602/0.4771, allocations: 27.72 kB / 1.012 GB, free: 12.65 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007887/0.4779, allocations: 244 kB / 1.012 GB, free: 12.41 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006021/0.4786, allocations: 418.9 kB / 1.013 GB, free: 12 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01638/0.4949, allocations: 7.077 MB / 1.02 GB, free: 4.914 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5417/1.037, allocations: 41.34 MB / 1.06 GB, free: 119.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005174/1.042, allocations: 3.105 MB / 1.063 GB, free: 119.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003697/1.046, allocations: 2.118 MB / 1.065 GB, free: 119.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/1.046, allocations: 25.62 kB / 1.065 GB, free: 119.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.115e-05/1.046, allocations: 59.3 kB / 1.065 GB, free: 119.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=209): time 6.362e-06/1.046, allocations: 0 / 1.065 GB, free: 119.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=212): time 0.02757/1.074, allocations: 10.46 MB / 1.075 GB, free: 117.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/1.074, allocations: 74.08 kB / 1.075 GB, free: 117.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003259/1.077, allocations: 1.99 MB / 1.077 GB, free: 117.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003308/1.077, allocations: 66.3 kB / 1.077 GB, free: 117.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001518/1.079, allocations: 2.4 MB / 1.08 GB, free: 116.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007209/1.08, allocations: 0.7291 MB / 1.08 GB, free: 115.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/1.08, allocations: 52.81 kB / 1.08 GB, free: 115.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001538/1.08, allocations: 410.6 kB / 1.081 GB, free: 115.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002055/1.082, allocations: 1.366 MB / 1.082 GB, free: 115.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002533/1.084, allocations: 2.091 MB / 1.084 GB, free: 114.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002394/1.087, allocations: 1.726 MB / 1.086 GB, free: 113.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.99e-05/1.087, allocations: 7.938 kB / 1.086 GB, free: 113.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008551/1.095, allocations: 5.041 MB / 1.091 GB, free: 111.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.846e-05/1.096, allocations: 14.34 kB / 1.091 GB, free: 111.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-05/1.096, allocations: 22.12 kB / 1.091 GB, free: 111.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004134/1.1, allocations: 1.564 MB / 1.092 GB, free: 111.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001816/1.102, allocations: 456.6 kB / 1.093 GB, free: 111.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0175/1.119, allocations: 17.07 MB / 1.11 GB, free: 98.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002902/1.122, allocations: 147.7 kB / 1.11 GB, free: 98.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003626/1.122, allocations: 107.9 kB / 1.11 GB, free: 98.77 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 (231): * Single equations (assignments): 227 * 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: 4 {(6,69.4%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00453/1.127, allocations: 1.941 MB / 1.112 GB, free: 97.58 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009344/1.128, allocations: 287.6 kB / 1.112 GB, free: 97.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006413/1.134, allocations: 4.428 MB / 1.116 GB, free: 92.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/1.134, allocations: 24 kB / 1.116 GB, free: 92.93 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.796e-05/1.134, allocations: 16 kB / 1.116 GB, free: 92.92 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/1.134, allocations: 11.95 kB / 1.116 GB, free: 92.91 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01473/1.149, allocations: 9.65 MB / 1.126 GB, free: 83.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/1.149, allocations: 6 kB / 1.126 GB, free: 83.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009541/1.15, allocations: 235.6 kB / 1.126 GB, free: 82.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00309/1.153, allocations: 1.419 MB / 1.127 GB, free: 81.49 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001656/1.154, allocations: 43.98 kB / 1.127 GB, free: 81.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01682/1.17, allocations: 17.07 MB / 1.144 GB, free: 63.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.17, allocations: 4 kB / 1.144 GB, free: 63.86 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006603/1.177, allocations: 4.523 MB / 1.148 GB, free: 59.25 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001523/1.179, allocations: 0.6382 MB / 1.149 GB, free: 58.59 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003188/1.179, allocations: 43.95 kB / 1.149 GB, free: 58.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/1.18, allocations: 115.9 kB / 1.149 GB, free: 58.43 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004544/1.181, allocations: 181.6 kB / 1.149 GB, free: 58.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/1.181, allocations: 63.94 kB / 1.15 GB, free: 58.19 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001501/1.182, allocations: 1.292 MB / 1.151 GB, free: 56.89 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.182, allocations: 0 / 1.151 GB, free: 56.89 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003347/1.186, allocations: 1.141 MB / 1.152 GB, free: 55.75 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 (107): * Single equations (assignments): 103 * 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: 4 {(4,100.0%) 18,(6,66.7%) 24,(4,100.0%) 18,(6,66.7%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005952/1.192, allocations: 5.13 MB / 1.157 GB, free: 50.52 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006292/1.198, allocations: 4.675 MB / 1.161 GB, free: 45.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/1.198, allocations: 7.859 kB / 1.161 GB, free: 45.79 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0039/1.202, allocations: 2.919 MB / 1.164 GB, free: 42.82 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00396/1.206, allocations: 0.8497 MB / 1.165 GB, free: 42 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03841/1.244, allocations: 26.18 MB / 1.191 GB, free: 14.18 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003303/1.248, allocations: 3.694 MB / 1.194 GB, free: 10.45 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002034/1.25, allocations: 0.5561 MB / 1.195 GB, free: 9.891 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001728/1.251, allocations: 1.955 MB / 1.197 GB, free: 7.938 MB / 0.698 GB Notification: Performance of SimCode: time 1.032e-06/1.251, allocations: 0 / 1.197 GB, free: 7.938 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1375/1.389, allocations: 82.34 MB / 1.277 GB, free: 6.383 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/1.389, allocations: 238.8 kB / 1.277 GB, free: 6.145 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.244/5.634, allocations: 3.797 kB / 1.277 GB, free: 6.145 MB / 0.7761 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)