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.0009256/0.0009255, allocations: 91.06 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.005899/0.005899, allocations: 170.7 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.36/1.36, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.63/1.63, 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.0005339/0.0005338, allocations: 17.78 kB / 0.6744 GB, free: 25.69 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2281, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03636/0.2644, allocations: 33.58 MB / 0.8208 GB, free: 9.766 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01835/0.2828, allocations: 11.51 MB / 0.832 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004297/0.2872, allocations: 143.2 kB / 0.8322 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002433/0.2897, allocations: 0.6938 MB / 0.8329 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008002/0.2977, allocations: 1.867 MB / 0.8347 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006962/0.3047, allocations: 1.999 MB / 0.8366 GB, free: 9.508 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01418/0.3189, allocations: 12.39 MB / 0.8487 GB, free: 13.08 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02213/0.341, allocations: 14.35 MB / 0.8627 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005901/0.347, allocations: 2.614 MB / 0.8653 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006593/0.3536, allocations: 3.554 MB / 0.8688 GB, free: 8.445 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001038/0.3547, allocations: 331.9 kB / 0.8691 GB, free: 8.121 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004254/0.3589, allocations: 1.903 MB / 0.8709 GB, free: 6.215 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002823/0.3618, allocations: 2.463 MB / 0.8733 GB, free: 3.746 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003643/0.3654, allocations: 2.734 MB / 0.876 GB, free: 0.9922 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01153/0.377, allocations: 11.43 MB / 0.8872 GB, free: 5.523 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.377, allocations: 0 / 0.8872 GB, free: 5.523 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.976e-06/0.377, allocations: 0 / 0.8872 GB, free: 5.523 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003253/0.3774, allocations: 4 kB / 0.8872 GB, free: 5.52 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.01012/0.3875, allocations: 4.652 MB / 0.8917 GB, free: 0.7969 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.3876, allocations: 12.03 kB / 0.8917 GB, free: 0.7852 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001608/0.3892, allocations: 0.8051 MB / 0.8925 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005817/0.395, allocations: 1.06 MB / 0.8936 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005498/0.4005, allocations: 3.255 MB / 0.8967 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002809/0.4008, allocations: 419.5 kB / 0.8971 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009737/0.4018, allocations: 0.5431 MB / 0.8977 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01672/0.4185, allocations: 9.079 MB / 0.9065 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001443/0.4187, allocations: 31.78 kB / 0.9066 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005732/0.4193, allocations: 236 kB / 0.9068 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003674/0.4197, allocations: 346.8 kB / 0.9071 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3918/0.8115, allocations: 6.826 MB / 0.9138 GB, free: 107.1 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03488/0.8464, allocations: 40.2 MB / 0.953 GB, free: 73.89 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003281/0.8497, allocations: 3.107 MB / 0.9561 GB, free: 71.78 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002295/0.8521, allocations: 1.955 MB / 0.958 GB, free: 70.78 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.882e-05/0.8522, allocations: 20.28 kB / 0.958 GB, free: 70.78 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.8522, allocations: 54.78 kB / 0.9581 GB, free: 70.72 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=179): time 3.116e-06/0.8522, allocations: 0 / 0.9581 GB, free: 70.72 MB / 0.7169 GB Notification: Performance of matching and sorting (n=182): time 0.02233/0.8745, allocations: 10.03 MB / 0.9679 GB, free: 65.02 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.8746, allocations: 72.03 kB / 0.9679 GB, free: 64.95 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00163/0.8762, allocations: 1.536 MB / 0.9694 GB, free: 64.07 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.8763, allocations: 53.55 kB / 0.9695 GB, free: 64.02 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007554/0.8771, allocations: 2.255 MB / 0.9717 GB, free: 62.05 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003351/0.8774, allocations: 0.6248 MB / 0.9723 GB, free: 61.51 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.8776, allocations: 181.5 kB / 0.9725 GB, free: 61.39 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.276e-05/0.8777, allocations: 305.1 kB / 0.9728 GB, free: 61.09 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.8789, allocations: 1.181 MB / 0.9739 GB, free: 60.48 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/0.8804, allocations: 1.881 MB / 0.9757 GB, free: 58.92 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003045/0.8834, allocations: 3.374 MB / 0.979 GB, free: 56.56 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.8834, allocations: 6.688 kB / 0.979 GB, free: 56.56 MB / 0.7169 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005855/0.8893, allocations: 4.584 MB / 0.9835 GB, free: 52.92 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.8893, allocations: 16 kB / 0.9835 GB, free: 52.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.8893, allocations: 20 kB / 0.9836 GB, free: 52.88 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003036/0.8924, allocations: 1.59 MB / 0.9851 GB, free: 51.29 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009648/0.8934, allocations: 355.3 kB / 0.9854 GB, free: 50.95 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01589/0.9093, allocations: 17.07 MB / 1.002 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/0.9109, allocations: 115.9 kB / 1.002 GB, free: 33.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/0.911, allocations: 100 kB / 1.002 GB, free: 33.13 MB / 0.7169 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.002558/0.9136, allocations: 1.891 MB / 1.004 GB, free: 31.23 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003189/0.9139, allocations: 225.4 kB / 1.004 GB, free: 31.01 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005612/0.9195, allocations: 4.102 MB / 1.008 GB, free: 26.88 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.9196, allocations: 16 kB / 1.008 GB, free: 26.86 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.9196, allocations: 16 kB / 1.008 GB, free: 26.84 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.9196, allocations: 15.53 kB / 1.008 GB, free: 26.83 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/0.9308, allocations: 9.456 MB / 1.018 GB, free: 17.17 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.9308, allocations: 11.88 kB / 1.018 GB, free: 17.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007167/0.9315, allocations: 179.7 kB / 1.018 GB, free: 16.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002851/0.9344, allocations: 1.355 MB / 1.019 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.65e-05/0.9345, allocations: 36 kB / 1.019 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01503/0.9495, allocations: 15.98 MB / 1.035 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.9496, allocations: 4 kB / 1.035 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006431/0.956, allocations: 4.077 MB / 1.039 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/0.9572, allocations: 0.5295 MB / 1.039 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002339/0.9575, allocations: 36 kB / 1.039 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008897/0.9584, allocations: 87.89 kB / 1.039 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004876/0.9588, allocations: 161.7 kB / 1.04 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/0.959, allocations: 48 kB / 1.04 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001514/0.9605, allocations: 1.005 MB / 1.041 GB, free: 9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9605, allocations: 0 / 1.041 GB, free: 9 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003378/0.9639, allocations: 0.9883 MB / 1.042 GB, free: 8.012 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.006386/0.9703, allocations: 4.664 MB / 1.046 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008213/0.9785, allocations: 4.291 MB / 1.05 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.9785, allocations: 0 / 1.05 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.005423/0.984, allocations: 2.672 MB / 1.053 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006519/0.9905, allocations: 0.7147 MB / 1.054 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04906/1.04, allocations: 30.92 MB / 1.084 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003488/1.043, allocations: 3.573 MB / 1.087 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001291/1.044, allocations: 463.9 kB / 1.088 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001707/1.046, allocations: 1.796 MB / 1.09 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of SimCode: time 5.51e-07/1.046, allocations: 0 / 1.09 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09875/1.145, allocations: 69.86 MB / 1.158 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/1.145, allocations: 250.2 kB / 1.158 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.733/3.878, allocations: 3.938 kB / 1.158 GB, free: 15.29 MB / 0.8575 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --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)