Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.7/1.7, allocations: 288.4 MB / 303.3 MB, free: 8.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009499/0.0009499, allocations: 182.9 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205.4 MB / 0.6307 GB, free: 9.953 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008195/0.0008193, allocations: 77.33 kB / 0.744 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005381/0.0005382, allocations: 13.66 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2429, allocations: 115.3 MB / 0.9797 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02388/0.2669, allocations: 29.61 MB / 1.009 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01795/0.2849, allocations: 9.866 MB / 1.018 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00339/0.2883, allocations: 131.2 kB / 1.018 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002441/0.2908, allocations: 0.6161 MB / 1.019 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005575/0.2964, allocations: 1.469 MB / 1.02 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005028/0.3015, allocations: 1.26 MB / 1.022 GB, free: 472 kB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0129/0.3144, allocations: 8.262 MB / 1.03 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01985/0.3343, allocations: 10.33 MB / 1.04 GB, free: 13.78 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005406/0.3397, allocations: 2.268 MB / 1.042 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005624/0.3454, allocations: 2.893 MB / 1.045 GB, free: 8.602 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001416/0.3469, allocations: 268 kB / 1.045 GB, free: 8.34 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003641/0.3505, allocations: 0.8349 MB / 1.046 GB, free: 7.504 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.004226/0.3548, allocations: 2.042 MB / 1.048 GB, free: 5.457 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002931/0.3577, allocations: 0.9563 MB / 1.049 GB, free: 4.492 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01149/0.3692, allocations: 8.353 MB / 1.057 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.042e-05/0.3693, allocations: 4 kB / 1.057 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.056e-06/0.3693, allocations: 0 / 1.057 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003692/0.3697, allocations: 0 / 1.057 GB, free: 12.11 MB / 0.6823 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.01191/0.3816, allocations: 4.07 MB / 1.061 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.3817, allocations: 8.031 kB / 1.061 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002389/0.3841, allocations: 0.6779 MB / 1.062 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006614/0.3907, allocations: 0.962 MB / 1.063 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006845/0.3976, allocations: 2.796 MB / 1.065 GB, free: 3.453 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004209/0.398, allocations: 345.3 kB / 1.066 GB, free: 3.113 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001788/0.3998, allocations: 467.8 kB / 1.066 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6302/1.03, allocations: 7.622 MB / 1.073 GB, free: 77.91 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001983/1.03, allocations: 25.09 kB / 1.074 GB, free: 77.91 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006299/1.031, allocations: 203.2 kB / 1.074 GB, free: 77.77 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005052/1.031, allocations: 313.8 kB / 1.074 GB, free: 77.73 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01505/1.046, allocations: 5.673 MB / 1.08 GB, free: 75.74 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0469/1.093, allocations: 35.13 MB / 1.114 GB, free: 46.43 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004321/1.098, allocations: 2.144 MB / 1.116 GB, free: 44.97 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002831/1.101, allocations: 1.27 MB / 1.117 GB, free: 44.29 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/1.101, allocations: 14.52 kB / 1.117 GB, free: 44.29 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.692e-05/1.101, allocations: 44.31 kB / 1.117 GB, free: 44.24 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=133): time 5.38e-06/1.101, allocations: 5.469 kB / 1.117 GB, free: 44.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=136): time 0.02064/1.122, allocations: 7.091 MB / 1.124 GB, free: 39.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/1.122, allocations: 66.28 kB / 1.124 GB, free: 39.53 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002965/1.125, allocations: 1.468 MB / 1.126 GB, free: 38.68 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001584/1.125, allocations: 46.27 kB / 1.126 GB, free: 38.63 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001427/1.126, allocations: 2.008 MB / 1.128 GB, free: 36.87 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005694/1.127, allocations: 485.8 kB / 1.128 GB, free: 36.46 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/1.127, allocations: 39.78 kB / 1.128 GB, free: 36.43 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001476/1.127, allocations: 375.3 kB / 1.129 GB, free: 36.08 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002147/1.129, allocations: 0.9094 MB / 1.129 GB, free: 35.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002469/1.132, allocations: 1.588 MB / 1.131 GB, free: 34.21 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00247/1.134, allocations: 1.179 MB / 1.132 GB, free: 33.57 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-05/1.134, allocations: 6.812 kB / 1.132 GB, free: 33.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.009758/1.144, allocations: 3.511 MB / 1.136 GB, free: 31.64 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.791e-05/1.144, allocations: 14.66 kB / 1.136 GB, free: 31.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.247e-05/1.144, allocations: 22.38 kB / 1.136 GB, free: 31.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004013/1.148, allocations: 0.9077 MB / 1.136 GB, free: 31.13 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002059/1.15, allocations: 345.8 kB / 1.137 GB, free: 31.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01669/1.167, allocations: 21.19 MB / 1.158 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/1.169, allocations: 107.1 kB / 1.158 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/1.169, allocations: 82.84 kB / 1.158 GB, free: 11.4 MB / 0.6823 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.003327/1.172, allocations: 1.619 MB / 1.159 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004193/1.173, allocations: 204 kB / 1.159 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00463/1.177, allocations: 2.976 MB / 1.162 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/1.178, allocations: 14 kB / 1.162 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/1.178, allocations: 10.5 kB / 1.162 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/1.178, allocations: 3.984 kB / 1.162 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/1.188, allocations: 7.326 MB / 1.17 GB, free: 1.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/1.188, allocations: 11.31 kB / 1.17 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006926/1.188, allocations: 179.7 kB / 1.17 GB, free: 1.344 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002096/1.191, allocations: 0.8261 MB / 1.171 GB, free: 492 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.141e-05/1.191, allocations: 28 kB / 1.171 GB, free: 464 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01859/1.209, allocations: 20.29 MB / 1.19 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.209, allocations: 4 kB / 1.19 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005368/1.215, allocations: 3.019 MB / 1.193 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/1.216, allocations: 462.5 kB / 1.194 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002363/1.216, allocations: 28 kB / 1.194 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000809/1.217, allocations: 71.91 kB / 1.194 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003659/1.217, allocations: 128.7 kB / 1.194 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.268e-05/1.217, allocations: 36 kB / 1.194 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00145/1.219, allocations: 0.96 MB / 1.195 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.7e-07/1.219, allocations: 0 / 1.195 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003088/1.222, allocations: 0.7929 MB / 1.196 GB, free: 4.91 MB / 0.7136 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.00526/1.227, allocations: 3.596 MB / 1.199 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00628/1.234, allocations: 4.007 MB / 1.203 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/1.234, allocations: 0 / 1.203 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.004065/1.238, allocations: 2.734 MB / 1.206 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003391/1.241, allocations: 0.6706 MB / 1.206 GB, free: 9.496 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03368/1.275, allocations: 19.03 MB / 1.225 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004196/1.279, allocations: 3.112 MB / 1.228 GB, free: 2.168 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001846/1.281, allocations: 457.9 kB / 1.229 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001792/1.283, allocations: 1.55 MB / 1.23 GB, free: 172 kB / 0.7448 GB Notification: Performance of SimCode: time 1.302e-06/1.283, allocations: 4 kB / 1.23 GB, free: 168 kB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1064/1.389, allocations: 59.04 MB / 1.288 GB, free: 5.691 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/1.389, allocations: 240.2 kB / 1.288 GB, free: 5.453 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.632/5.022, allocations: 0 / 1.288 GB, free: 5.453 MB / 0.8073 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)