Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009915/0.0009917, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009993/0.0009993, allocations: 190.2 kB / 16.14 MB, free: 6.664 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.235/1.235, 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.599/1.599, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001345/0.001345, allocations: 69.05 kB / 0.6709 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1841, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01459/0.1987, allocations: 14.57 MB / 0.797 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01302/0.2118, allocations: 10.45 MB / 0.8072 GB, free: 4.812 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.2129, allocations: 55.62 kB / 0.8073 GB, free: 4.758 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003458/0.2164, allocations: 1.59 MB / 0.8088 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004501/0.2209, allocations: 1.593 MB / 0.8104 GB, free: 1.574 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.2225, allocations: 0.6931 MB / 0.8111 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00339/0.2259, allocations: 3.401 MB / 0.8144 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001624/0.2276, allocations: 1.364 MB / 0.8157 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001593/0.2292, allocations: 1.386 MB / 0.8171 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/0.2304, allocations: 1.164 MB / 0.8182 GB, free: 9.512 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001752/0.2306, allocations: 96 kB / 0.8183 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001423/0.232, allocations: 0.8773 MB / 0.8192 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004539/0.2325, allocations: 0.5529 MB / 0.8197 GB, free: 7.984 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007591/0.2333, allocations: 0.8897 MB / 0.8206 GB, free: 7.09 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002182/0.2355, allocations: 2.733 MB / 0.8232 GB, free: 4.348 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2355, allocations: 0 / 0.8232 GB, free: 4.348 MB / 0.6387 GB Notification: Performance of FrontEnd: time 8.42e-07/0.2355, allocations: 0 / 0.8232 GB, free: 4.348 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.071e-05/0.2355, allocations: 0 / 0.8232 GB, free: 4.348 MB / 0.6387 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.003327/0.2388, allocations: 2.17 MB / 0.8254 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.2389, allocations: 8.031 kB / 0.8254 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002181/0.2391, allocations: 198.3 kB / 0.8256 GB, free: 1.91 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01053/0.2496, allocations: 2.109 MB / 0.8276 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002023/0.2517, allocations: 1.213 MB / 0.8288 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.222e-05/0.2518, allocations: 90.67 kB / 0.8289 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002199/0.252, allocations: 127.8 kB / 0.829 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005016/0.257, allocations: 2.674 MB / 0.8316 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.489e-05/0.2571, allocations: 7.938 kB / 0.8316 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001577/0.2572, allocations: 51.98 kB / 0.8317 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005616/0.2578, allocations: 194.1 kB / 0.8319 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006611/0.2644, allocations: 2.791 MB / 0.8346 GB, free: 8.438 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01272/0.2771, allocations: 10.5 MB / 0.8448 GB, free: 13.36 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005782/0.2829, allocations: 2.344 MB / 0.8471 GB, free: 10.98 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00276/0.2857, allocations: 1.275 MB / 0.8484 GB, free: 9.707 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 6.84e-05/0.2858, allocations: 9 kB / 0.8484 GB, free: 9.699 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.2858, allocations: 43.56 kB / 0.8484 GB, free: 9.648 MB / 0.67 GB Notification: Performance of pre-optimization done (n=89): time 2.715e-06/0.2858, allocations: 4 kB / 0.8484 GB, free: 9.645 MB / 0.67 GB Notification: Performance of matching and sorting (n=153): time 0.05539/0.3412, allocations: 16.48 MB / 0.8645 GB, free: 9 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.3413, allocations: 72.72 kB / 0.8646 GB, free: 8.914 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/0.3428, allocations: 1.176 MB / 0.8657 GB, free: 7.727 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001754/0.343, allocations: 53.7 kB / 0.8658 GB, free: 7.668 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004898/0.3435, allocations: 0.7397 MB / 0.8665 GB, free: 6.922 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000433/0.3439, allocations: 0.516 MB / 0.867 GB, free: 6.398 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005432/0.3444, allocations: 287.4 kB / 0.8673 GB, free: 6.109 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.26e-05/0.3445, allocations: 305.1 kB / 0.8676 GB, free: 5.809 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003152/0.3477, allocations: 1.507 MB / 0.8691 GB, free: 4.301 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003264/0.351, allocations: 1.784 MB / 0.8708 GB, free: 2.422 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006463/0.3574, allocations: 3.369 MB / 0.8741 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.3575, allocations: 4 kB / 0.8741 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01229/0.3697, allocations: 5.273 MB / 0.8792 GB, free: 9.637 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.3698, allocations: 8 kB / 0.8793 GB, free: 9.629 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.3698, allocations: 8 kB / 0.8793 GB, free: 9.621 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006698/0.3765, allocations: 1.878 MB / 0.8811 GB, free: 7.719 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001705/0.3782, allocations: 423.2 kB / 0.8815 GB, free: 7.305 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02526/0.4035, allocations: 22.19 MB / 0.9032 GB, free: 64 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002426/0.406, allocations: 307.5 kB / 0.9035 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/0.4062, allocations: 67.95 kB / 0.9035 GB, free: 15.7 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007902/0.407, allocations: 462.2 kB / 0.904 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003001/0.4073, allocations: 177.8 kB / 0.9041 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01235/0.4196, allocations: 5.32 MB / 0.9093 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.4197, allocations: 12 kB / 0.9093 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-05/0.4197, allocations: 20 kB / 0.9094 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.4197, allocations: 11.97 kB / 0.9094 GB, free: 9.648 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01485/0.4346, allocations: 7.426 MB / 0.9166 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.4346, allocations: 4 kB / 0.9166 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001493/0.4361, allocations: 351.4 kB / 0.917 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005699/0.4418, allocations: 1.706 MB / 0.9186 GB, free: 20 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.287/0.7288, allocations: 43.47 kB / 0.9187 GB, free: 129.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0202/0.749, allocations: 21.34 MB / 0.9395 GB, free: 117 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.7491, allocations: 2.125 kB / 0.9395 GB, free: 117 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01072/0.7598, allocations: 4.89 MB / 0.9443 GB, free: 115.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007227/0.7605, allocations: 498.8 kB / 0.9448 GB, free: 115.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002451/0.7608, allocations: 29.45 kB / 0.9448 GB, free: 115 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001838/0.7626, allocations: 321.6 kB / 0.9451 GB, free: 115 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004141/0.763, allocations: 151.5 kB / 0.9452 GB, free: 115 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/0.7632, allocations: 52.38 kB / 0.9453 GB, free: 115 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000969/0.7641, allocations: 0.7894 MB / 0.9461 GB, free: 114.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7642, allocations: 0 / 0.9461 GB, free: 114.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001948/0.7661, allocations: 0.659 MB / 0.9467 GB, free: 114.6 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01019/0.7763, allocations: 5.48 MB / 0.9521 GB, free: 112.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008725/0.785, allocations: 5.13 MB / 0.9571 GB, free: 110.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.7851, allocations: 0.7188 kB / 0.9571 GB, free: 110.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005361/0.7904, allocations: 3.342 MB / 0.9603 GB, free: 108.4 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/0.7923, allocations: 0.5202 MB / 0.9608 GB, free: 108.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03498/0.8273, allocations: 23.62 MB / 0.9839 GB, free: 91.23 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00072/0.828, allocations: 1.569 MB / 0.9854 GB, free: 89.62 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001272/0.8293, allocations: 389.4 kB / 0.9858 GB, free: 89.25 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006428/0.83, allocations: 0.6515 MB / 0.9865 GB, free: 88.6 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.83, allocations: 0 / 0.9865 GB, free: 88.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.017/2.847, allocations: 56.61 MB / 1.042 GB, free: 32.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/2.847, allocations: 247.8 kB / 1.042 GB, free: 32.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.271/6.118, allocations: 3.625 kB / 1.042 GB, free: 32.45 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)