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.001115/0.001115, allocations: 109.4 kB / 15.69 MB, free: 128 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.001559/0.001559, allocations: 190.9 kB / 16.62 MB, free: 6.582 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.385/1.385, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.669/1.669, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001409/0.001409, allocations: 72.28 kB / 0.6718 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2176, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02425/0.2419, allocations: 23.41 MB / 0.8065 GB, free: 5.742 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01292/0.2548, allocations: 6.547 MB / 0.8129 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002684/0.2577, allocations: 91.56 kB / 0.813 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004792/0.2625, allocations: 1.483 MB / 0.8144 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004578/0.2671, allocations: 1.828 MB / 0.8162 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003869/0.271, allocations: 1.469 MB / 0.8177 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007795/0.2788, allocations: 6.896 MB / 0.8244 GB, free: 3.375 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00945/0.2883, allocations: 7.011 MB / 0.8312 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004308/0.2926, allocations: 2.839 MB / 0.834 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005169/0.2978, allocations: 3.478 MB / 0.8374 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001555/0.2994, allocations: 0.5273 MB / 0.8379 GB, free: 5.402 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003122/0.3025, allocations: 1.174 MB / 0.8391 GB, free: 4.227 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003515/0.306, allocations: 2.464 MB / 0.8415 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.005073/0.3111, allocations: 2.532 MB / 0.8439 GB, free: 15.21 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.009314/0.3205, allocations: 8.519 MB / 0.8523 GB, free: 6.672 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3205, allocations: 0 / 0.8523 GB, free: 6.672 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3205, allocations: 0 / 0.8523 GB, free: 6.672 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.000216/0.3208, allocations: 0 / 0.8523 GB, free: 6.672 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.009552/0.3303, allocations: 4.439 MB / 0.8566 GB, free: 2.164 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.3304, allocations: 12.03 kB / 0.8566 GB, free: 2.152 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008696/0.3313, allocations: 0.5714 MB / 0.8572 GB, free: 1.57 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00823/0.3395, allocations: 1.681 MB / 0.8588 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005279/0.3448, allocations: 2.696 MB / 0.8614 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000184/0.345, allocations: 275.7 kB / 0.8617 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008813/0.3459, allocations: 360.2 kB / 0.862 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01245/0.3584, allocations: 7.487 MB / 0.8694 GB, free: 4.754 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.965e-05/0.3585, allocations: 15.92 kB / 0.8694 GB, free: 4.738 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004684/0.359, allocations: 155.9 kB / 0.8695 GB, free: 4.586 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005182/0.3595, allocations: 491.3 kB / 0.87 GB, free: 4.105 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009999/0.3695, allocations: 5.697 MB / 0.8756 GB, free: 14.4 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03356/0.4031, allocations: 31.49 MB / 0.9063 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002834/0.406, allocations: 2.082 MB / 0.9083 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002967/0.409, allocations: 2.194 MB / 0.9105 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001792/0.4092, allocations: 13.31 kB / 0.9105 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.4092, allocations: 51.88 kB / 0.9105 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 2.695e-06/0.4092, allocations: 0 / 0.9105 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of matching and sorting (n=251): time 0.6849/1.094, allocations: 76.99 MB / 0.9857 GB, free: 87.61 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/1.094, allocations: 77.41 kB / 0.9858 GB, free: 87.52 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001844/1.096, allocations: 1.67 MB / 0.9874 GB, free: 85.81 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004694/1.096, allocations: 65.7 kB / 0.9875 GB, free: 85.74 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007074/1.097, allocations: 1.743 MB / 0.9892 GB, free: 83.98 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006906/1.098, allocations: 0.8549 MB / 0.99 GB, free: 83.13 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008611/1.099, allocations: 489.2 kB / 0.9905 GB, free: 82.65 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.614e-05/1.099, allocations: 303.2 kB / 0.9908 GB, free: 82.35 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002795/1.102, allocations: 2.734 MB / 0.9935 GB, free: 79.61 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003002/1.105, allocations: 3.328 MB / 0.9967 GB, free: 76.04 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006108/1.111, allocations: 6.389 MB / 1.003 GB, free: 69.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/1.111, allocations: 7.938 kB / 1.003 GB, free: 69.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02758/1.138, allocations: 14.68 MB / 1.017 GB, free: 54.67 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/1.138, allocations: 12 kB / 1.017 GB, free: 54.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/1.138, allocations: 21.02 kB / 1.017 GB, free: 54.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02628/1.165, allocations: 9.238 MB / 1.026 GB, free: 45.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/1.166, allocations: 303.5 kB / 1.027 GB, free: 45.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06696/1.233, allocations: 52.34 MB / 1.078 GB, free: 7.926 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003116/1.236, allocations: 219.7 kB / 1.078 GB, free: 7.711 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003525/1.236, allocations: 99.98 kB / 1.078 GB, free: 7.613 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.002611/1.239, allocations: 1.587 MB / 1.08 GB, free: 6.016 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005785/1.24, allocations: 245.1 kB / 1.08 GB, free: 5.773 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03177/1.271, allocations: 14.76 MB / 1.094 GB, free: 6.961 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.896e-05/1.271, allocations: 24 kB / 1.094 GB, free: 6.938 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001541/1.272, allocations: 46.06 kB / 1.094 GB, free: 6.895 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.985e-05/1.272, allocations: 11.95 kB / 1.094 GB, free: 6.883 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04107/1.313, allocations: 20.53 MB / 1.114 GB, free: 2.219 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-05/1.313, allocations: 8.125 kB / 1.114 GB, free: 2.211 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008298/1.314, allocations: 163.8 kB / 1.115 GB, free: 2.051 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02899/1.343, allocations: 9.006 MB / 1.123 GB, free: 9.02 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005189/1.343, allocations: 48 kB / 1.123 GB, free: 8.973 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07991/1.423, allocations: 51.91 MB / 1.174 GB, free: 4.234 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.124e-05/1.423, allocations: 11.94 kB / 1.174 GB, free: 4.223 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03256/1.456, allocations: 14.36 MB / 1.188 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002208/1.458, allocations: 0.8454 MB / 1.189 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008902/1.459, allocations: 48 kB / 1.189 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002638/1.462, allocations: 215.7 kB / 1.189 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001518/1.463, allocations: 229.5 kB / 1.189 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003918/1.464, allocations: 68 kB / 1.189 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002299/1.466, allocations: 1.129 MB / 1.191 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.41e-07/1.466, allocations: 0 / 1.191 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.006459/1.472, allocations: 1.613 MB / 1.192 GB, free: 1.543 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.03325/1.506, allocations: 14.98 MB / 1.207 GB, free: 2.414 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.02366/1.529, allocations: 10.56 MB / 1.217 GB, free: 7.797 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.454e-05/1.529, allocations: 4.875 kB / 1.217 GB, free: 7.793 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.019/1.548, allocations: 7.315 MB / 1.224 GB, free: 440 kB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004808/1.553, allocations: 0.5574 MB / 1.225 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5414/2.095, allocations: 50.81 MB / 1.274 GB, free: 304.3 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005537/2.1, allocations: 3.224 MB / 1.278 GB, free: 303.5 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001341/2.102, allocations: 391.2 kB / 1.278 GB, free: 303.5 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001666/2.103, allocations: 1.467 MB / 1.279 GB, free: 303.5 MB / 0.9356 GB Notification: Performance of SimCode: time 1.062e-06/2.103, allocations: 3.188 kB / 1.279 GB, free: 303.5 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1658/2.269, allocations: 119.5 MB / 1.396 GB, free: 224.7 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.15/16.41, allocations: 7.641 kB / 1.396 GB, free: 224.7 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)