Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.655/2.655, allocations: 287.5 MB / 302.4 MB, free: 8.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001335/0.001335, allocations: 185.5 kB / 371 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.142/2.142, allocations: 205.4 MB / 0.6297 GB, free: 10.65 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000872/0.0008721, allocations: 97.27 kB / 0.743 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004942/0.0004945, allocations: 19.91 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.209, allocations: 115.3 MB / 0.9785 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02557/0.2346, allocations: 18.34 MB / 0.9964 GB, free: 9.898 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01295/0.2476, allocations: 6.191 MB / 1.002 GB, free: 3.691 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001764/0.2494, allocations: 75.56 kB / 1.002 GB, free: 3.617 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.2507, allocations: 392.9 kB / 1.003 GB, free: 3.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003248/0.254, allocations: 0.956 MB / 1.004 GB, free: 2.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003139/0.2572, allocations: 0.7737 MB / 1.005 GB, free: 1.496 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.008835/0.266, allocations: 5.469 MB / 1.01 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01627/0.2824, allocations: 6.386 MB / 1.016 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004112/0.2865, allocations: 1.51 MB / 1.018 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004903/0.2915, allocations: 1.974 MB / 1.02 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001046/0.2926, allocations: 180 kB / 1.02 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002814/0.2954, allocations: 479.5 kB / 1.02 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002835/0.2983, allocations: 1.36 MB / 1.021 GB, free: 68 kB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001636/0.3, allocations: 0.6369 MB / 1.022 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.009069/0.3091, allocations: 5.38 MB / 1.027 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.3091, allocations: 0 / 1.027 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.296e-06/0.3091, allocations: 0 / 1.027 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002006/0.3094, allocations: 0 / 1.027 GB, free: 10.03 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.009973/0.3193, allocations: 2.845 MB / 1.03 GB, free: 7.121 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.3194, allocations: 12.03 kB / 1.03 GB, free: 7.109 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00166/0.3211, allocations: 462.4 kB / 1.031 GB, free: 6.645 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005738/0.3268, allocations: 0.6362 MB / 1.031 GB, free: 6.004 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006146/0.333, allocations: 1.892 MB / 1.033 GB, free: 4.051 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003624/0.3335, allocations: 221.9 kB / 1.033 GB, free: 3.832 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00133/0.3348, allocations: 295.9 kB / 1.034 GB, free: 3.543 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01475/0.3496, allocations: 4.863 MB / 1.038 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000139/0.3498, allocations: 15.86 kB / 1.038 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000627/0.3504, allocations: 132 kB / 1.038 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007239/0.3512, allocations: 229.7 kB / 1.039 GB, free: 14.11 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0117/0.3629, allocations: 3.727 MB / 1.042 GB, free: 10.37 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03656/0.3995, allocations: 21.61 MB / 1.063 GB, free: 2.762 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003228/0.4028, allocations: 1.296 MB / 1.065 GB, free: 1.457 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002522/0.4053, allocations: 1.034 MB / 1.066 GB, free: 432 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001236/0.4055, allocations: 9 kB / 1.066 GB, free: 424 kB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.137e-05/0.4056, allocations: 55.5 kB / 1.066 GB, free: 360 kB / 0.6823 GB Notification: Performance of pre-optimization done (n=107): time 3.878e-06/0.4056, allocations: 0 / 1.066 GB, free: 360 kB / 0.6823 GB Notification: Performance of matching and sorting (n=138): time 0.6643/1.07, allocations: 8.657 MB / 1.074 GB, free: 82.17 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/1.07, allocations: 66.94 kB / 1.074 GB, free: 82.11 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002899/1.073, allocations: 1.12 MB / 1.075 GB, free: 81.66 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003305/1.073, allocations: 51.95 kB / 1.075 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001287/1.075, allocations: 1.297 MB / 1.077 GB, free: 80.62 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008105/1.075, allocations: 480.8 kB / 1.077 GB, free: 80.26 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/1.076, allocations: 34.81 kB / 1.077 GB, free: 80.23 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001716/1.076, allocations: 374.5 kB / 1.078 GB, free: 79.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002626/1.078, allocations: 0.9066 MB / 1.078 GB, free: 79.56 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003038/1.081, allocations: 1.321 MB / 1.08 GB, free: 78.73 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003053/1.085, allocations: 1.133 MB / 1.081 GB, free: 78.23 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-05/1.085, allocations: 3.406 kB / 1.081 GB, free: 78.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.01115/1.096, allocations: 3.445 MB / 1.084 GB, free: 76.87 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.951e-05/1.096, allocations: 10.42 kB / 1.084 GB, free: 76.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.341e-05/1.096, allocations: 17.47 kB / 1.084 GB, free: 76.87 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005827/1.102, allocations: 1.183 MB / 1.085 GB, free: 76.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001923/1.104, allocations: 260 kB / 1.086 GB, free: 76.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02695/1.131, allocations: 12.71 MB / 1.098 GB, free: 68.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/1.133, allocations: 90.36 kB / 1.098 GB, free: 68.76 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003702/1.133, allocations: 63.81 kB / 1.098 GB, free: 68.75 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,92.0%) 17,(5,92.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003122/1.137, allocations: 1.117 MB / 1.099 GB, free: 68.23 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005837/1.137, allocations: 161.1 kB / 1.099 GB, free: 68.14 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00939/1.147, allocations: 3.155 MB / 1.102 GB, free: 66.87 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.662e-05/1.147, allocations: 18.25 kB / 1.103 GB, free: 66.87 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-05/1.147, allocations: 13.19 kB / 1.103 GB, free: 66.87 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-05/1.147, allocations: 11.64 kB / 1.103 GB, free: 66.86 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01815/1.165, allocations: 6.227 MB / 1.109 GB, free: 63.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.557e-05/1.165, allocations: 4.438 kB / 1.109 GB, free: 63.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/1.166, allocations: 150.3 kB / 1.109 GB, free: 63.81 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005302/1.172, allocations: 1.078 MB / 1.11 GB, free: 63.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002719/1.172, allocations: 25.91 kB / 1.11 GB, free: 63.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02487/1.197, allocations: 12.42 MB / 1.122 GB, free: 54.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/1.197, allocations: 4.812 kB / 1.122 GB, free: 54.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008859/1.206, allocations: 3.144 MB / 1.125 GB, free: 52.32 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001368/1.207, allocations: 426.4 kB / 1.125 GB, free: 52 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000383/1.207, allocations: 35.17 kB / 1.125 GB, free: 51.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001524/1.209, allocations: 77.38 kB / 1.126 GB, free: 51.94 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004363/1.209, allocations: 129.9 kB / 1.126 GB, free: 51.87 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001379/1.21, allocations: 38.06 kB / 1.126 GB, free: 51.86 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001445/1.211, allocations: 0.753 MB / 1.126 GB, free: 51.43 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.41e-07/1.211, allocations: 0 / 1.126 GB, free: 51.43 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003544/1.215, allocations: 0.6606 MB / 1.127 GB, free: 51.37 MB / 0.6823 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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008562/1.223, allocations: 3.734 MB / 1.131 GB, free: 47.83 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007565/1.231, allocations: 3.124 MB / 1.134 GB, free: 44.68 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/1.231, allocations: 0 / 1.134 GB, free: 44.68 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.004847/1.236, allocations: 1.965 MB / 1.136 GB, free: 42.67 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003919/1.24, allocations: 477.9 kB / 1.136 GB, free: 42.22 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03629/1.276, allocations: 15.1 MB / 1.151 GB, free: 26.57 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003338/1.279, allocations: 2.328 MB / 1.153 GB, free: 24.22 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001824/1.281, allocations: 358.1 kB / 1.154 GB, free: 23.86 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001837/1.283, allocations: 1.011 MB / 1.155 GB, free: 22.85 MB / 0.6823 GB Notification: Performance of SimCode: time 1.213e-06/1.283, allocations: 0 / 1.155 GB, free: 22.85 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1269/1.41, allocations: 49.34 MB / 1.203 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000314/1.411, allocations: 234.9 kB / 1.203 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.028/5.438, allocations: 0 / 1.203 GB, free: 5.848 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)