Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.0008472/0.0008473, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008672/0.0008673, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.909/1.909, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0004939/0.0004941, allocations: 17.16 kB / 0.6738 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.245, allocations: 116.3 MB / 0.7874 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02822/0.2733, allocations: 27.9 MB / 0.8147 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02031/0.2937, allocations: 12.82 MB / 0.8272 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003405/0.2971, allocations: 123.2 kB / 0.8273 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002846/0.3, allocations: 0.6395 MB / 0.8279 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008759/0.3088, allocations: 2.208 MB / 0.8301 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004959/0.3138, allocations: 1.194 MB / 0.8313 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01171/0.3255, allocations: 8.398 MB / 0.8395 GB, free: 6.383 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01744/0.343, allocations: 8.514 MB / 0.8478 GB, free: 13.79 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007447/0.3505, allocations: 2.565 MB / 0.8503 GB, free: 11.22 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007308/0.3579, allocations: 2.845 MB / 0.853 GB, free: 8.363 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001616/0.3595, allocations: 244 kB / 0.8533 GB, free: 8.125 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003446/0.363, allocations: 0.7023 MB / 0.854 GB, free: 7.422 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.003652/0.3667, allocations: 1.913 MB / 0.8558 GB, free: 5.504 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00275/0.3695, allocations: 0.9719 MB / 0.8568 GB, free: 4.523 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.009537/0.379, allocations: 7.733 MB / 0.8643 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.3791, allocations: 0 / 0.8643 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.276e-06/0.3791, allocations: 0 / 0.8643 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002912/0.3794, allocations: 0 / 0.8643 GB, free: 12.77 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.009364/0.3887, allocations: 4.201 MB / 0.8684 GB, free: 8.492 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.3888, allocations: 12.03 kB / 0.8685 GB, free: 8.48 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00183/0.3906, allocations: 0.624 MB / 0.8691 GB, free: 7.844 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006399/0.397, allocations: 1.001 MB / 0.87 GB, free: 6.836 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007095/0.4042, allocations: 2.814 MB / 0.8728 GB, free: 3.941 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004689/0.4047, allocations: 324.4 kB / 0.8731 GB, free: 3.621 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002086/0.4068, allocations: 415.9 kB / 0.8735 GB, free: 3.215 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.018/0.4248, allocations: 6.756 MB / 0.8801 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002241/0.4251, allocations: 19.83 kB / 0.8801 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001235/0.4264, allocations: 184 kB / 0.8803 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008831/0.4273, allocations: 372 kB / 0.8806 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01126/0.4385, allocations: 5.083 MB / 0.8856 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04124/0.4798, allocations: 30.79 MB / 0.9157 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002546/0.4824, allocations: 1.383 MB / 0.917 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002052/0.4845, allocations: 1.328 MB / 0.9183 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001378/0.4847, allocations: 13.31 kB / 0.9183 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.492e-05/0.4847, allocations: 51.81 kB / 0.9184 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=130): time 3.958e-06/0.4848, allocations: 0 / 0.9184 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of matching and sorting (n=199): time 0.5247/1.009, allocations: 22.78 MB / 0.9406 GB, free: 121.1 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/1.01, allocations: 75.66 kB / 0.9407 GB, free: 121.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002906/1.012, allocations: 2.039 MB / 0.9427 GB, free: 120.3 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002544/1.013, allocations: 58.02 kB / 0.9427 GB, free: 120.2 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001109/1.014, allocations: 2.012 MB / 0.9447 GB, free: 118.7 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005509/1.014, allocations: 0.6756 MB / 0.9454 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/1.015, allocations: 53.12 kB / 0.9454 GB, free: 118.1 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000118/1.015, allocations: 398.6 kB / 0.9458 GB, free: 117.8 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001936/1.017, allocations: 1.417 MB / 0.9472 GB, free: 117.2 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002206/1.019, allocations: 2.005 MB / 0.9491 GB, free: 115.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002394/1.021, allocations: 1.73 MB / 0.9508 GB, free: 114.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/1.021, allocations: 7.891 kB / 0.9508 GB, free: 114.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009188/1.03, allocations: 5.635 MB / 0.9563 GB, free: 111.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/1.031, allocations: 11.91 kB / 0.9563 GB, free: 111.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/1.031, allocations: 15.88 kB / 0.9564 GB, free: 111.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005479/1.036, allocations: 2.081 MB / 0.9584 GB, free: 110.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/1.037, allocations: 377.6 kB / 0.9588 GB, free: 110.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02862/1.066, allocations: 35.49 MB / 0.9934 GB, free: 76.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002554/1.069, allocations: 127.9 kB / 0.9935 GB, free: 76.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002791/1.069, allocations: 88 kB / 0.9936 GB, free: 76.43 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002822/1.072, allocations: 1.512 MB / 0.9951 GB, free: 74.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008011/1.073, allocations: 290 kB / 0.9954 GB, free: 74.62 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00858/1.081, allocations: 5.194 MB / 1 GB, free: 69.35 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/1.081, allocations: 20 kB / 1 GB, free: 69.33 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.496e-05/1.081, allocations: 20 kB / 1 GB, free: 69.31 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-05/1.081, allocations: 11.95 kB / 1 GB, free: 69.3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01465/1.096, allocations: 9.658 MB / 1.01 GB, free: 59.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/1.096, allocations: 8 kB / 1.01 GB, free: 59.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008321/1.097, allocations: 215.7 kB / 1.01 GB, free: 59.26 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004858/1.102, allocations: 1.833 MB / 1.012 GB, free: 57.38 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002427/1.102, allocations: 51.06 kB / 1.012 GB, free: 57.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02624/1.128, allocations: 34.51 MB / 1.046 GB, free: 20.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/1.128, allocations: 11.94 kB / 1.046 GB, free: 20.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007759/1.136, allocations: 4.89 MB / 1.05 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001605/1.138, allocations: 0.6264 MB / 1.051 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004016/1.138, allocations: 43.95 kB / 1.051 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/1.139, allocations: 127.8 kB / 1.051 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005449/1.14, allocations: 195.8 kB / 1.051 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/1.14, allocations: 52 kB / 1.051 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001666/1.142, allocations: 1.359 MB / 1.053 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.142, allocations: 0 / 1.053 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003939/1.146, allocations: 1.047 MB / 1.054 GB, free: 11.93 MB / 0.7325 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007394/1.153, allocations: 5.509 MB / 1.059 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009027/1.162, allocations: 6.255 MB / 1.065 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.529e-05/1.162, allocations: 0 / 1.065 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.007381/1.17, allocations: 4.401 MB / 1.07 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004915/1.175, allocations: 0.9125 MB / 1.071 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04812/1.223, allocations: 25.38 MB / 1.095 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005315/1.228, allocations: 3.123 MB / 1.098 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002552/1.231, allocations: 0.512 MB / 1.099 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002395/1.233, allocations: 1.679 MB / 1.1 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of SimCode: time 1.412e-06/1.233, allocations: 0 / 1.1 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.141/1.374, allocations: 85.65 MB / 1.184 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/1.374, allocations: 241 kB / 1.184 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.416/5.79, allocations: 0 / 1.184 GB, free: 5.109 MB / 0.8575 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) Environment - environmentSimulation: