Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.001079/0.001079, 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.001168/0.001168, allocations: 197.3 kB / 16.64 MB, free: 6.434 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.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.633/1.633, 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.002103/0.002103, allocations: 76.97 kB / 0.6718 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2226, allocations: 114.6 MB / 0.7837 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04026/0.2629, allocations: 34.69 MB / 0.8175 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.019/0.282, allocations: 11.63 MB / 0.8289 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003844/0.2859, allocations: 163.2 kB / 0.829 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01102/0.297, allocations: 4.244 MB / 0.8332 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006253/0.3033, allocations: 1.99 MB / 0.8351 GB, free: 8.316 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006602/0.3099, allocations: 2.406 MB / 0.8375 GB, free: 5.914 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01057/0.3205, allocations: 8.452 MB / 0.8457 GB, free: 13.44 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01518/0.3357, allocations: 11.21 MB / 0.8567 GB, free: 2.105 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006619/0.3424, allocations: 3.743 MB / 0.8603 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00715/0.3496, allocations: 4.183 MB / 0.8644 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.00245/0.3521, allocations: 0.7812 MB / 0.8652 GB, free: 9.375 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005381/0.3575, allocations: 2.028 MB / 0.8672 GB, free: 7.344 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004866/0.3624, allocations: 3.053 MB / 0.8701 GB, free: 4.285 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.007109/0.3695, allocations: 3.404 MB / 0.8735 GB, free: 0.8672 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01474/0.3843, allocations: 11.98 MB / 0.8852 GB, free: 4.855 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.3843, allocations: 4 kB / 0.8852 GB, free: 4.852 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3843, allocations: 0 / 0.8852 GB, free: 4.852 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.000387/0.3847, allocations: 0 / 0.8852 GB, free: 4.852 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01502/0.3998, allocations: 5.795 MB / 0.8908 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.3998, allocations: 12.03 kB / 0.8908 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002072/0.4019, allocations: 0.809 MB / 0.8916 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006789/0.4087, allocations: 1.06 MB / 0.8927 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007555/0.4163, allocations: 3.453 MB / 0.896 GB, free: 9.574 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000405/0.4167, allocations: 411.5 kB / 0.8964 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002102/0.4189, allocations: 0.5431 MB / 0.897 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02008/0.4389, allocations: 9.079 MB / 0.9058 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002285/0.4392, allocations: 27.69 kB / 0.9059 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001421/0.4406, allocations: 232 kB / 0.9061 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000382/0.441, allocations: 354.7 kB / 0.9064 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01405/0.4551, allocations: 6.826 MB / 0.9131 GB, free: 7.793 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4115/0.8667, allocations: 39.8 MB / 0.9519 GB, free: 92.89 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003637/0.8703, allocations: 3.112 MB / 0.955 GB, free: 91.15 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002542/0.8729, allocations: 1.975 MB / 0.9569 GB, free: 90.41 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/0.8731, allocations: 20.81 kB / 0.9569 GB, free: 90.41 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.8731, allocations: 49.34 kB / 0.957 GB, free: 90.36 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=179): time 3.497e-06/0.8731, allocations: 0 / 0.957 GB, free: 90.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=182): time 0.02633/0.8994, allocations: 9.98 MB / 0.9667 GB, free: 86.59 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.8995, allocations: 75.03 kB / 0.9668 GB, free: 86.52 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00233/0.9019, allocations: 1.531 MB / 0.9683 GB, free: 85.79 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002888/0.9022, allocations: 55.11 kB / 0.9683 GB, free: 85.73 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001159/0.9033, allocations: 2.253 MB / 0.9705 GB, free: 83.76 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006143/0.904, allocations: 0.6314 MB / 0.9712 GB, free: 83.22 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000613/0.9046, allocations: 404.1 kB / 0.9715 GB, free: 83 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.388e-05/0.9046, allocations: 306.5 kB / 0.9718 GB, free: 82.7 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001547/0.9062, allocations: 1.177 MB / 0.973 GB, free: 82.08 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001875/0.9081, allocations: 1.884 MB / 0.9748 GB, free: 80.53 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004044/0.9121, allocations: 3.371 MB / 0.9781 GB, free: 78.16 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-05/0.9122, allocations: 6.875 kB / 0.9781 GB, free: 78.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008001/0.9202, allocations: 4.579 MB / 0.9826 GB, free: 75.71 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.338e-05/0.9203, allocations: 15.84 kB / 0.9826 GB, free: 75.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-05/0.9203, allocations: 24.59 kB / 0.9826 GB, free: 75.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003421/0.9237, allocations: 1.592 MB / 0.9842 GB, free: 75.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.9251, allocations: 354.4 kB / 0.9845 GB, free: 74.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01909/0.9442, allocations: 18.57 MB / 1.003 GB, free: 61.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/0.9461, allocations: 118.6 kB / 1.003 GB, free: 61.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002187/0.9463, allocations: 91.75 kB / 1.003 GB, free: 61.38 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002875/0.9492, allocations: 1.907 MB / 1.005 GB, free: 60.21 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000583/0.9498, allocations: 223.2 kB / 1.005 GB, free: 60.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005667/0.9555, allocations: 4.092 MB / 1.009 GB, free: 56.05 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.9555, allocations: 20 kB / 1.009 GB, free: 56.04 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-05/0.9556, allocations: 16 kB / 1.009 GB, free: 56.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-05/0.9556, allocations: 11.97 kB / 1.009 GB, free: 56.01 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01411/0.9697, allocations: 9.459 MB / 1.018 GB, free: 46.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/0.9697, allocations: 4 kB / 1.018 GB, free: 46.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008434/0.9706, allocations: 183.7 kB / 1.018 GB, free: 46.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002972/0.9736, allocations: 1.361 MB / 1.02 GB, free: 44.79 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001803/0.9738, allocations: 33.38 kB / 1.02 GB, free: 44.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01592/0.9897, allocations: 17.35 MB / 1.037 GB, free: 26.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.9898, allocations: 7.938 kB / 1.037 GB, free: 26.85 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005932/0.9957, allocations: 4.066 MB / 1.041 GB, free: 22.68 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001366/0.9971, allocations: 0.5256 MB / 1.041 GB, free: 22.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003077/0.9974, allocations: 39.98 kB / 1.041 GB, free: 22.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009551/0.9984, allocations: 87.91 kB / 1.041 GB, free: 22.01 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000463/0.9989, allocations: 161.6 kB / 1.041 GB, free: 21.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.666e-05/0.999, allocations: 44 kB / 1.042 GB, free: 21.81 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001122/1, allocations: 1.008 MB / 1.043 GB, free: 20.78 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1, allocations: 0 / 1.043 GB, free: 20.78 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003508/1.004, allocations: 0.9844 MB / 1.043 GB, free: 19.8 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005673/1.009, allocations: 4.675 MB / 1.048 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005553/1.015, allocations: 4.3 MB / 1.052 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/1.015, allocations: 0 / 1.052 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00353/1.018, allocations: 2.676 MB / 1.055 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003499/1.022, allocations: 0.7789 MB / 1.056 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04425/1.066, allocations: 26.83 MB / 1.082 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004536/1.071, allocations: 3.573 MB / 1.085 GB, free: 7.734 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001442/1.072, allocations: 475.9 kB / 1.086 GB, free: 7.266 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002004/1.074, allocations: 1.788 MB / 1.087 GB, free: 5.477 MB / 0.7637 GB Notification: Performance of SimCode: time 6.61e-07/1.074, allocations: 3.938 kB / 1.087 GB, free: 5.473 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1347/1.209, allocations: 72.51 MB / 1.158 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/14.53, allocations: 7.656 kB / 1.158 GB, free: 13.67 MB / 0.8419 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)