Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.4/2.4, allocations: 251 MB / 265.9 MB, free: 11.67 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.001546/0.001546, allocations: 184.2 kB / 325.5 MB, free: 2.875 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.348/2.348, allocations: 205.4 MB / 0.5764 GB, free: 20.84 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.0011/0.0011, allocations: 98.36 kB / 0.6809 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006386/0.0006387, allocations: 13.03 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2307, allocations: 106.3 MB / 0.8988 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9893/1.22, allocations: 188.5 MB / 1.083 GB, free: 54.53 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003564/1.22, allocations: 101 kB / 1.083 GB, free: 54.53 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5491/1.77, allocations: 146.4 MB / 1.226 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.625e-06/1.77, allocations: 4 kB / 1.226 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004124/1.77, allocations: 98.88 kB / 1.226 GB, free: 10.58 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01622/1.786, allocations: 3.503 MB / 1.23 GB, free: 7.031 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/1.786, allocations: 8.031 kB / 1.23 GB, free: 7.023 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003005/1.789, allocations: 0.5416 MB / 1.23 GB, free: 6.48 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009117/1.799, allocations: 0.8342 MB / 1.231 GB, free: 5.641 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01015/1.809, allocations: 2.563 MB / 1.233 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004676/1.809, allocations: 271.1 kB / 1.234 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002442/1.812, allocations: 379.2 kB / 1.234 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02088/1.833, allocations: 5.708 MB / 1.24 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002181/1.833, allocations: 23.88 kB / 1.24 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001093/1.834, allocations: 159.7 kB / 1.24 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003871/1.835, allocations: 215 kB / 1.24 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01469/1.849, allocations: 4.122 MB / 1.244 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05119/1.9, allocations: 27.67 MB / 1.271 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003035/1.904, allocations: 1.097 MB / 1.272 GB, free: 8.738 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001743/1.904, allocations: 13 kB / 1.272 GB, free: 8.727 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/1.904, allocations: 47.56 kB / 1.272 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=110): time 4.709e-06/1.904, allocations: 0 / 1.272 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of matching and sorting (n=131): time 0.03967/1.944, allocations: 9.544 MB / 1.281 GB, free: 14.92 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.702e-05/1.944, allocations: 64.72 kB / 1.282 GB, free: 14.84 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003077/1.947, allocations: 1.274 MB / 1.283 GB, free: 13.57 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0003636/1.947, allocations: 53.58 kB / 1.283 GB, free: 13.52 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001672/1.949, allocations: 1.67 MB / 1.284 GB, free: 11.83 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.000906/1.95, allocations: 468.9 kB / 1.285 GB, free: 11.37 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/1.95, allocations: 36 kB / 1.285 GB, free: 11.34 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002267/1.95, allocations: 373.9 kB / 1.285 GB, free: 10.96 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002351/1.953, allocations: 0.8745 MB / 1.286 GB, free: 10.09 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002901/1.956, allocations: 1.468 MB / 1.288 GB, free: 8.359 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002897/1.959, allocations: 1.115 MB / 1.289 GB, free: 7.242 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.551e-05/1.959, allocations: 4 kB / 1.289 GB, free: 7.238 MB / 0.7917 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.01067/1.969, allocations: 3.231 MB / 1.292 GB, free: 3.969 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 4.612e-05/1.969, allocations: 12 kB / 1.292 GB, free: 3.957 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.809e-05/1.969, allocations: 20 kB / 1.292 GB, free: 3.938 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003897/1.973, allocations: 0.7146 MB / 1.293 GB, free: 3.195 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003346/1.977, allocations: 399.4 kB / 1.293 GB, free: 2.805 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02434/2.001, allocations: 15.86 MB / 1.308 GB, free: 1.742 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002652/2.004, allocations: 99.91 kB / 1.309 GB, free: 1.645 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002229/2.004, allocations: 88.05 kB / 1.309 GB, free: 1.559 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * 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 (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(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%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003729/2.008, allocations: 1.311 MB / 1.31 GB, free: 244 kB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006539/2.008, allocations: 201.6 kB / 1.31 GB, free: 40 kB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008641/2.017, allocations: 2.75 MB / 1.313 GB, free: 13.25 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.276e-05/2.017, allocations: 12 kB / 1.313 GB, free: 13.24 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.788e-05/2.017, allocations: 8 kB / 1.313 GB, free: 13.23 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.316e-05/2.017, allocations: 3.984 kB / 1.313 GB, free: 13.23 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01866/2.036, allocations: 6.079 MB / 1.319 GB, free: 7.004 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/2.036, allocations: 4 kB / 1.319 GB, free: 7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002475/2.038, allocations: 243.6 kB / 1.319 GB, free: 6.762 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003451/2.042, allocations: 0.644 MB / 1.32 GB, free: 6.09 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002847/2.042, allocations: 28.25 kB / 1.32 GB, free: 6.062 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0224/2.065, allocations: 15.58 MB / 1.335 GB, free: 5.289 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.346e-05/2.065, allocations: 15.92 kB / 1.335 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01107/2.076, allocations: 4.265 MB / 1.339 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001665/2.078, allocations: 442.6 kB / 1.339 GB, free: 340 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004603/2.078, allocations: 39.98 kB / 1.339 GB, free: 300 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001613/2.08, allocations: 79.89 kB / 1.34 GB, free: 220 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004573/2.08, allocations: 120.7 kB / 1.34 GB, free: 100 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/2.08, allocations: 36 kB / 1.34 GB, free: 64 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002257/2.083, allocations: 0.9708 MB / 1.341 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-07/2.083, allocations: 0 / 1.341 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003887/2.086, allocations: 0.7109 MB / 1.341 GB, free: 14.39 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0123/2.099, allocations: 6.208 MB / 1.347 GB, free: 7.984 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008699/2.108, allocations: 3.441 MB / 1.351 GB, free: 4.422 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/2.108, allocations: 384 / 1.351 GB, free: 4.422 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005346/2.113, allocations: 2.256 MB / 1.353 GB, free: 2.051 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004626/2.118, allocations: 0.5717 MB / 1.354 GB, free: 1.48 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05294/2.171, allocations: 30.55 MB / 1.383 GB, free: 1.703 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.6546/2.825, allocations: 2.734 MB / 1.386 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002899/2.828, allocations: 480 kB / 1.386 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002992/2.831, allocations: 1.276 MB / 1.388 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.643e-06/2.831, allocations: 0 / 1.388 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1811/3.012, allocations: 53.76 MB / 1.44 GB, free: 235.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003024/3.013, allocations: 220.9 kB / 1.44 GB, free: 235.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.213/7.226, allocations: 3.438 kB / 1.44 GB, free: 235.2 MB / 0.8855 GB