Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.001113/0.001113, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001291/0.001291, allocations: 199.2 kB / 16.14 MB, free: 6.254 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.419/1.419, allocations: 205.1 MB / 222 MB, free: 4.734 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.612/1.612, allocations: 292.3 MB / 0.5484 GB, free: 13.64 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.001397/0.001396, allocations: 61.06 kB / 0.6709 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.227, allocations: 114.6 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.0308/0.2579, allocations: 30.39 MB / 0.8125 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01909/0.277, allocations: 13.62 MB / 0.8258 GB, free: 1.738 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002983/0.28, allocations: 135.2 kB / 0.8259 GB, free: 1.605 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.007309/0.2874, allocations: 2.95 MB / 0.8288 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007118/0.2945, allocations: 2.487 MB / 0.8312 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005024/0.2995, allocations: 1.84 MB / 0.833 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01104/0.3106, allocations: 10.43 MB / 0.8432 GB, free: 15.85 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01261/0.3232, allocations: 9.046 MB / 0.852 GB, free: 6.688 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005334/0.3286, allocations: 2.974 MB / 0.8549 GB, free: 3.703 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005445/0.3341, allocations: 3.43 MB / 0.8583 GB, free: 268 kB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001241/0.3353, allocations: 400 kB / 0.8587 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003493/0.3388, allocations: 1.533 MB / 0.8602 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002519/0.3414, allocations: 2.163 MB / 0.8623 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003951/0.3453, allocations: 2.648 MB / 0.8649 GB, free: 9.508 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.009912/0.3553, allocations: 9.305 MB / 0.874 GB, free: 180 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.3553, allocations: 0 / 0.874 GB, free: 180 kB / 0.6856 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3553, allocations: 0 / 0.874 GB, free: 180 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0003261/0.3557, allocations: 0 / 0.874 GB, free: 180 kB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01267/0.3683, allocations: 5.132 MB / 0.879 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.3684, allocations: 12.03 kB / 0.879 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001139/0.3695, allocations: 0.6203 MB / 0.8796 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006054/0.3756, allocations: 0.9942 MB / 0.8806 GB, free: 9.32 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006747/0.3824, allocations: 2.896 MB / 0.8834 GB, free: 6.344 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002096/0.3826, allocations: 312.9 kB / 0.8837 GB, free: 6.035 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008277/0.3834, allocations: 419.8 kB / 0.8841 GB, free: 5.625 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01139/0.3948, allocations: 6.799 MB / 0.8907 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001034/0.395, allocations: 15.84 kB / 0.8907 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004228/0.3954, allocations: 184 kB / 0.8909 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007841/0.3962, allocations: 376 kB / 0.8913 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008427/0.4046, allocations: 5.114 MB / 0.8963 GB, free: 8.832 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4534/0.8581, allocations: 30.73 MB / 0.9263 GB, free: 113.2 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/0.8602, allocations: 1.386 MB / 0.9276 GB, free: 113.1 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001661/0.8619, allocations: 1.329 MB / 0.9289 GB, free: 113.1 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.089e-05/0.862, allocations: 16.56 kB / 0.9289 GB, free: 113.1 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.862, allocations: 52.97 kB / 0.929 GB, free: 113.1 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=130): time 2.955e-06/0.862, allocations: 1.281 kB / 0.929 GB, free: 113.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=199): time 0.08191/0.944, allocations: 23.07 MB / 0.9515 GB, free: 109.4 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.944, allocations: 76.12 kB / 0.9516 GB, free: 109.4 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002577/0.9466, allocations: 2.064 MB / 0.9536 GB, free: 108.3 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002786/0.9469, allocations: 56.05 kB / 0.9537 GB, free: 108.2 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009814/0.9479, allocations: 2.013 MB / 0.9556 GB, free: 106.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004882/0.9484, allocations: 0.6715 MB / 0.9563 GB, free: 105.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006685/0.9491, allocations: 419.4 kB / 0.9567 GB, free: 105.6 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.735e-05/0.9491, allocations: 301.1 kB / 0.957 GB, free: 105.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001638/0.9508, allocations: 1.425 MB / 0.9584 GB, free: 104.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001818/0.9526, allocations: 2.021 MB / 0.9603 GB, free: 103.1 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003698/0.9563, allocations: 3.693 MB / 0.964 GB, free: 100.6 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.9563, allocations: 3.969 kB / 0.964 GB, free: 100.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009267/0.9656, allocations: 5.658 MB / 0.9695 GB, free: 97.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.9656, allocations: 15.52 kB / 0.9695 GB, free: 97.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.9657, allocations: 19.19 kB / 0.9695 GB, free: 97.42 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006103/0.9718, allocations: 2.077 MB / 0.9715 GB, free: 96.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.9731, allocations: 382 kB / 0.9719 GB, free: 96.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02651/0.9997, allocations: 35.51 MB / 1.007 GB, free: 60.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002471/1.002, allocations: 123.9 kB / 1.007 GB, free: 60.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001993/1.002, allocations: 92 kB / 1.007 GB, free: 60.21 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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%), (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 prepare postOptimizeDAE: time 0.002188/1.005, allocations: 1.507 MB / 1.008 GB, free: 58.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004757/1.005, allocations: 280.7 kB / 1.009 GB, free: 58.42 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008501/1.014, allocations: 5.219 MB / 1.014 GB, free: 53.12 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/1.014, allocations: 24 kB / 1.014 GB, free: 53.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-05/1.014, allocations: 20 kB / 1.014 GB, free: 53.08 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/1.014, allocations: 11.95 kB / 1.014 GB, free: 53.07 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01424/1.028, allocations: 9.668 MB / 1.023 GB, free: 43.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/1.028, allocations: 8 kB / 1.023 GB, free: 43.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007742/1.029, allocations: 215.6 kB / 1.023 GB, free: 43.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005403/1.034, allocations: 1.843 MB / 1.025 GB, free: 41.13 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000168/1.034, allocations: 36 kB / 1.025 GB, free: 41.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0254/1.06, allocations: 34.51 MB / 1.059 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/1.06, allocations: 15.94 kB / 1.059 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008399/1.068, allocations: 4.916 MB / 1.064 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001608/1.07, allocations: 0.6109 MB / 1.064 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000454/1.07, allocations: 39.91 kB / 1.064 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/1.072, allocations: 131.8 kB / 1.064 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005988/1.072, allocations: 193.5 kB / 1.065 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/1.072, allocations: 56 kB / 1.065 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001835/1.074, allocations: 1.382 MB / 1.066 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/1.074, allocations: 0 / 1.066 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003387/1.078, allocations: 1.047 MB / 1.067 GB, free: 11.68 MB / 0.7481 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009281/1.087, allocations: 5.527 MB / 1.072 GB, free: 5.988 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.009806/1.097, allocations: 6.268 MB / 1.079 GB, free: 15.5 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/1.097, allocations: 0.875 kB / 1.079 GB, free: 15.5 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.006494/1.103, allocations: 4.399 MB / 1.083 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004201/1.108, allocations: 0.913 MB / 1.084 GB, free: 9.992 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05645/1.164, allocations: 35.96 MB / 1.119 GB, free: 3.559 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003384/1.167, allocations: 3.119 MB / 1.122 GB, free: 416 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001892/1.169, allocations: 0.5198 MB / 1.122 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001812/1.171, allocations: 1.671 MB / 1.124 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of SimCode: time 2.996e-06/1.171, allocations: 4 kB / 1.124 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1201/1.291, allocations: 87.21 MB / 1.209 GB, free: 8.051 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/1.291, allocations: 249.6 kB / 1.209 GB, free: 7.793 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.388/4.679, allocations: 0 / 1.209 GB, free: 7.793 MB / 0.8887 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)