Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008698/0.0008699, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005311/0.005311, allocations: 169.9 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.645/1.645, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005132/0.0005133, allocations: 13.78 kB / 0.6744 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2108, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02631/0.2371, allocations: 25.66 MB / 0.8131 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01247/0.2496, allocations: 8.033 MB / 0.8209 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001966/0.2516, allocations: 99.44 kB / 0.821 GB, free: 9.559 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001525/0.2532, allocations: 0.531 MB / 0.8215 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0036/0.2568, allocations: 1.493 MB / 0.823 GB, free: 7.523 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003058/0.2599, allocations: 1.399 MB / 0.8244 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007802/0.2677, allocations: 8.7 MB / 0.8329 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01347/0.2812, allocations: 9.164 MB / 0.8418 GB, free: 4.156 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003025/0.2842, allocations: 1.851 MB / 0.8436 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003652/0.2879, allocations: 2.456 MB / 0.846 GB, free: 15.83 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0007857/0.2887, allocations: 212 kB / 0.8462 GB, free: 15.62 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00269/0.2914, allocations: 1.201 MB / 0.8474 GB, free: 14.42 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00211/0.2935, allocations: 1.672 MB / 0.849 GB, free: 12.75 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002633/0.2961, allocations: 1.953 MB / 0.8509 GB, free: 10.78 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.008954/0.3051, allocations: 7.682 MB / 0.8584 GB, free: 3.07 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3051, allocations: 3.938 kB / 0.8584 GB, free: 3.066 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3052, allocations: 0 / 0.8584 GB, free: 3.066 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.000204/0.3054, allocations: 0 / 0.8584 GB, free: 3.066 MB / 0.67 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.007368/0.3127, allocations: 3.421 MB / 0.8618 GB, free: 15.58 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.3128, allocations: 12.03 kB / 0.8618 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001232/0.314, allocations: 0.5343 MB / 0.8623 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004373/0.3184, allocations: 0.8039 MB / 0.8631 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004064/0.3225, allocations: 2.424 MB / 0.8655 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001857/0.3227, allocations: 275.6 kB / 0.8657 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006967/0.3234, allocations: 372.4 kB / 0.8661 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008677/0.3321, allocations: 5.996 MB / 0.8719 GB, free: 4.855 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.728e-05/0.3322, allocations: 15.94 kB / 0.8719 GB, free: 4.84 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003488/0.3326, allocations: 156 kB / 0.8721 GB, free: 4.688 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005275/0.3331, allocations: 294.8 kB / 0.8724 GB, free: 4.398 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006496/0.3396, allocations: 4.516 MB / 0.8768 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02536/0.365, allocations: 27.7 MB / 0.9038 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.3667, allocations: 1.122 MB / 0.9049 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/0.3681, allocations: 1.034 MB / 0.9059 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.023e-05/0.3682, allocations: 9 kB / 0.9059 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.3682, allocations: 51.55 kB / 0.906 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=110): time 2.905e-06/0.3682, allocations: 0 / 0.906 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=131): time 0.02136/0.3896, allocations: 9.663 MB / 0.9154 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.3897, allocations: 72.7 kB / 0.9155 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001902/0.3916, allocations: 1.494 MB / 0.917 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001328/0.3917, allocations: 49.7 kB / 0.917 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001169/0.3929, allocations: 1.663 MB / 0.9186 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003889/0.3933, allocations: 477.2 kB / 0.9191 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/0.3935, allocations: 141.6 kB / 0.9192 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.344e-05/0.3936, allocations: 305.1 kB / 0.9195 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/0.3949, allocations: 0.9174 MB / 0.9204 GB, free: 408 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3333/0.7282, allocations: 1.463 MB / 0.9218 GB, free: 123.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003442/0.7316, allocations: 2.543 MB / 0.9243 GB, free: 123.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/0.7317, allocations: 8.438 kB / 0.9243 GB, free: 123.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005466/0.7371, allocations: 3.288 MB / 0.9275 GB, free: 122.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.7372, allocations: 11.81 kB / 0.9275 GB, free: 122.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/0.7372, allocations: 20.47 kB / 0.9276 GB, free: 122.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001938/0.7392, allocations: 0.7354 MB / 0.9283 GB, free: 122.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/0.7405, allocations: 383 kB / 0.9287 GB, free: 122.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01106/0.7516, allocations: 15.77 MB / 0.944 GB, free: 108.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.753, allocations: 100.3 kB / 0.9441 GB, free: 108.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.7532, allocations: 80.91 kB / 0.9442 GB, free: 108.7 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001902/0.7551, allocations: 1.305 MB / 0.9455 GB, free: 108.1 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002417/0.7553, allocations: 205.3 kB / 0.9457 GB, free: 108.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004971/0.7603, allocations: 2.785 MB / 0.9484 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.7603, allocations: 14.67 kB / 0.9484 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.7603, allocations: 11 kB / 0.9484 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.7604, allocations: 6.234 kB / 0.9484 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009557/0.7699, allocations: 6.22 MB / 0.9545 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.77, allocations: 9.562 kB / 0.9545 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.7711, allocations: 230.8 kB / 0.9547 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00181/0.7729, allocations: 0.6686 MB / 0.9554 GB, free: 104.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-05/0.773, allocations: 33 kB / 0.9554 GB, free: 104.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0105/0.7835, allocations: 15.53 MB / 0.9706 GB, free: 90.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.7835, allocations: 9.5 kB / 0.9706 GB, free: 90.69 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005485/0.789, allocations: 4.008 MB / 0.9745 GB, free: 88.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007999/0.7898, allocations: 459.8 kB / 0.975 GB, free: 88.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003336/0.7901, allocations: 32.19 kB / 0.975 GB, free: 88.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009723/0.7911, allocations: 83.17 kB / 0.9751 GB, free: 88.57 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002496/0.7914, allocations: 122.8 kB / 0.9752 GB, free: 88.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.802e-05/0.7915, allocations: 37.84 kB / 0.9752 GB, free: 88.53 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001378/0.7929, allocations: 0.9951 MB / 0.9762 GB, free: 88.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.272e-06/0.7929, allocations: 0 / 0.9762 GB, free: 88.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002141/0.795, allocations: 0.6858 MB / 0.9769 GB, free: 88.11 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005199/0.8002, allocations: 4.6 MB / 0.9813 GB, free: 85.14 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004371/0.8046, allocations: 3.507 MB / 0.9848 GB, free: 82.83 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.8046, allocations: 0.875 kB / 0.9848 GB, free: 82.83 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002441/0.8071, allocations: 2.29 MB / 0.987 GB, free: 81.11 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0036/0.8107, allocations: 0.6191 MB / 0.9876 GB, free: 80.81 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0277/0.8384, allocations: 24.35 MB / 1.011 GB, free: 56.77 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002117/0.8405, allocations: 2.668 MB / 1.014 GB, free: 54.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001312/0.8419, allocations: 485.4 kB / 1.014 GB, free: 53.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/0.843, allocations: 1.284 MB / 1.016 GB, free: 52.3 MB / 0.7325 GB Notification: Performance of SimCode: time 7.21e-07/0.843, allocations: 0 / 1.016 GB, free: 52.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0662/0.9092, allocations: 54.21 MB / 1.069 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/0.9094, allocations: 256.2 kB / 1.069 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.733/3.642, allocations: 0 / 1.069 GB, free: 14.55 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)