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.001448/0.001448, allocations: 108 kB / 15.6 MB, free: 132 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.001673/0.001673, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.38/1.38, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.745/1.745, allocations: 292.3 MB / 0.5489 GB, free: 13.5 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.002813/0.002813, allocations: 70.84 kB / 0.6716 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2521, allocations: 114.5 MB / 0.7835 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03854/0.2907, allocations: 33.19 MB / 0.8159 GB, free: 12.17 MB / 0.6388 GB Notification: Performance of NFInst.instExpressions: time 0.02268/0.3134, allocations: 14.91 MB / 0.8305 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005347/0.3188, allocations: 159.2 kB / 0.8306 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01006/0.3289, allocations: 3.645 MB / 0.8342 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01057/0.3395, allocations: 2.894 MB / 0.837 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006181/0.3457, allocations: 2.325 MB / 0.8393 GB, free: 4.18 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0109/0.3567, allocations: 8.812 MB / 0.8479 GB, free: 11.34 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0131/0.3698, allocations: 9.64 MB / 0.8573 GB, free: 1.578 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007286/0.3771, allocations: 3.938 MB / 0.8611 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006693/0.3839, allocations: 4.042 MB / 0.8651 GB, free: 9.574 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002329/0.3862, allocations: 0.7148 MB / 0.8658 GB, free: 8.859 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004422/0.3907, allocations: 1.716 MB / 0.8674 GB, free: 7.141 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004277/0.395, allocations: 2.822 MB / 0.8702 GB, free: 4.312 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.006471/0.4014, allocations: 3.388 MB / 0.8735 GB, free: 0.9102 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01435/0.4158, allocations: 11.12 MB / 0.8844 GB, free: 5.758 MB / 0.7013 GB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.4159, allocations: 0 / 0.8844 GB, free: 5.758 MB / 0.7013 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4159, allocations: 0 / 0.8844 GB, free: 5.758 MB / 0.7013 GB Notification: Performance of Transformations before backend: time 0.0003819/0.4163, allocations: 0 / 0.8844 GB, free: 5.758 MB / 0.7013 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.01537/0.4317, allocations: 5.975 MB / 0.8902 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.4317, allocations: 16.03 kB / 0.8902 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001598/0.4333, allocations: 0.7309 MB / 0.8909 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007185/0.4405, allocations: 1.134 MB / 0.892 GB, free: 13.81 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007574/0.4481, allocations: 3.325 MB / 0.8953 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004988/0.4487, allocations: 370.4 kB / 0.8956 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002323/0.451, allocations: 499.8 kB / 0.8961 GB, free: 9.555 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01885/0.4699, allocations: 8.013 MB / 0.9039 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001439/0.47, allocations: 27.67 kB / 0.904 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005884/0.4706, allocations: 216 kB / 0.9042 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001071/0.4717, allocations: 441.5 kB / 0.9046 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01137/0.4831, allocations: 6.081 MB / 0.9105 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4023/0.8854, allocations: 35.15 MB / 0.9449 GB, free: 100.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002839/0.8883, allocations: 2.02 MB / 0.9468 GB, free: 99.91 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00242/0.8907, allocations: 1.86 MB / 0.9487 GB, free: 99.18 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.8909, allocations: 22.41 kB / 0.9487 GB, free: 99.17 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.589e-05/0.8909, allocations: 61.03 kB / 0.9487 GB, free: 99.11 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=171): time 3.767e-06/0.8909, allocations: 0 / 0.9487 GB, free: 99.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=276): time 0.1476/1.039, allocations: 38.89 MB / 0.9867 GB, free: 81.94 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/1.039, allocations: 81.58 kB / 0.9868 GB, free: 81.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002818/1.041, allocations: 2.278 MB / 0.989 GB, free: 79.55 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004757/1.042, allocations: 77.64 kB / 0.9891 GB, free: 79.47 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009926/1.043, allocations: 2.276 MB / 0.9913 GB, free: 77.17 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000745/1.044, allocations: 0.934 MB / 0.9922 GB, free: 76.25 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008264/1.045, allocations: 0.5023 MB / 0.9927 GB, free: 75.73 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 6.332e-05/1.045, allocations: 309 kB / 0.993 GB, free: 75.43 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002259/1.047, allocations: 1.973 MB / 0.9949 GB, free: 73.45 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00241/1.049, allocations: 2.606 MB / 0.9975 GB, free: 70.6 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004713/1.054, allocations: 4.929 MB / 1.002 GB, free: 65.4 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/1.054, allocations: 4 kB / 1.002 GB, free: 65.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01193/1.066, allocations: 7.755 MB / 1.01 GB, free: 57.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/1.066, allocations: 12 kB / 1.01 GB, free: 57.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.101e-05/1.066, allocations: 16 kB / 1.01 GB, free: 57.54 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008155/1.074, allocations: 3.249 MB / 1.013 GB, free: 54.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/1.076, allocations: 403.2 kB / 1.013 GB, free: 53.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03552/1.111, allocations: 33.89 MB / 1.047 GB, free: 19.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00302/1.114, allocations: 159.8 kB / 1.047 GB, free: 19 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003256/1.115, allocations: 108 kB / 1.047 GB, free: 18.89 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.003011/1.118, allocations: 1.798 MB / 1.049 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006887/1.119, allocations: 336.1 kB / 1.049 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/1.13, allocations: 7.36 MB / 1.056 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/1.13, allocations: 28 kB / 1.056 GB, free: 9.285 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.683e-05/1.13, allocations: 28.25 kB / 1.056 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.825e-05/1.13, allocations: 23.92 kB / 1.056 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02136/1.152, allocations: 12.93 MB / 1.069 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.808e-05/1.152, allocations: 4 kB / 1.069 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/1.153, allocations: 231.6 kB / 1.069 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008311/1.161, allocations: 2.869 MB / 1.072 GB, free: 9.055 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003276/1.162, allocations: 63.98 kB / 1.072 GB, free: 8.992 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04311/1.205, allocations: 32.69 MB / 1.104 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/1.205, allocations: 8 kB / 1.104 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01304/1.218, allocations: 6.883 MB / 1.111 GB, free: 372 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002147/1.22, allocations: 0.7808 MB / 1.111 GB, free: 15.56 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005753/1.221, allocations: 55.92 kB / 1.111 GB, free: 15.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001846/1.222, allocations: 171.8 kB / 1.111 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009434/1.223, allocations: 257.4 kB / 1.112 GB, free: 15.09 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001736/1.224, allocations: 76 kB / 1.112 GB, free: 15.01 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002399/1.226, allocations: 1.525 MB / 1.113 GB, free: 13.48 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/1.226, allocations: 0 / 1.113 GB, free: 13.48 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.005467/1.232, allocations: 1.367 MB / 1.115 GB, free: 12.12 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.01376/1.245, allocations: 7.523 MB / 1.122 GB, free: 4.371 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01558/1.261, allocations: 8.372 MB / 1.13 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.485e-05/1.261, allocations: 4 kB / 1.13 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.008243/1.269, allocations: 4.406 MB / 1.134 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005049/1.274, allocations: 1.119 MB / 1.136 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07618/1.351, allocations: 43.85 MB / 1.178 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006054/1.357, allocations: 3.643 MB / 1.182 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002667/1.359, allocations: 0.5556 MB / 1.182 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003145/1.363, allocations: 1.972 MB / 1.184 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of SimCode: time 9.12e-07/1.363, allocations: 0 / 1.184 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6482/2.011, allocations: 112.6 MB / 1.294 GB, free: 318.5 MB / 0.9513 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/14.4, allocations: 11.91 kB / 1.294 GB, free: 318.5 MB / 0.9513 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)