Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.412/1.412, allocations: 251.9 MB / 266.9 MB, free: 11 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.00103/0.00103, allocations: 176.6 kB / 326.5 MB, free: 2.23 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.772/1.772, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0009013/0.0009013, allocations: 94.3 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.00037, allocations: 9 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2647, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01142/0.2762, allocations: 12.48 MB / 0.9123 GB, free: 51.31 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01254/0.2888, allocations: 9.446 MB / 0.9216 GB, free: 41.84 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001818/0.2907, allocations: 51.62 kB / 0.9216 GB, free: 41.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008743/0.2916, allocations: 262.3 kB / 0.9219 GB, free: 41.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004993/0.2966, allocations: 1.469 MB / 0.9233 GB, free: 40.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.2983, allocations: 0.5224 MB / 0.9238 GB, free: 39.55 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003066/0.3014, allocations: 1.749 MB / 0.9255 GB, free: 37.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002691/0.3041, allocations: 1.804 MB / 0.9273 GB, free: 35.95 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001832/0.306, allocations: 1.196 MB / 0.9285 GB, free: 34.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.3072, allocations: 0.8561 MB / 0.9293 GB, free: 33.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.3074, allocations: 68 kB / 0.9294 GB, free: 33.83 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.3084, allocations: 383.5 kB / 0.9297 GB, free: 33.45 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003409/0.3088, allocations: 462.6 kB / 0.9302 GB, free: 33 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004035/0.3092, allocations: 360.7 kB / 0.9305 GB, free: 32.64 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002413/0.3116, allocations: 2.073 MB / 0.9325 GB, free: 30.56 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3116, allocations: 0 / 0.9325 GB, free: 30.56 MB / 0.6042 GB Notification: Performance of FrontEnd: time 5.991e-06/0.3117, allocations: 4 kB / 0.9325 GB, free: 30.56 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.445e-05/0.3117, allocations: 0 / 0.9325 GB, free: 30.56 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003747/0.3155, allocations: 1.843 MB / 0.9343 GB, free: 28.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/0.3155, allocations: 12.02 kB / 0.9343 GB, free: 28.65 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000239/0.3158, allocations: 190.2 kB / 0.9345 GB, free: 28.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01071/0.3265, allocations: 2.19 MB / 0.9367 GB, free: 26.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003283/0.3298, allocations: 1.166 MB / 0.9378 GB, free: 25.04 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/0.33, allocations: 82.31 kB / 0.9379 GB, free: 24.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002852/0.3303, allocations: 123.8 kB / 0.938 GB, free: 24.83 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005448/0.3358, allocations: 2.678 MB / 0.9406 GB, free: 22 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.205e-05/0.3358, allocations: 11.94 kB / 0.9406 GB, free: 21.99 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/0.336, allocations: 55.97 kB / 0.9407 GB, free: 21.94 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006298/0.3366, allocations: 194.1 kB / 0.9409 GB, free: 21.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006944/0.3436, allocations: 2.834 MB / 0.9436 GB, free: 18.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01492/0.3585, allocations: 10.56 MB / 0.9539 GB, free: 7.754 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005883/0.3644, allocations: 2.383 MB / 0.9563 GB, free: 5.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.337e-05/0.3645, allocations: 16.98 kB / 0.9563 GB, free: 5.324 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.3646, allocations: 43.56 kB / 0.9563 GB, free: 5.273 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=89): time 3.056e-06/0.3646, allocations: 0 / 0.9563 GB, free: 5.273 MB / 0.6042 GB Notification: Performance of matching and sorting (n=153): time 0.05718/0.4218, allocations: 16.49 MB / 0.9724 GB, free: 4.613 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.378e-05/0.4219, allocations: 64.72 kB / 0.9725 GB, free: 4.539 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/0.4236, allocations: 1.168 MB / 0.9736 GB, free: 3.359 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002572/0.4239, allocations: 49.7 kB / 0.9737 GB, free: 3.305 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005932/0.4245, allocations: 0.7436 MB / 0.9744 GB, free: 2.555 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005509/0.425, allocations: 0.516 MB / 0.9749 GB, free: 2.031 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.4252, allocations: 32 kB / 0.9749 GB, free: 2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.4254, allocations: 365.9 kB / 0.9753 GB, free: 1.637 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003642/0.429, allocations: 1.522 MB / 0.9768 GB, free: 116 kB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003737/0.4328, allocations: 1.788 MB / 0.9785 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003706/0.4365, allocations: 1.646 MB / 0.9801 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.525e-06/0.4365, allocations: 7.938 kB / 0.9801 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01326/0.4498, allocations: 5.289 MB / 0.9853 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.016e-05/0.4499, allocations: 8 kB / 0.9853 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.4499, allocations: 4 kB / 0.9853 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006704/0.4566, allocations: 1.896 MB / 0.9872 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002097/0.4588, allocations: 435.2 kB / 0.9876 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02925/0.488, allocations: 22.84 MB / 1.01 GB, free: 12.99 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003016/0.4911, allocations: 315.6 kB / 1.01 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002134/0.4913, allocations: 63.97 kB / 1.01 GB, free: 12.62 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 17,(3,100.0%) 17,(3,100.0%) 15,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009841/0.4923, allocations: 469.8 kB / 1.011 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003206/0.4926, allocations: 177.9 kB / 1.011 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01396/0.5066, allocations: 5.344 MB / 1.016 GB, free: 6.59 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.173e-05/0.5067, allocations: 16 kB / 1.016 GB, free: 6.574 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.531e-05/0.5068, allocations: 23.88 kB / 1.016 GB, free: 6.551 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.293e-05/0.5068, allocations: 7.969 kB / 1.016 GB, free: 6.543 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01869/0.5255, allocations: 7.454 MB / 1.023 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/0.5256, allocations: 4 kB / 1.023 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001747/0.5274, allocations: 359.4 kB / 1.024 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00595/0.5333, allocations: 1.704 MB / 1.025 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002341/0.5336, allocations: 40.06 kB / 1.025 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02749/0.5611, allocations: 22.05 MB / 1.047 GB, free: 5.734 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.5611, allocations: 11.89 kB / 1.047 GB, free: 5.723 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01364/0.5748, allocations: 5.066 MB / 1.052 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.587/1.162, allocations: 494.4 kB / 1.052 GB, free: 138.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008751/1.163, allocations: 28.69 kB / 1.052 GB, free: 138.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00261/1.165, allocations: 325.6 kB / 1.053 GB, free: 138.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000693/1.166, allocations: 147.9 kB / 1.053 GB, free: 138.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/1.166, allocations: 54.28 kB / 1.053 GB, free: 138.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00129/1.168, allocations: 0.7821 MB / 1.054 GB, free: 138 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.71e-07/1.168, allocations: 1.094 kB / 1.054 GB, free: 138 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002939/1.17, allocations: 0.6557 MB / 1.054 GB, free: 138 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0135/1.184, allocations: 6.389 MB / 1.061 GB, free: 136.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0143/1.198, allocations: 5.178 MB / 1.066 GB, free: 135.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.575e-05/1.198, allocations: 1.375 kB / 1.066 GB, free: 135.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.008914/1.207, allocations: 3.364 MB / 1.069 GB, free: 134.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003029/1.21, allocations: 0.4953 MB / 1.069 GB, free: 134.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03994/1.25, allocations: 20.6 MB / 1.09 GB, free: 125.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00175/1.252, allocations: 1.604 MB / 1.091 GB, free: 125 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002257/1.255, allocations: 387.1 kB / 1.091 GB, free: 124.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009311/1.255, allocations: 0.6611 MB / 1.092 GB, free: 124.4 MB / 0.698 GB Notification: Performance of SimCode: time 8.02e-07/1.255, allocations: 0 / 1.092 GB, free: 124.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09238/1.348, allocations: 56.15 MB / 1.147 GB, free: 73.02 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002285/1.348, allocations: 239.9 kB / 1.147 GB, free: 72.77 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.603/4.951, allocations: 0 / 1.147 GB, free: 72.77 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)