Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",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.0007818/0.0007818, allocations: 91.84 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.005148/0.005148, 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.341/1.341, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.614/1.614, 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.0005348/0.000535, allocations: 17.95 kB / 0.6744 GB, free: 25.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2338, 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_N): time 0.02381/0.2577, allocations: 22.58 MB / 0.8101 GB, free: 4.812 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01213/0.2698, allocations: 6.493 MB / 0.8164 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002391/0.2723, allocations: 79.5 kB / 0.8165 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0016/0.2739, allocations: 472.5 kB / 0.8169 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004335/0.2783, allocations: 1.739 MB / 0.8186 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003066/0.2813, allocations: 1.198 MB / 0.8198 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009799/0.2912, allocations: 10.61 MB / 0.8301 GB, free: 188 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01179/0.303, allocations: 8.058 MB / 0.838 GB, free: 8.043 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00386/0.3068, allocations: 2.085 MB / 0.8401 GB, free: 5.949 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005246/0.3121, allocations: 3.185 MB / 0.8432 GB, free: 2.754 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001058/0.3132, allocations: 244 kB / 0.8434 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003258/0.3164, allocations: 1.057 MB / 0.8444 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003418/0.3199, allocations: 2.112 MB / 0.8465 GB, free: 15.34 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003981/0.3239, allocations: 2.124 MB / 0.8486 GB, free: 13.2 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007481/0.3314, allocations: 8.138 MB / 0.8565 GB, free: 5.035 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.3314, allocations: 0 / 0.8565 GB, free: 5.035 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3314, allocations: 0 / 0.8565 GB, free: 5.035 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001921/0.3316, allocations: 4 kB / 0.8565 GB, free: 5.031 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.006584/0.3382, allocations: 3.562 MB / 0.86 GB, free: 1.402 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.3382, allocations: 12.02 kB / 0.86 GB, free: 1.391 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008892/0.3391, allocations: 0.5714 MB / 0.8606 GB, free: 0.8086 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008179/0.3473, allocations: 1.685 MB / 0.8622 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004542/0.3519, allocations: 2.571 MB / 0.8647 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001964/0.3521, allocations: 275.7 kB / 0.865 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006708/0.3528, allocations: 368.2 kB / 0.8653 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01089/0.3637, allocations: 7.49 MB / 0.8727 GB, free: 4.105 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.522e-05/0.3638, allocations: 15.84 kB / 0.8727 GB, free: 4.09 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004124/0.3642, allocations: 155.9 kB / 0.8728 GB, free: 3.938 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005582/0.3648, allocations: 495.3 kB / 0.8733 GB, free: 3.453 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008738/0.3735, allocations: 5.697 MB / 0.8789 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03062/0.4041, allocations: 31.69 MB / 0.9098 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002715/0.4069, allocations: 2.09 MB / 0.9118 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002669/0.4096, allocations: 2.163 MB / 0.9139 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001173/0.4097, allocations: 25.3 kB / 0.914 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.4098, allocations: 47.81 kB / 0.914 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 4.649e-06/0.4098, allocations: 3.984 kB / 0.914 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of matching and sorting (n=251): time 0.6854/1.095, allocations: 75.27 MB / 0.9875 GB, free: 86.76 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/1.095, allocations: 81.41 kB / 0.9876 GB, free: 86.67 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001953/1.097, allocations: 1.662 MB / 0.9892 GB, free: 84.96 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000374/1.098, allocations: 69.7 kB / 0.9893 GB, free: 84.89 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007462/1.098, allocations: 1.749 MB / 0.991 GB, free: 83.12 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007561/1.099, allocations: 0.8569 MB / 0.9918 GB, free: 82.28 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003768/1.1, allocations: 207 kB / 0.992 GB, free: 82.07 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.181e-05/1.1, allocations: 301.1 kB / 0.9923 GB, free: 81.77 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002938/1.103, allocations: 2.73 MB / 0.995 GB, free: 79.04 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003151/1.106, allocations: 3.332 MB / 0.9982 GB, free: 75.46 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006364/1.112, allocations: 6.388 MB / 1.004 GB, free: 68.84 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/1.112, allocations: 11.94 kB / 1.004 GB, free: 68.83 MB / 0.7325 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.0281/1.14, allocations: 14.68 MB / 1.019 GB, free: 54.11 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/1.14, allocations: 16.98 kB / 1.019 GB, free: 54.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.443e-05/1.14, allocations: 16 kB / 1.019 GB, free: 54.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0271/1.167, allocations: 9.241 MB / 1.028 GB, free: 44.81 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/1.169, allocations: 299.4 kB / 1.028 GB, free: 44.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06116/1.23, allocations: 47.14 MB / 1.074 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002774/1.233, allocations: 227.7 kB / 1.074 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002314/1.233, allocations: 96 kB / 1.075 GB, free: 12.25 MB / 0.7481 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002545/1.235, allocations: 1.591 MB / 1.076 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004358/1.236, allocations: 245.1 kB / 1.076 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03204/1.268, allocations: 14.74 MB / 1.091 GB, free: 11.61 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.832e-05/1.268, allocations: 32 kB / 1.091 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001135/1.268, allocations: 44 kB / 1.091 GB, free: 11.53 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.702e-05/1.268, allocations: 13.83 kB / 1.091 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04143/1.309, allocations: 20.52 MB / 1.111 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.418e-05/1.31, allocations: 8 kB / 1.111 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007559/1.31, allocations: 163.8 kB / 1.111 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02891/1.339, allocations: 9.005 MB / 1.12 GB, free: 13.65 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003074/1.34, allocations: 48 kB / 1.12 GB, free: 13.61 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07048/1.41, allocations: 46.75 MB / 1.165 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/1.41, allocations: 11.94 kB / 1.165 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03097/1.441, allocations: 14.36 MB / 1.18 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001705/1.443, allocations: 0.8503 MB / 1.18 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003922/1.443, allocations: 51.98 kB / 1.18 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002075/1.445, allocations: 207.7 kB / 1.181 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001161/1.446, allocations: 237.5 kB / 1.181 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002023/1.447, allocations: 68 kB / 1.181 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001432/1.448, allocations: 1.125 MB / 1.182 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/1.448, allocations: 0 / 1.182 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.004061/1.452, allocations: 1.617 MB / 1.184 GB, free: 11.34 MB / 0.8575 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0316/1.484, allocations: 14.98 MB / 1.198 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.02206/1.506, allocations: 10.36 MB / 1.208 GB, free: 1.793 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/1.506, allocations: 4 kB / 1.208 GB, free: 1.789 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.01727/1.523, allocations: 7.171 MB / 1.215 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004323/1.528, allocations: 0.5178 MB / 1.216 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09743/1.625, allocations: 55.13 MB / 1.27 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3241/1.949, allocations: 3.219 MB / 1.273 GB, free: 310.2 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001096/1.95, allocations: 389.9 kB / 1.273 GB, free: 310.2 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001472/1.952, allocations: 1.465 MB / 1.275 GB, free: 310.2 MB / 0.9356 GB Notification: Performance of SimCode: time 5.71e-07/1.952, allocations: 0 / 1.275 GB, free: 310.2 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2087/2.16, allocations: 113.3 MB / 1.385 GB, free: 234.7 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/2.161, allocations: 253 kB / 1.386 GB, free: 234.4 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.255/5.416, allocations: 0 / 1.386 GB, free: 234.4 MB / 0.9356 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)