Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.ACLineMatrix_RL,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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.0008163/0.0008164, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.00464/0.00464, allocations: 170 kB / 16.26 MB, free: 6.613 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.265/1.265, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.672/1.672, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0004856/0.0004856, allocations: 16.97 kB / 0.6744 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1946, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02164/0.2163, allocations: 21.79 MB / 0.8093 GB, free: 5.613 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01006/0.2264, allocations: 6.222 MB / 0.8154 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001988/0.2284, allocations: 79.5 kB / 0.8154 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.2297, allocations: 436.7 kB / 0.8159 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003798/0.2335, allocations: 1.541 MB / 0.8174 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002734/0.2362, allocations: 1.091 MB / 0.8184 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008923/0.2452, allocations: 8.849 MB / 0.8271 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0146/0.2598, allocations: 7.186 MB / 0.8341 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004028/0.2639, allocations: 1.766 MB / 0.8358 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003733/0.2677, allocations: 2.605 MB / 0.8384 GB, free: 7.711 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005097/0.2682, allocations: 204 kB / 0.8386 GB, free: 7.512 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002006/0.2702, allocations: 1.022 MB / 0.8395 GB, free: 6.488 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001635/0.2719, allocations: 1.723 MB / 0.8412 GB, free: 4.762 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001942/0.2738, allocations: 1.821 MB / 0.843 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006487/0.2803, allocations: 6.962 MB / 0.8498 GB, free: 11.94 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2803, allocations: 7.938 kB / 0.8498 GB, free: 11.93 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.136e-06/0.2803, allocations: 0 / 0.8498 GB, free: 11.93 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001937/0.2805, allocations: 0 / 0.8498 GB, free: 11.93 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.005679/0.2862, allocations: 3.076 MB / 0.8528 GB, free: 8.797 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.2863, allocations: 12.02 kB / 0.8528 GB, free: 8.785 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007233/0.287, allocations: 0.4976 MB / 0.8533 GB, free: 8.277 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005847/0.2929, allocations: 1.206 MB / 0.8545 GB, free: 7.066 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003563/0.2964, allocations: 2.231 MB / 0.8567 GB, free: 4.777 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001625/0.2966, allocations: 238.4 kB / 0.8569 GB, free: 4.543 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005235/0.2971, allocations: 315.9 kB / 0.8572 GB, free: 4.234 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009298/0.3065, allocations: 6.216 MB / 0.8633 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-05/0.3066, allocations: 15.84 kB / 0.8633 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003389/0.3069, allocations: 136 kB / 0.8634 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004666/0.3074, allocations: 414.2 kB / 0.8638 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007219/0.3146, allocations: 4.658 MB / 0.8684 GB, free: 8.539 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02862/0.3433, allocations: 29.09 MB / 0.8968 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001964/0.3452, allocations: 1.412 MB / 0.8981 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001858/0.3471, allocations: 1.491 MB / 0.8996 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.609e-05/0.3472, allocations: 13 kB / 0.8996 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.3472, allocations: 43.5 kB / 0.8997 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=110): time 3.316e-06/0.3473, allocations: 0 / 0.8997 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=179): time 0.5084/0.8556, allocations: 36.32 MB / 0.9351 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.8558, allocations: 82.27 kB / 0.9352 GB, free: 126.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002492/0.8583, allocations: 1.413 MB / 0.9366 GB, free: 125.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003244/0.8586, allocations: 51.77 kB / 0.9366 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009517/0.8596, allocations: 1.541 MB / 0.9381 GB, free: 124.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006165/0.8602, allocations: 0.6171 MB / 0.9387 GB, free: 124 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00033/0.8606, allocations: 160.1 kB / 0.9389 GB, free: 123.9 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.373e-05/0.8606, allocations: 303.8 kB / 0.9392 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002925/0.8635, allocations: 1.787 MB / 0.9409 GB, free: 123 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002698/0.8663, allocations: 2.354 MB / 0.9432 GB, free: 121.6 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005491/0.8718, allocations: 4.382 MB / 0.9475 GB, free: 119.4 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.381e-05/0.8718, allocations: 9.656 kB / 0.9475 GB, free: 119.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01784/0.8896, allocations: 8.563 MB / 0.9559 GB, free: 114.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.936e-05/0.8897, allocations: 16.44 kB / 0.9559 GB, free: 114.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.539e-05/0.8897, allocations: 15.75 kB / 0.9559 GB, free: 114.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01345/0.9032, allocations: 4.636 MB / 0.9604 GB, free: 112.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.9045, allocations: 300.8 kB / 0.9607 GB, free: 112.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03745/0.942, allocations: 29.48 MB / 0.9895 GB, free: 84.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002437/0.9445, allocations: 143.8 kB / 0.9896 GB, free: 84.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004283/0.9449, allocations: 91.98 kB / 0.9897 GB, free: 84.66 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002722/0.9476, allocations: 1.331 MB / 0.991 GB, free: 83.32 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006056/0.9483, allocations: 193.7 kB / 0.9912 GB, free: 83.13 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01614/0.9644, allocations: 8.441 MB / 0.9995 GB, free: 74.64 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/0.9645, allocations: 20 kB / 0.9995 GB, free: 74.62 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-05/0.9646, allocations: 25.73 kB / 0.9995 GB, free: 74.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.402e-05/0.9646, allocations: 7.969 kB / 0.9995 GB, free: 74.59 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02276/0.9874, allocations: 12.85 MB / 1.012 GB, free: 61.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.435e-05/0.9875, allocations: 8 kB / 1.012 GB, free: 61.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007681/0.9882, allocations: 163.7 kB / 1.012 GB, free: 61.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0131/1.001, allocations: 4.49 MB / 1.017 GB, free: 56.95 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003923/1.002, allocations: 43.22 kB / 1.017 GB, free: 56.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03662/1.038, allocations: 29.09 MB / 1.045 GB, free: 27.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/1.038, allocations: 7.938 kB / 1.045 GB, free: 27.02 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01635/1.055, allocations: 8.24 MB / 1.053 GB, free: 18.65 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001632/1.057, allocations: 0.6196 MB / 1.054 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008134/1.057, allocations: 35.98 kB / 1.054 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001983/1.059, allocations: 135.8 kB / 1.054 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00089/1.06, allocations: 177.5 kB / 1.054 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002263/1.061, allocations: 48 kB / 1.054 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001422/1.062, allocations: 0.9549 MB / 1.055 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.41e-07/1.062, allocations: 0 / 1.055 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004253/1.066, allocations: 1.121 MB / 1.056 GB, free: 15.55 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01516/1.081, allocations: 8.844 MB / 1.065 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01148/1.093, allocations: 6.421 MB / 1.071 GB, free: 84 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.338e-05/1.093, allocations: 8 kB / 1.071 GB, free: 76 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.009817/1.103, allocations: 4.295 MB / 1.075 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004796/1.108, allocations: 499.2 kB / 1.076 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07099/1.179, allocations: 36.72 MB / 1.112 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004571/1.183, allocations: 2.729 MB / 1.114 GB, free: 2.02 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001385/1.185, allocations: 388.6 kB / 1.115 GB, free: 1.637 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001646/1.186, allocations: 1.21 MB / 1.116 GB, free: 436 kB / 0.7794 GB Notification: Performance of SimCode: time 1.804e-06/1.186, allocations: 0 / 1.116 GB, free: 436 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.123/1.309, allocations: 78.74 MB / 1.193 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/1.31, allocations: 253.1 kB / 1.193 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.787/4.096, allocations: 0 / 1.193 GB, free: 1.965 MB / 0.8575 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)