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_R_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_R_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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 1.534/1.534, allocations: 287.4 MB / 302.6 MB, free: 8.414 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.0009311/0.0009311, allocations: 181.5 kB / 371.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0009577/0.0009577, allocations: 97.8 kB / 0.7431 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004287/0.0004288, allocations: 11.75 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2377, allocations: 115.3 MB / 0.9788 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.02948/0.2673, allocations: 34.49 MB / 1.012 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01826/0.2856, allocations: 10.59 MB / 1.023 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003657/0.2893, allocations: 135.2 kB / 1.023 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003139/0.2924, allocations: 0.7596 MB / 1.024 GB, free: 14 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006303/0.2988, allocations: 1.795 MB / 1.025 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004979/0.3038, allocations: 1.272 MB / 1.027 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01262/0.3164, allocations: 10.45 MB / 1.037 GB, free: 452 kB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02461/0.3411, allocations: 14.24 MB / 1.051 GB, free: 2.094 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008582/0.3497, allocations: 2.868 MB / 1.054 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008021/0.3577, allocations: 3.769 MB / 1.057 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.002275/0.36, allocations: 348 kB / 1.058 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005349/0.3654, allocations: 0.7103 MB / 1.058 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.005492/0.3709, allocations: 2.517 MB / 1.061 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.003733/0.3747, allocations: 1.19 MB / 1.062 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.5196/0.8943, allocations: 10.17 MB / 1.072 GB, free: 28.82 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.8944, allocations: 2.219 kB / 1.072 GB, free: 28.82 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.725e-06/0.8944, allocations: 2.844 kB / 1.072 GB, free: 28.82 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000536/0.8949, allocations: 0 / 1.072 GB, free: 28.82 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01827/0.9132, allocations: 5.093 MB / 1.077 GB, free: 26.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.9133, allocations: 9.5 kB / 1.077 GB, free: 26.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005015/0.9183, allocations: 0.8264 MB / 1.078 GB, free: 26.72 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008671/0.927, allocations: 1.063 MB / 1.079 GB, free: 26.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01207/0.9391, allocations: 3.423 MB / 1.082 GB, free: 25.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009333/0.9401, allocations: 432.6 kB / 1.082 GB, free: 25.68 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003796/0.9439, allocations: 0.5455 MB / 1.083 GB, free: 25.68 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0338/0.9777, allocations: 9.33 MB / 1.092 GB, free: 24.62 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005174/0.9783, allocations: 16.05 kB / 1.092 GB, free: 24.62 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003291/0.9816, allocations: 247.1 kB / 1.092 GB, free: 24.62 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001058/0.9827, allocations: 422.7 kB / 1.093 GB, free: 24.61 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01926/1.002, allocations: 7.075 MB / 1.1 GB, free: 24.55 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05293/1.055, allocations: 41.38 MB / 1.14 GB, free: 12.53 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005475/1.06, allocations: 3.092 MB / 1.143 GB, free: 10.94 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003669/1.064, allocations: 2.122 MB / 1.145 GB, free: 9.844 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001721/1.064, allocations: 21.22 kB / 1.145 GB, free: 9.844 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.674e-05/1.064, allocations: 63.53 kB / 1.145 GB, free: 9.781 MB / 0.698 GB Notification: Performance of pre-optimization done (n=209): time 5.22e-06/1.064, allocations: 0 / 1.145 GB, free: 9.781 MB / 0.698 GB Notification: Performance of matching and sorting (n=212): time 0.02606/1.091, allocations: 10.59 MB / 1.156 GB, free: 3.84 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/1.091, allocations: 84.08 kB / 1.156 GB, free: 3.773 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003689/1.094, allocations: 1.983 MB / 1.158 GB, free: 2.684 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000365/1.095, allocations: 68.92 kB / 1.158 GB, free: 2.621 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00166/1.096, allocations: 2.405 MB / 1.16 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009634/1.097, allocations: 0.7281 MB / 1.161 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002896/1.098, allocations: 52.66 kB / 1.161 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000254/1.098, allocations: 410 kB / 1.161 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002282/1.1, allocations: 1.364 MB / 1.162 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002758/1.103, allocations: 2.095 MB / 1.164 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005151/1.108, allocations: 3.751 MB / 1.168 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-05/1.108, allocations: 6.938 kB / 1.168 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008991/1.117, allocations: 5.044 MB / 1.173 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/1.117, allocations: 18.47 kB / 1.173 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.097e-05/1.117, allocations: 22.41 kB / 1.173 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003415/1.121, allocations: 1.553 MB / 1.175 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001705/1.122, allocations: 456.4 kB / 1.175 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0209/1.143, allocations: 17.08 MB / 1.192 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002767/1.146, allocations: 151.2 kB / 1.192 GB, free: 5.086 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005348/1.147, allocations: 104 kB / 1.192 GB, free: 4.984 MB / 0.7292 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 (231): * Single equations (assignments): 227 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,69.4%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005554/1.152, allocations: 1.945 MB / 1.194 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00106/1.153, allocations: 296.6 kB / 1.194 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007984/1.161, allocations: 4.434 MB / 1.199 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/1.161, allocations: 20 kB / 1.199 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.759e-05/1.162, allocations: 19.98 kB / 1.199 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.123e-05/1.162, allocations: 11.97 kB / 1.199 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01782/1.179, allocations: 9.651 MB / 1.208 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.879e-05/1.179, allocations: 4.25 kB / 1.208 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/1.181, allocations: 237.3 kB / 1.208 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003672/1.184, allocations: 1.418 MB / 1.21 GB, free: 2.992 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002788/1.185, allocations: 42.19 kB / 1.21 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02254/1.207, allocations: 17.09 MB / 1.226 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/1.207, allocations: 4 kB / 1.226 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008732/1.216, allocations: 4.524 MB / 1.231 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001878/1.218, allocations: 0.6342 MB / 1.231 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008647/1.219, allocations: 40 kB / 1.231 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002028/1.221, allocations: 111.9 kB / 1.232 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006095/1.222, allocations: 187.7 kB / 1.232 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002116/1.222, allocations: 63.94 kB / 1.232 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0024/1.224, allocations: 1.295 MB / 1.233 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.8e-07/1.224, allocations: 0 / 1.233 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.005397/1.23, allocations: 1.148 MB / 1.234 GB, free: 9.324 MB / 0.7761 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 (107): * Single equations (assignments): 103 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(4,100.0%) 18,(6,66.7%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008234/1.238, allocations: 5.128 MB / 1.239 GB, free: 4.172 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.007801/1.246, allocations: 4.675 MB / 1.244 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/1.246, allocations: 0 / 1.244 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.004786/1.251, allocations: 2.927 MB / 1.247 GB, free: 12.58 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006672/1.257, allocations: 0.8214 MB / 1.247 GB, free: 11.77 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05277/1.31, allocations: 26.19 MB / 1.273 GB, free: 108 kB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006287/1.316, allocations: 3.694 MB / 1.277 GB, free: 12.38 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002328/1.319, allocations: 0.5518 MB / 1.277 GB, free: 11.82 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002738/1.322, allocations: 1.952 MB / 1.279 GB, free: 9.867 MB / 0.823 GB Notification: Performance of SimCode: time 1.723e-06/1.322, allocations: 0 / 1.279 GB, free: 9.867 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4363/1.758, allocations: 82.32 MB / 1.359 GB, free: 8.523 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002791/1.758, allocations: 233.4 kB / 1.36 GB, free: 8.285 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.097/5.855, allocations: 7.188 kB / 1.36 GB, free: 8.281 MB / 0.9011 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)