Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.ACLine_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.001533/0.001533, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002217/0.002217, allocations: 196.6 kB / 16.64 MB, free: 6.453 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.408/1.408, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.642/1.642, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001461/0.001461, allocations: 75.8 kB / 0.6718 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2296, allocations: 114.5 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03377/0.2634, allocations: 33.19 MB / 0.8161 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02264/0.2861, allocations: 14.91 MB / 0.8306 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004173/0.2904, allocations: 151.2 kB / 0.8308 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.009191/0.2996, allocations: 3.645 MB / 0.8343 GB, free: 9.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008744/0.3084, allocations: 2.886 MB / 0.8371 GB, free: 6.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.007245/0.3157, allocations: 2.326 MB / 0.8394 GB, free: 3.934 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01363/0.3293, allocations: 8.811 MB / 0.848 GB, free: 11.09 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01152/0.3409, allocations: 9.648 MB / 0.8574 GB, free: 1.324 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007562/0.3485, allocations: 3.95 MB / 0.8613 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007453/0.356, allocations: 4.042 MB / 0.8653 GB, free: 9.309 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002424/0.3585, allocations: 0.7188 MB / 0.866 GB, free: 8.59 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005697/0.3642, allocations: 1.72 MB / 0.8676 GB, free: 6.867 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004636/0.3689, allocations: 2.822 MB / 0.8704 GB, free: 4.039 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.007501/0.3764, allocations: 3.392 MB / 0.8737 GB, free: 0.6328 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01481/0.3913, allocations: 11.19 MB / 0.8846 GB, free: 5.414 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3913, allocations: 0 / 0.8846 GB, free: 5.414 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3913, allocations: 0 / 0.8846 GB, free: 5.414 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003637/0.3917, allocations: 0 / 0.8846 GB, free: 5.414 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01549/0.4072, allocations: 5.987 MB / 0.8905 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001107/0.4073, allocations: 12.03 kB / 0.8905 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001572/0.4089, allocations: 0.7232 MB / 0.8912 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007239/0.4162, allocations: 1.138 MB / 0.8923 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007969/0.4242, allocations: 3.524 MB / 0.8957 GB, free: 9.859 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002961/0.4245, allocations: 370.4 kB / 0.8961 GB, free: 9.496 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001914/0.4264, allocations: 499.8 kB / 0.8966 GB, free: 9.008 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01707/0.4435, allocations: 8.009 MB / 0.9044 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001673/0.4437, allocations: 23.69 kB / 0.9044 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008009/0.4445, allocations: 216 kB / 0.9046 GB, free: 492 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001088/0.4456, allocations: 437.6 kB / 0.905 GB, free: 52 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01257/0.4582, allocations: 6.085 MB / 0.911 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3906/0.8489, allocations: 34.88 MB / 0.945 GB, free: 100.1 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002537/0.8515, allocations: 2.032 MB / 0.947 GB, free: 99.34 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002187/0.8537, allocations: 1.86 MB / 0.9488 GB, free: 98.61 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.8538, allocations: 23.41 kB / 0.9489 GB, free: 98.61 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.8539, allocations: 56.91 kB / 0.9489 GB, free: 98.56 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=171): time 3.607e-06/0.8539, allocations: 0 / 0.9489 GB, free: 98.56 MB / 0.7325 GB Notification: Performance of matching and sorting (n=276): time 0.1404/0.9943, allocations: 38.88 MB / 0.9869 GB, free: 81.64 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.151e-05/0.9944, allocations: 85.56 kB / 0.987 GB, free: 81.55 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003174/0.9976, allocations: 2.278 MB / 0.9892 GB, free: 79.25 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004481/0.998, allocations: 69.7 kB / 0.9893 GB, free: 79.18 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009232/0.999, allocations: 2.283 MB / 0.9915 GB, free: 76.88 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008349/0.9998, allocations: 0.9262 MB / 0.9924 GB, free: 75.96 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008103/1.001, allocations: 0.51 MB / 0.9929 GB, free: 75.44 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.449e-05/1.001, allocations: 301.1 kB / 0.9932 GB, free: 75.14 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00215/1.003, allocations: 1.977 MB / 0.9951 GB, free: 73.16 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002452/1.005, allocations: 2.602 MB / 0.9977 GB, free: 70.31 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005267/1.011, allocations: 4.925 MB / 1.002 GB, free: 65.11 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/1.011, allocations: 4 kB / 1.002 GB, free: 65.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.0131/1.024, allocations: 7.76 MB / 1.01 GB, free: 57.28 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.52e-05/1.024, allocations: 12 kB / 1.01 GB, free: 57.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.523e-05/1.024, allocations: 20 kB / 1.01 GB, free: 57.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008304/1.032, allocations: 3.216 MB / 1.013 GB, free: 54.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/1.034, allocations: 395.4 kB / 1.014 GB, free: 53.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03567/1.07, allocations: 33.88 MB / 1.047 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003443/1.073, allocations: 163.8 kB / 1.047 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004075/1.073, allocations: 104 kB / 1.047 GB, free: 18.67 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003457/1.077, allocations: 1.805 MB / 1.049 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007464/1.078, allocations: 324.2 kB / 1.049 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01229/1.09, allocations: 7.357 MB / 1.056 GB, free: 9.094 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-05/1.09, allocations: 27.94 kB / 1.056 GB, free: 9.066 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001097/1.09, allocations: 33.25 kB / 1.056 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-05/1.09, allocations: 15.94 kB / 1.056 GB, free: 9.02 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02503/1.115, allocations: 12.92 MB / 1.069 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.824e-05/1.115, allocations: 4.844 kB / 1.069 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/1.116, allocations: 233 kB / 1.069 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008621/1.125, allocations: 2.856 MB / 1.072 GB, free: 8.859 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004887/1.126, allocations: 48 kB / 1.072 GB, free: 8.812 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04646/1.172, allocations: 32.68 MB / 1.104 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.078e-05/1.172, allocations: 11.94 kB / 1.104 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01396/1.186, allocations: 6.888 MB / 1.111 GB, free: 212 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00226/1.188, allocations: 0.7752 MB / 1.111 GB, free: 15.41 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001037/1.189, allocations: 59.94 kB / 1.111 GB, free: 15.35 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002518/1.192, allocations: 167.8 kB / 1.112 GB, free: 15.19 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009611/1.193, allocations: 249.5 kB / 1.112 GB, free: 14.95 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002874/1.193, allocations: 75.94 kB / 1.112 GB, free: 14.87 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.003172/1.196, allocations: 1.525 MB / 1.113 GB, free: 13.34 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/1.197, allocations: 4 kB / 1.113 GB, free: 13.34 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0064/1.203, allocations: 1.371 MB / 1.115 GB, free: 11.97 MB / 0.795 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01446/1.217, allocations: 7.52 MB / 1.122 GB, free: 4.223 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01213/1.23, allocations: 6.921 MB / 1.129 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.334e-05/1.23, allocations: 4 kB / 1.129 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.008449/1.238, allocations: 4.418 MB / 1.133 GB, free: 8.719 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006611/1.245, allocations: 1.109 MB / 1.134 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07672/1.322, allocations: 39.03 MB / 1.172 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006195/1.328, allocations: 3.639 MB / 1.176 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002281/1.33, allocations: 0.5517 MB / 1.176 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002733/1.333, allocations: 1.983 MB / 1.178 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of SimCode: time 1.453e-06/1.333, allocations: 0 / 1.178 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6487/1.982, allocations: 110.1 MB / 1.286 GB, free: 308.7 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.43/18.41, allocations: 1.312 kB / 1.286 GB, free: 308.7 MB / 0.9512 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)